Custom plugin question. How to persist data in a Context in
WMPTalk.com Forum Index WMPTalk.com
Discuss Windows Media Player
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web wmptalk.com
Custom plugin question. How to persist data in a Context in

 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> SDK
Author Message
Andre Natal
Guest





Posted: Fri Sep 03, 2004 8:51 am    Post subject: Custom plugin question. How to persist data in a Context in Reply with quote

Hello all.
I'm writing a custom authorization plugin with C#.
I'm setting in AuthorizeEvent method, WMS_EVENT_LOGICAL_URL_TRANSFORM
event, a object inside the UserContext.
When in OnEvent method, WMS_EVENT_DISCONNECT event, i can get from
UserContext, the object back.
This in mmsu and rtsp protocols, but, in http protocol, I can't get
the object back.
When I call GetIUnknownValue in the User context, it throws a invalid
index exception.
Anyone knows why in http the contexts wouldn't persist? And how do I
persist data in this protocol.
The documentation don't cover that.

Thanks in advance.

Back to top
 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> SDK All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Microsoft Office Forum New Topics
Powered by phpBB