Export (0) Print
Expand All

IMFContentEnabler::AutomaticEnable method

Performs a content enabling action without any user interaction.

Syntax


HRESULT AutomaticEnable();

Parameters

This method has no parameters.

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.

 

Remarks

This method is asynchronous. When the operation is complete, the content enabler sends an MEEnablerCompleted event. While the operation is in progress, the content enabler might send MEEnablerProgress events.

To find out whether the content enabler supports this method, call IMFContentEnabler::IsAutomaticSupported.

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