GPIO_RESULT GPIO_SendCommand( HGPIO hDevice, GPIO_COMMAND Command );
The GPIO_SendCommand() function sends the specified asynchronous command to GPIO-24 adapter. The application does not wait until GPIO-24 adapter executes the command and sends the response. Control is returned to the application immediately after the command is sent.
Parameters:
Handle to the device to send command to.
Specifies the command to be sent.
Return values:
The command was successfully sent.
Invalid device handle has been provided.
Failed to send command.
Library has not been initialized.