![ADLINK Technology PCIe-GIE7 Series Reference Manual Download Page 11](http://html.mh-extra.com/html/adlink-technology/pcie-gie7-series/pcie-gie7-series_reference-manual_2852825011.webp)
Function Library
5
PCIe-GIE7x
Return Code
No error occurs if return value >= 0, and if negative value, as
follows
-3
The count of calling SmartPoE_Register_Card
need to be less than 32
-13
Driver is not found or there is no card
exists
SmartPoE_Release_Card
Closes the device and releases all allocated resources,
should be called before terminating the application.
Syntax
C/C++
short SmartPoE_Release_Card (unsigned short
wCardNumber)
Parameter(s)
wCardNumber:
Indicates the value returned from calling
SmartPoE_Register_Card.
Return Code
No error occurs if return value >= 0, and if negative value, as
follows
-2
An invalid wCardNumber parameter,
wCardNumber is less than 32
-4
Call SmartPoE_Register_Card before other
functions
SmartPoE_Get_ID
Initializes the hardware and software states of a PCI-bus
data acquisition card, then returns a numeric card ID that
corresponds to the initialized card. Register_Card must be
called before any other PCIS-DASK library functions can be
called for a particular card. The function initializes the card
and variables internal to the PCIS-DASK library. Because
PCI-bus data acquisition cards meet plug-and-play specifi-