MEEnablerCompleted event

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:

Event values

Possible values retrieved from IMFMediaEvent::GetValue include the following.

VARTYPEDescription

VT_EMPTY

No event data.

Remarks

The status code from the event may contain one of the following values.

S_OKThe operation succeeded.
NS_E_DRM_LICENSE_NOTACQUIREDThe DRM license was not acquired. If the previous attempt used AutomaticEnable, the application should try non-silent acquisition.
NS_S_DRM_MONITOR_CANCELLEDThe 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.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Mfobjects.h (include Mfidl.h)

See also

IMFContentEnabler
Media Event Generators
Media Foundation Events

 

 

Show: