Only MEDIA_FORMAT_UNKNOWN or MEDIA_FORMAT_DATA formats
require lists to be given to the Navigator Control. The list must be given prior to
attempting to initialize the Navigator Control.
To replace an already initialized list, the Navigator Control must be uninitialized
-- see Adv_DVPAPI_UnInitController.
A playback list can be prepared with help of the Navigator interface method
Adv_DVPAPI_CreateFileList
Adv_DVPAPI_InitController
Syntax
HRESULT Adv_DVPAPI_InitController(
HWND hwndVideoParent)
Description
Loads the media to be played and readies the Navigator for playback.
Parameters
hwndVideoParent
[in] Parent of the video playback window. If the media
contains video and this parameter is NULL, the video
window is created as a POPUP window. If media is
known as having no video this parameter is ignored.
Return Value
E_FAIL:
Failure.
S_OK: Success.
E_FALSE: This interface is already initialized.
Remarks
This method loads the device drivers in charge of handling the given media and
only needs to be called once after the interface has been instantiated.
Media formats such as MEDIA_FORMAT_UNKNOWN and
MEDIA_FORMAT_DATA, require that a file list is passed to the Navigator
Control prior to calling this method. For this, use the
Adv_DVPAPI_SetPlaybackList method. Adv_DVPAPI_InitController will
return E_FAIL if no playback list is given. If a playback list needs to be changed
and the Navigator Control interface is already initialized, call
Adv_DVPAPI_UnInitController and Adv_DVPAPI_SetPlaybackList (in this
order) prior to calling Adv_DVPAPI_InitController again.
Adv_DVPAPI_IsControllerInit
Syntax
31
Содержание DVP-7410
Страница 1: ...DVP 7410 1 Channel MPEG 1 2 4 Digital Video Decoder Card...
Страница 4: ......
Страница 5: ...General Information 1 CHAPTER...
Страница 13: ...Functions Library 2 CHAPTER...
Страница 62: ...DVP 7410 User s Manual 58...