description | ms.assetid | title | ms.topic | ms.date |
---|---|---|---|---|
Raised by a content enabler object when the objects enabling action is completed. |
5162800c-9c55-40de-be66-a98765324f76 |
MEEnablerCompleted event (Mfobjects.h) |
reference |
05/31/2018 |
Raised by a content enabler object when the object's enabling action is completed. Objects that expose the IMFContentEnabler interface can raise this event. The event is raised if either of the following occurs:
- The IMFContentEnabler::AutomaticEnable method completes asynchronously.
- The application calls IMFContentEnabler::MonitorEnable, and then the application completes the HTTP POST request, as described in the MonitorEnable method.
Possible values retrieved from IMFMediaEvent::GetValue include the following.
VARTYPE | Description |
---|---|
VT_EMPTY |
No event data. |
The status code from the event may contain one of the following values.
Value | Description |
---|---|
S_OK | The operation succeeded. |
NS_E_DRM_LICENSE_NOTACQUIRED | The DRM license was not acquired. If the previous attempt used AutomaticEnable, the application should try non-silent acquisition. |
NS_S_DRM_MONITOR_CANCELLED | The MonitorEnable operation was canceled. |
To receive this event, query the IMFContentEnabler interface for the IMFMediaEventGenerator interface. Then call IMFMediaEventGenerator::BeginGetEvent, as described in the topic Media Event Generators.
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Header |
|