60
Function Library
4.5.4
Callback
Purpose
These functions set or get event handle. Event and callback are
the methods to know when to get frame or to check DI’s state.
Usually applications use only one of them, but both of them were
set is allowed.
Prototype
C/C++
int Hdv62_SetCallback (UINT Number, HDV62CALLBACK
Fun)
int Hdv62_GetCallback (UINT Number, HDV62CALLBACK
Fun)
C#
int SetCallback (uint Number, HDV62CALLBACK Fun)
int GetCallback (uint Number, out HDV62CALLBACK Fun)
VB.Net
SetCallback (ByVal Number as UInteger, ByVal Fun as
HDV62CALLBACK) As Integer
GetCallback (ByVal Number as UInteger, ByRef Fun as
HDV62CALLBACK) As Integer
Parameters
Number
The number of device. The allowed value is from 0 to 15.
Fun
The pointer of callback routine. Users need to declare a
callback function and set it as the parameter. The prototype
of Fun please refer to the include files. In the callback func-
tion, users can call GetImageStream routine to get pointer
of frame buffer or call GetDI routine to get the state of DI.
Return Value
No error occurs if return value >= 0; if negative value, please refer
to Section 4.9 for error information about return codes.
Содержание HDV62
Страница 11: ...vi List of Figures...
Страница 25: ...14 Installation Guide...
Страница 26: ...Installation Guide 15...
Страница 27: ...16 Installation Guide 4 Click next until driver installation is complete...
Страница 105: ...94 Programming Guide Video Proc Amp...
Страница 143: ...132 ViewCreatorPro Utility 6 2 Component Description Launch ViewCreatorPro and you can see the following view...
Страница 153: ...142 ViewCreatorPro Utility View menu Device Hide or unhide Devices panel Adjustment Hide or unhide Adjustment panel...
Страница 163: ...152 ViewCreatorPro Utility...