IMFContentEnabler::IsAutomaticSupported method (mfidl.h)
Queries whether the content enabler can perform all of its actions automatically.
Syntax
HRESULT IsAutomaticSupported(
[out] BOOL *pfAutomatic
);
Parameters
[out] pfAutomatic
Receives a Boolean value. If TRUE, the content enabler can perform the enabling action automatically.
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
If this method returns TRUE in the pfAutomatic parameter, call the IMFContentEnabler::AutomaticEnable method to perform the enabling action.
If this method returns FALSE in the pfAutomatic parameter, the application must use manual enabling. To do so, call IMFContentEnabler::GetEnableURL and IMFContentEnabler::GetEnableData to get the URL and data needed for manual enabling.
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 |