- Home Page
- ScanDoc Development
- Description of PassThru Commands
long PassThruIoctl(unsigned long ChannelID, unsigned long IoctlID, void *pInput, void *pOutput)
- long ChanneID - PassThruConnect saved channel identifier during communication.
Returned error codes
||Function completed successfully
||No connection to adapter. Possible reasons: The adapter is turned off, there is no network, or the IP address is not set correctly.
||Set a non-existent channel identifier ChannelID
||Defined by the J2534 standard. In the adapter, it is not used for this function.
unsigned long ChannelID;
Ret = PassThruIoctl(ChannelID);
if (Ret != STATUS_NOERROR)
// Error handling