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 code | Description |
|---|---|
|
The method succeeded. |
|
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 |
|
|
Library |
|
See also