IBDA_WMDRMSession::GetLicense Method
[This documentation is preliminary and is subject to change.]
Gets a copy of a license key package currently used by the media transform device (MTD).
Syntax
HRESULT GetLicense(
[in] GUID *uuidKey,
[in, out] ULONG *pulPackageLen,
[in, out] BYTE *pbPackage
);
Parameters
uuidKey [in]
The ID of the content key that the MTD uses to retrieve the associated license.pulPackageLen [in, out]
On input, specifies the number of bytes in the pbPackage array. On output, receives the size of the license key package, in bytes.pbPackage [in, out]
Pointer to a byte array, allocated by the caller, that receives the requested license key package.
Return Value
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Minimum supported client | Windows 7 |
Minimum supported server | Windows Server 2008 R2 |
IDL | Bdaiface.idl |
See Also
Send comments about this topic to Microsoft
Build date: 3/1/2009