Skip to content

Latest commit

 

History

History
77 lines (41 loc) · 3.73 KB

meenablercompleted.md

File metadata and controls

77 lines (41 loc) · 3.73 KB
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

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