Adv_VAPI_SetCaptureWindow
Syntax
[C++]
BOOL Adv_VAPI_SetCaptureWindow(int nChannelNo,HWND
hWnd,int nFrameCount,Adv_CompleteProc pCall)
[Delphi]
function Adv_VAPI_SetCaptureWindow(nChannelNo:Integer;
hWnd:HWND; nFrameCount:Integer;
pCall:Adv_CompleteProc):Boolean;
[VB]
function Adv_VAPI_SetCaptureWindow (ByVal nChannelNo As
Integer, ByVal Hwnd As Long, ByVal nFrameCount As Integer, ByVal
pCall As Long) As Boolean
Parameters
nChannelNo
: Specifies the video channel number on
current physical port. Its range is 0~3.
hWnd
: Specifies the capture window handle for the
video channel on current physical port. If the
handle is NULL, the capture window of
video channel will be canceled.
nFrameCount : Specifies total frame number to capture. If the
value is ALWAYS_CAPTURE, the capture
frame is endless.
pCall : Pointer to callback function to notify the
capture completed. The function should be
declared as follows:
BOOL CALLBACK
YourCompleteProc
(DWORD
dwStatus)
The value of the parameter dwStatus has one
of the following:
DEST_HWND
defines
windows
capture
completed.
DEST_BUF
defines buffer capture
completed.
DEST_FILE defines
file
capture
completed.
Return Value
TRUE
:
Function is successful
39
Содержание DVP-7020
Страница 1: ...DVP 7020 4 Channel PCI bus Video Grabber Card User s Manual ...
Страница 5: ...1 CHAPTER General Information ...
Страница 7: ...1 3 Block Diagram DVP 7020 3 ...
Страница 14: ......
Страница 15: ...2 CHAPTER Functions Library ...
Страница 27: ...23 ...
Страница 32: ...DVP 7020 User s Manual 28 ...