GPIO_RESULT GPIO_CloseDevice( HGPIO hDevice );
The GPIO_CloseDevice() function closes the GPIO-24 adapter, specified by its handle.
Parameters:
Handle to the device to be closed.
Return values:
The device referenced by hDevice handle has been successfully closed.
Invalid device handle has been provided.
Failed to close device.
Library has not been initialized.