Export (0) Print
Expand All

IMFContentEnabler::GetEnableData method

Retrieves the data for a manual content enabling action.

Syntax


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

Parameters

ppbData [out]

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

pcbData [out]

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 codeDescription
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 typePurpose of data
IndividualizationNot applicable.
License acquisitionHTTP POST data.
Revocation MFRR_COMPONENTS structure.

 

Requirements

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Mfidl.h

Library

Mfuuid.lib

See also

IMFContentEnabler
How to Play Protected Media Files

 

 

Community Additions

ADD
Show:
© 2014 Microsoft