KernelLibIoControl (Windows Embedded CE 6.0)

1/6/2010

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
);

hModule

[in] Handle returned from the LoadIntChainHandler function.

dwIoControlCode

[in] I/O control specified by the OEM or application developer.

lpInBuf

[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.

nInBufSize

[in] Size, in bytes, of the buffer pointed to by lpInBuffer.

lpOutBuf

[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.

nOutBufSize

[in] Size, in bytes, of the buffer pointed to by lpOutBuffer.

lpBytesReturned

[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.

Headerpkfuncs.h
Librarycoredll.lib
Windows Embedded CEWindows CE .NET 4.0 and later

Community Additions

ADD
Show: