IMFDRMNetHelper::ProcessLicenseRequest method (wmcontainer.h)
Gets the license response for the specified request.
Syntax
HRESULT ProcessLicenseRequest(
[in] BYTE *pLicenseRequest,
[in] DWORD cbLicenseRequest,
[out] BYTE **ppLicenseResponse,
[out] DWORD *pcbLicenseResponse,
[out] BSTR *pbstrKID
);
Parameters
[in] pLicenseRequest
Pointer to a byte array that contains the license request.
[in] cbLicenseRequest
Size, in bytes, of the license request.
[out] ppLicenseResponse
Receives a pointer to a byte array that contains the license response. The caller must free the array by calling CoTaskMemFree.
[out] pcbLicenseResponse
Receives the size, in bytes, of the license response.
[out] pbstrKID
Receives the key identifier. The caller must release the string by calling SysFreeString.
Return value
The function returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
|
The media sink was shut down. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Target Platform | Windows |
Header | wmcontainer.h |