Adv_VAPI_SetCaptureBuf
Syntax
[C++]
BOOL Adv_VAPI_SetCaptureBuf(int nChannelNo,PBYTE
pBuf,DWORD dwSize,int nFrameCount,Adv_CompleteProc pCall)
[Delphi]
function Adv_VAPI_SetCaptureBuf(nChannelNo:Integer;
pBuf:POINTER; dwSize:Longword; nFrameCount:Integer;
pCall:Adv_CompleteProc):Boolean;
[VB]
function Adv_VAPI_SetCaptureBuf (ByVal nChannelNo As
Integer, ByVal pBuf As Long, ByVal dwSize 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 should be
0~3.
pBuf
: Specifies the capture buffer for the video
channel on current physical port. If the buffer
address is NULL, the capture buffer of video
channel will be canceled.
dwSize
: Specifies total number of buffer. You should
allocate enough space to buffer.
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.
41
Summary of Contents for DVP-7020
Page 1: ...DVP 7020 4 Channel PCI bus Video Grabber Card User s Manual ...
Page 5: ...1 CHAPTER General Information ...
Page 7: ...1 3 Block Diagram DVP 7020 3 ...
Page 14: ......
Page 15: ...2 CHAPTER Functions Library ...
Page 27: ...23 ...
Page 32: ...DVP 7020 User s Manual 28 ...