IDVDRenderer::UnregisterSyncEvent (Windows CE 5.0)
This method stops the event notifications flow associated with a handle.
HRESULT UnregisterSyncEvent(EDVDSyncEventTypeetype,HANDLEh);
Parameters
- etype
[in] The following table lists the values for the eType parameter.Value Description DVD_NAV_PACK_EVENT The renderer has parsed NV_PCK so that PCI and data search information (DSI) packets are available in the event buffer. A 1:1 correspondence between the number of NV_PCKs received and the number of signals generated is assumed. DVD_HIGHLIGHT_EVENT This event is used to synchronize the DVD highlight control. It specifies when the renderer is ready to process Highlight commands. It also indicates when the button activation highlight has occurred. The first synchronization purpose is to be sure that the renderer has a valid HLI (highlight) in which to apply the highlight command. This is generated at HLI_S_PTM. As a reaction to this event, the navigator will usually process the initial selection.
The second purpose is to indicate that the renderer has processed activation of a specified button. This allows the navigator to wait until the activation highlight is actually displayed before going further. The other important use of the activation event is to notify the navigator that forced activation, if it occurred, happened at BTN_SL_E_PTM.
DVD_PLAYBACK_EVENT The decoder system time clock (STC) has exceeded the end of the video object unit (VOBU) presentation time of the last VOBU the decoder received. DVD_CC_DATA_EVENT This event is generated when the GOP user data for line 21 are detected in the GOP layer of the MPEG video stream. - h
[in] Event handle to be unregistered.
Return Values
The following table shows a list of possible return values.
Return value | Description |
---|---|
S_OK | The request completed successfully. |
E_INVALIDARG | No SyncEvent was registered with this handle. |
Remarks
On return from this method, the associated event data buffer can be de-allocated.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Dvddrvr.idl.
See Also
EDVDSyncEventType | IDVDRenderer:IUnknown
Send Feedback on this topic to the authors