Advantech DVP-7410 User Manual page 49

1 channel mpeg 1/2/4 digital video decoder card
Table of Contents

Advertisement

HRESULT Adv_DVPAPI_GetFileInfo(
BSTR lpPath,
LPWORD lpwFile_no,
LPWORD lpwFiles)
Description
Retrieves name and position (relative to the current list) of the currently loaded
file.
Parameters
lpPath
[out] Pointer to a NULL terminated wide character string to contain
the currently loaded file path. This parameter can be NULL if not
required. The path length must not exceed MAX_PATH.
lpwFile_no
[out] Pointer to the returned 1 based index of the file being played.
This parameter can be NULL if not required.
lpwFiles
[out] Pointer to the returned number of files in the current list.
This parameter can be NULL if not required.
Return Value
E_FAIL:
S_OK:
E_INVALIDARG : No arguments were requested.
Adv_DVPAPI_GetVideoPosition
Syntax
HRESULT Adv_DVPAPI_GetVideoPosition(
LPRECT lprPosition)
Description
Retrieves the current position of the video window relative to its parent's client
area
Parameters
lprPosition
[out] Pointer to the rectangular region occupied by the
video window relative to its parent's client area
Return Value
E_FAIL:
Failure.
Success.
Failure.
45

Advertisement

Table of Contents
loading

Table of Contents