Share via


IOCTL_CELOG_DEREGISTER (Windows Embedded CE 6.0)

1/5/2010

This IOCTL is used by the CeLog DLL to deregister so that it will no longer receive data.

Parameters

  • hModule
    [in] Handle to the DLL. Must be set to KMOD_CELOG.
  • dwIoControlCode
    [in] Set to IOCTL_CELOG_DEREGISTER.
  • nInBufSize
    [in] Set to sizeof(CeLogExportTable), the size of lpInBuf.
  • lpOutBuf
    [in] Set to NULL.
  • nOutBufSize
    [in] Set to 0.
  • lpBytesReturned
    [in] Set to NULL.

Return Values

Returns TRUE if the DLL was successfully deregistered. Otherwise, returns FALSE.

Remarks

Even when all handles to the DLL have been closed, and the DLL has been deregistered, the DLL will remain loaded in memory. So if other applications load the DLL later, the application will receive a DLL_PROCESS_ATTACH message, and would need to call IOCTL_CELOG_REGISTER again to become active.

Requirements

Header pkfuncs.h
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

Tools IOCTLs
CeLogExportTable
IOCTL_CELOG_REGISTER

Other Resources

CeLog Event Tracking