KernelLibIoControl (Windows Embedded CE 6.0)
This function is called from a driver to communicate with an interrupt handler.
BOOL KernelLibIoControl( HANDLE hModule, DWORD dwIoControlCode, LPVOID lpInBuf, DWORD nInBufSize, LPVOID lpOutBuf, DWORD nOutBufSize, LPDWORD lpBytesReturned );
[in] Handle returned from the LoadIntChainHandler function.
[in] I/O control specified by the OEM or application developer.
[in] Long pointer to a buffer that contains the data required to perform the operation. This parameter can be set to NULL if the dwIoControlCode parameter specifies an operation that does not require input data.
[in] Size, in bytes, of the buffer pointed to by lpInBuffer.
[out] Long pointer to a buffer that receives the operation's output data. This parameter can be set to NULL if the dwIoControlCode parameter specifies an operation that does not produce output data.
[in] Size, in bytes, of the buffer pointed to by lpOutBuffer.
[out] Long pointer to a variable that receives the size, in bytes, of the data stored in the buffer pointed to by lpOutBuffer. The lpBytesReturned parameter cannot be set to NULL.
TRUE indicates success. FALSE indicates failure. To get extended error information, call GetLastError.
KernelLibIoControl calls the IOControl function that is implemented in the interrup service routine (ISR) handler.