Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IMFContentEnabler::IsAutomaticSupported method

Queries whether the content enabler can perform all of its actions automatically.

Syntax


HRESULT IsAutomaticSupported(
  [out]  BOOL *pfAutomatic
);

Parameters

pfAutomatic [out]

Receives a Boolean value. If TRUE, the content enabler can perform the enabing action automatically.

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

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

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

Show:
© 2014 Microsoft