IWMLicenseBackup BackupLicenses returns E_INVALIDARG
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
IWMLicenseBackup BackupLicenses returns E_INVALIDARG

 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> DRM
Author Message
Ken Hausam
Guest





Posted: Wed Aug 31, 2005 8:30 pm    Post subject: IWMLicenseBackup BackupLicenses returns E_INVALIDARG Reply with quote

Has anyone been able to successfully write C++ code that will back up the
license store using the IWMLicenseBackup interface? The second parameter to
the BackupLicenses call is supposed to take a pointer to an
IWMStatusCallback. I've tried a couple different approaches, but always
receive E_INVALIDARG as a return value from the BackupLicenses call. Of
note, the AddRef() of my IWMStatusCallback class is being called, but then
immediately followed by a Release(). (I'm guessing the Release() is a result
of the function deciding it doesn't like my parameter.) I'm seeing the
E_INVALIDARG with both the 9.5 Format SDK and the 9.0 Format SDK. If anyone
has any sample code, I'd be extremely appreciative. Willing to post my code
if anyone is interested.

Curious if this function has ever worked. Sure would love to see the source
code for BackupLicenses() to see under what conditions it will return
E_INVALIDARG.

Back to top
 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> DRM 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