IMFMediaEventGenerator::QueueEvent method (mfobjects.h)
Puts a new event in the object's queue.
HRESULT QueueEvent( [in] MediaEventType met, [in] REFGUID guidExtendedType, [in] HRESULT hrStatus, [in] const PROPVARIANT *pvValue );
The extended type. If the event does not have an extended type, use the value GUID_NULL. The extended type is returned by the event's IMFMediaEvent::GetExtendedType method.
A success or failure code indicating the status of the event. This value is returned by the event's IMFMediaEvent::GetStatus method.
Pointer to a PROPVARIANT that contains the event value. This parameter can be NULL. This value is returned by the event's IMFMediaEvent::GetValue method.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
||The method succeeded.|
||The object was shut down.|
|Minimum supported client||Windows Vista [desktop apps | UWP apps]|
|Minimum supported server||Windows Server 2008 [desktop apps | UWP apps]|
|Header||mfobjects.h (include Mfidl.h)|