Re: Where (in VB.NET) to find the proper HRESULTs for WMS callback
- From: Evan K <EvanK@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 19 Jan 2007 12:22:35 -0800
yep, that would be them. not sure why they're not showing up as
constants...mabye my vs install is getting funky.
anyway, thanks!
"Neil Smith [MVP Digital Media]" wrote:
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
- References:
- Re: Where (in VB.NET) to find the proper HRESULTs for WMS callbacks?
- From: Neil Smith [MVP Digital Media]
- Re: Where (in VB.NET) to find the proper HRESULTs for WMS callbacks?
- Prev by Date: Media sharing API for Windows Media Player 11
- Next by Date: Re: Snapshots & WMP skin
- Previous by thread: Re: Where (in VB.NET) to find the proper HRESULTs for WMS callbacks?
- Next by thread: Re: Snapshots & WMP skin
- Index(es):
Relevant Pages
|