IMFContentEnabler::AutomaticEnable method (mfidl.h)
Performs a content enabling action without any user interaction.
Syntax
HRESULT AutomaticEnable();
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
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
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 |