IMFContentEnabler::GetEnableData method (mfidl.h)

Retrieves the data for a manual content enabling action.

Syntax

HRESULT GetEnableData(
  [out] BYTE  **ppbData,
  [out] DWORD *pcbData
);

Parameters

[out] ppbData

Receives a pointer to a buffer that contains the data. The caller must free the buffer by calling CoTaskMemFree.

[out] pcbData

Receives the size of the ppbData buffer.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.
MF_E_NOT_AVAILABLE
No data is available.

Remarks

The purpose of the data depends on the content enabler type, which is obtained by calling IMFContentEnabler::GetEnableType.

Enable type Purpose of data
Individualization Not applicable.
License acquisition HTTP POST data.
Revocation MFRR_COMPONENTS structure.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header mfidl.h
Library Mfuuid.lib

See also

How to Play Protected Media Files

IMFContentEnabler