Share via


IOCTL_CELOG_REGISTER (Compact 2013)

10/16/2014

This I/O control message registers the required event-tracking APIs with the kernel. Send this message with KernelLibIoControl.

Syntax

BOOL KernelLibIoControl(
    HANDLE hDevice,           // handle to the DLL
    DWORD dwIoControlCode,    // use IOCTL_CELOG_REGISTER
    LPVOID lpInBuffer,        // pointer to input buffer
    DWORD nInBufferSize,      // input buffer size
    LPVOID lpOutBuffer,       // pointer to output buffer
    DWORD nOutBufferSize,     // output buffer size
    LPDWORD lpBytesReturned   // number of bytes returned
);

Parameters

  • hDevice
    [in] Handle to the DLL. Must be set to KMOD_CELOG.
  • dwIoControlCode
    [in] The control code for the operation. Use IOCTL_CELOG_REGISTER for this operation.
  • nInBufferSize
    [in] Set to sizeof(CeLogExportTable_V3), the size of lpInBuffer.
  • lpOutBuffer
    [out] Set to NULL.
  • nOutBufferSize
    [out] Set to zero.
  • lpBytesReturned
    [out] Set to NULL.

Return Values

Returns TRUE if the kernel can initialize the event tracking system; otherwise, returns FALSE.

Remarks

This I/O control is only used if an OEM replaces the default event tracking DLL, Celog.dll, with its own DLL.

Requirements

Header

pkfuncs.h

See Also

Reference

Tools IOCTLs