Ken Hausam
Guest
|
Posted:
Wed Aug 31, 2005 8:30 pm Post subject:
IWMLicenseBackup BackupLicenses returns E_INVALIDARG |
|
|
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.
|
|