
Technical Manual
© 2006-2010 by HIKVISION. All rights reserved.
19
int *Contrast pointer of Contrast valure (0--127);
int *Saturation pointer of Saturation value (0--127);
int *Hue pointer of Hue value (0--255);
Explanation:
To get video parameter
Return value:
0—success; -1 – failed;
4.2.20.
void GetSDKVersion (PVERSION_INFO VersionInfo);
Parameter:
PVERSION_INFO
VersionInfo pointer of VERSION_INFO;
Explanation:
get the SDK version. It is consist of 16 bits BCD code , the high 8 bits means major
version ,the back 8 bits means senior version , and the following 32 bits means BUILD
number which indicating the time that the SDK is modified latest;
4.2.21.
int SetStreamType (int channelHandle, int type);
Parameter:
int channelHandle channel handle
int type stream type, see the macro definition as follows:
Macro definition:
#define STREAM_TYPE_VIDEO 1 //video stream
#define STREAM_TYPE_AUDIO 2 //audio stream
#define STREAM_TYPE_AVSYNC 3 //video&audio synchronous stream
Explanation:
DS-42xx card do not support STREAM_TYPE_AUDIO mode
Set stream type;
Return value:
0—success; -1 – failed;
4.2.22.
int GetStreamType(int channelHandle, int *StreamType);
Parameter:
int channelHandle channel handle
int *StreamType point to the stream type
Explanation:
To get stream type;
Return value:
0 – success; -1 - fail;
4.2.23.
int SetSubStreamType (HANDLE hChannelHandle, int type)
Parameter:
int channelHandle channel handle
int type stream type as the master channel
Explanation: