|Microsoft DirectX 9.0|
The GetNotifyFlags method determines whether event notifications are enabled.
HRESULT GetNotifyFlags( long *lplNoNotifyFlags );
[out] Pointer to a variable that receives one of the following values:
|Zero||Event notifications are enabled.|
|AM_MEDIAEVENT_NONOTIFY||Event notifications are disabled.|
Returns S_OK if successful, or E_POINTER if the lplNoNotifyFlags parameter is NULL.
By default, the Filter Graph Manager posts event notifications for the application. To disable event notification, call the IMediaEventEx::SetNotifyFlags method with the value AM_MEDIAEVENT_NONOTIFY.
If event notifications are disabled, the handle returned by the IMediaEvent::GetEventHandle method is signaled at the end of each streamthat is, whenever the Filter Graph Manager receives an EC_COMPLETE event.