IMFContentDecryptionModuleSession::GenerateRequest method (mfcontentdecryptionmodule.h)
Generates a license request based on the provided data.
Syntax
HRESULT GenerateRequest(
LPCWSTR initDataType,
const BYTE *initData,
DWORD initDataSize
);
Parameters
initDataType
A LPCWSTR specifying the type of the data provided in the initData parameter. The string format is specified by the Encrypted Media Extension specification's Initialization Data Type.
initData
A BYTE array containing initialization data. The data format is specified by the Encrypted Media Extension specification's Initialization Data.
initDataSize
The size of the BYTE array provided in the initData parameter.
Return value
Returns S_OK on success.
Remarks
GenerateRequest is based on the Encrypted Media Extension specification's MediaKeySession.generateRequest.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 2004 (10.0; Build 19041) |
Minimum supported server | Windows Server, version 2004 (10.0; Build 19041) |
Header | mfcontentdecryptionmodule.h |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for