WMS Scripting: Active Script Event Handler
From: Rudi (tech_at_wildcash.com)
Date: 02/08/05
- Next message: hooooootrain: "Re: Unable to view Media Player"
- Previous message: d.arbib: "Re: Error C00D1163 - won't play DVD's (sometimes)"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 7 Feb 2005 20:15:02 -0800
Hi,
When using Active Script Event Handlers how can I deny a mms:// request ?
I have the handler script been called OK and now just need to be
able to deny a media request.
Here is a similar sub and function that both do not deny a mms:// request.
Can you see where I am going wrong?
Can you please tell me how to return a value that will deny the request?
Example code:
Sub OnWMSEPlay( HR, UserCtx, PresCtx, CmdCtx )
tempStr = "OnWMSEPlay " & "xxxxHRESULT:" & hr & " " & Now
PrintContextInformation tempStr, UserCtx, PresCtx, CmdCtx
TraceInformation( tempStr )
OnWMSEPlay = &H80070005
'OnWMSEPlay = &H00000000
End sub
Function OnWMSEPlay( HR, UserCtx, PresCtx, CmdCtx )
tempStr = "OnWMSEPlay " & "xxxxHRESULT:" & hr & " " & Now
PrintContextInformation tempStr, UserCtx, PresCtx, CmdCtx
TraceInformation( tempStr )
OnWMSEPlay = &H80070005
'OnWMSEPlay = &H00000000
End function
Many thanks,
Kind regards
Rudi
- Next message: hooooootrain: "Re: Unable to view Media Player"
- Previous message: d.arbib: "Re: Error C00D1163 - won't play DVD's (sometimes)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|