EasyManua.ls Logo

HIKVISION DS-4 Series - Decoding Card SDK; 5.1. API of Decoding Card; 5.1.1. HW_InitDecDevice(); 5.1.2. HW_ReleaseDecDevice()

HIKVISION DS-4 Series
51 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Technical Manual
© 2006-2010 by HIKVISION. All rights reserved. 37
5. Decoding Card SDK
5.1. API of Encoding Card
Note: If without special description. The return values always is 0 if calling is success and is -1 if
calling is failed. You could call GetLastErrorNum to get the failed info.
Decoding card does not support DS-42xx Card
5.1.1. int HW_InitDecDevice(long *pDeviceTotal);
Explanation:
Init the system.
Parameter:
pDeviceTotal the decode channle
5.1.2. int HW_ReleaseDecDevice();
Explanation:
close the system, should be called before exit.
5.1.3. int HW_ChannelOpen(long nChannelNum,int* phChannel);
Explanation:
Open the decode channel and get the channel handler
Parameter:
nChannelNum channel number, begin from 0
phChannel channel handler
5.1.4. int HW_ChannelClose(int hChannel);
Explanation:
Close the decode channel;
Parameter:
hChannel channel handler
5.1.5. int HW_OpenStream(int hChannel,char* pFileHead,int nHeadSize);
Explanation:
Open the interface for the Stream modejust as open the file);
Parameter:
hChannel channel handler
pFileHead the data for the file head
nHeadSize the length for the file head

Related product manuals