For Win 10 Led Instruction; Genericec Library Api Programmer's Reference; Genericec_Open; Genericec_Close - Avalue Technology VNS-10W01 Quick Reference Manual

Table of Contents

Advertisement

VNS-10W01

3.2 For win 10 LED instruction

GENERICEC Library API Programmer's Reference

3.2.1
After install the GENERICEC driver on the board, the API DLL file also install into Windows
system directory. The functions of API provide are list as below, refer to each function's
description to get more detail information.

3.2.1.1 GENERICEC_Open

bool GENERICEC_Open()
Return Value:
True on success and False on failure.
Remarks:
The function will loading or initial the GENERICEC driver, for use by the application. If
the return value is False, it indicates the driver is not installing yet.

3.2.1.2 GENERICEC_Close

bool GENERICEC_Close()
Return Value:
True on success and False on failure.
Remarks:
This function will close and unload the GENERICEC driver, it must be called before the
application terminates. If the return value is False, it indicates the driver is not installing
successfully.
3.2.1.3 GENERICEC_Close
bool GENERICEC_Read(unsigned char *wbuf, int wlen, unsigned char *rbuf, int
rlen)
Return Value:
True on success and False on failure.
Parameters:
wbuf
Write buffer.
wlen
Write buffer length.
rbuf
Read buffer.
rlen
Read buffer length.
Remarks:
Write the wbuf data and read the result from the rbuf. If the return value is False, it
indicates the driver is not installing successfully or not uses the GENERICEC_Open
function first.
20 VNS-10W01 Quick Reference Guide

Advertisement

Table of Contents
loading

Table of Contents