IMFContentEnabler::GetEnableType method (mfidl.h)

Retrieves the type of operation that this content enabler performs.

Syntax

HRESULT GetEnableType(
  [out] GUID *pType
);

Parameters

[out] pType

Receives a GUID that identifies the type of operation. An application can tailor its user interface (UI) strings for known operation types. See Remarks.

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.

Remarks

The following GUIDs are defined for the pType parameter.

Value Description
MFENABLETYPE_MF_RebootRequired The user must reboot his or her computer.
MFENABLETYPE_MF_UpdateRevocationInformation Update revocation information.
MFENABLETYPE_MF_UpdateUntrustedComponent Update untrusted components.
MFENABLETYPE_WMDRMV1_LicenseAcquisition License acquisition for Windows Media Digital Rights Management (DRM) version 1.
MFENABLETYPE_WMDRMV7_Individualization Individualization.
MFENABLETYPE_WMDRMV7_LicenseAcquisition License acquisition for Windows Media DRM version 7 or later.

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