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.

VARTYPE Description
VT_EMPTY
No event data.

Remarks

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.

Requirements

Requirement Value
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