Re: Where (in VB.NET) to find the proper HRESULTs for WMS callbacks?
- From: "Neil Smith [MVP Digital Media]" <neil@xxxxxxxxxx>
- Date: Thu, 18 Jan 2007 23:28:59 GMT
Are these the values you need ? (WM Format SDK)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/WMFORM11/htm/errorcodes.asp
Plus see the intro paragraph for definitions / header files.
HTH
Cheers - Neil
On Thu, 18 Jan 2007 09:01:02 -0800, Evan K
<EvanK@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
I'm creating a custom PlaylistParser for Windows Media Services 9------------------------------------------------
(http://msdn2.microsoft.com/en-us/library/ms741989.aspx), and at the end of
any interface function such as ReadPlaylist, I'm supposed to do a callback
and send an HRESULT to indicate success, failure, or a specific error:
'indicate success
pCallback.OnReadPlaylist(S_OK, qwContext)
'indicate failure
pCallback.OnReadPlaylist(E_FAILED, qwContext)
'indicate this interface function was not implemented
pCallback.OnReadPlaylist(E_NOTIMPL, qwContext)
This may seem like a newbie question, but...where the HECK are these
HRESULTs defined? I've added a reference to microsoft.windowsmediaservices
and interop_msxml, and I figured they would be in one of those, but when I
build the plugin, I get errors that 'S_OK' and the others are not declared.
I'd even declare them myself if I could find the correct values. If anyone
could shed some light, I'd really appreciate it!
Digital Media MVP : 2004-2007
http://mvp.support.microsoft.com/mvpfaqs
.
- Follow-Ups:
- Prev by Date: Re: WMV and wav file
- Next by Date: Re: Snapshots & WMP skin
- Previous by thread: Re: logging client events
- Next by thread: Re: Where (in VB.NET) to find the proper HRESULTs for WMS callback
- Index(es):
Relevant Pages
|