次の方法で共有


CeLogExportTable (Compact 2013)

3/28/2014

This structure contains function pointers to the functions required by the event-tracking engine.

Syntax

typedef struct _CeLogExportTable {
  DWORD dwVersion;
  PFNVOID pfnCeLogData;
  PFNVOID pfnCeLogInterrupt;
  PFNVOID pfnCeLogSetZones;
  FARPROC pfnCeLogQueryZones;
  DWORD dwCeLogTimerFrequency;
} CeLogExportTable;

Members

  • dwVersion
    Version of this structure.

    Must be set to 2.

  • pfnCeLogData
    Pointer to the DLL's version of CeLogData.
  • pfnCeLogInterrupt
    Pointer to the DLL's version of CeLogInterrupt.
  • pfnCeLogSetZones
    Pointer to the DLL's version of CeLogSetZones.
  • pfnCeLogQueryZones
    Pointer to the CeLogGetZones function implemented by the DLL.
  • dwCeLogTimerFrequency
    The frequency of the performance counter used to generate the timestamps in the event tracking log.

Remarks

CeLogExportTable is used to create a replacement DLL for Celog.dll, which performs the default system event tracking functionality.

CeLogExportTable is passed to the kernel in an I/O control call to the KernelLibIoControl function to register the service.

The timer frequency used to generate timestamps in the log is not necessarily equal to the return value from QueryPerformanceFrequency.

The dwCeLogTimerFrequency value is used by the kernel to set the dwFrequency value in the CEL_LOG_MARKER event structure.

Requirements

Header

pkfuncs.h

See Also

Reference

CeLog Event Tracking Structures
CeLogData
CEL_LOG_MARKER
CeLogSetZones
CeLogGetZones
KernelLibIoControl
QueryPerformanceFrequency

Other Resources

OAL Structures