Windows apps
Collapse the table of content
Expand the table of content
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::MonitorEnable method

Requests notification when the enabling action is completed.

Syntax


HRESULT MonitorEnable();

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.

S_FALSE

The method succeeded and no action was required.

 

Remarks

If you use a manual enabling action, call this method to be notified when the operation completes. If this method returns S_OK, the content enabler will send an MEEnablerCompleted event when the operation is completed. If the application cancels the operatation before completing it, call IMFContentEnabler::Cancel.

You do not have to call MonitorEnable when you use automatic enabling by calling IMFContentEnabler::AutomaticEnable.

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

 

 

Show:
© 2017 Microsoft