Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Called when the Content Decryption Module (CDM) has generated a message for the session.
Syntax
HRESULT KeyMessage(
MF_MEDIAKEYSESSION_MESSAGETYPE messageType,
const BYTE *message,
DWORD messageSize,
LPCWSTR destinationURL
);
Parameters
messageType
A value from the MF_MEDIAKEYSESSION_MESSAGETYPE enumeration specifying the type of the message.
message
A pointer to a BYTE array containing the message contents. Messages are Key System-specific.
messageSize
The size of the array in the message parameter.
destinationURL
A optional parameter containing the destination URL.
Return value
Returns an HRESULT.
Remarks
KeyMessage is based on the Encrypted Media Extension specification's MediaKeyMessageEvent.
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 |