Compartilhar via


CeLogImportTable (Windows CE 5.0)

Send Feedback

This structure contains function pointers and data provided by the kernel for use by CeLog.

typedef struct _CeLogImportTable {DWORD dwVersion;FARPROC pCreateEventW;FARPROC pEventModify;FARPROC pCreateFileMappingW;FARPROC pMapViewOfFile;FARPROC pUnmapViewOfFile;FARPROC pCloseHandle;FARPROC pLockPages;FARPROC pUnlockPages;FARPROC pVirtualAlloc;FARPROC pVirtualFree;FARPROC pMapPtrToProcess;FARPROC pQueryPerformanceCounter;FARPROC pQueryPerformanceFrequency;FARPROC pNKDbgPrintfW;FARPROC pCeLogReSync;FARPROC pGetLastError;FARPROC pSetLastError;FARPROC pGetThreadCallStack;  FARPROC pInSysCall;DWORD* pdwCeLogTLBMiss;DWORD dwCeLogLargeBuf;DWORD dwCeLogSmallBuf;DWORDdwDefaultThreadQuantum;} CeLogImportTable;

Members

  • dwVersion
    Version of this structure.

    Must be set to 4.

  • pCreateEventW
    Pointer to the DLL's version of CreateEvent.

  • pEventModify
    Pointer to the DLL's version of EventModify.

    EventModify is used to implement the SetEvent, ResetEvent, and PulseEvent functions. The equivalent calls for these are:

    SetEvent(h)->pEventModify(h, EVENT_SET)

    ResetEvent(h)->pEventModify(h, EVENT_RESET)

    PulseEvent(h)->pEventModify(h, EVENT_PULSE)

  • pCreateFileMappingW
    Pointer to the DLL's version of CreateFileMapping.

  • pMapViewOfFile
    Pointer to the DLL's version of MapViewOfFile.

    This pointer will be NULL if the kernel does not include support for memory-mapped files.

  • pUnmapViewOfFile
    Pointer to the DLL's version of UnmapViewOfFile.

  • pCloseHandle
    Pointer to the DLL's version of CloseHandle.

  • pLockPages
    Pointer to the DLL's version of LockPages.

  • pUnlockPages
    Pointer to the DLL's version of UnlockPages.

  • pVirtualAlloc
    Pointer to the DLL's version of VirtualAlloc.

  • pVirtualFree
    Pointer to the DLL's version of VirtualFree.

  • pMapPtrToProcess
    Pointer to the DLL's version of MapPtrToProcess.

  • pQueryPerformanceCounter
    Pointer to the DLL's version of QueryPerformanceCounter.

  • pQueryPerformanceFrequency
    Pointer to the DLL's version of QueryPerformanceFrequency.

  • pNKDbgPrintfW
    Pointer to the DLL's version of NKDbgPrintf.

  • pCeLogReSync
    Pointer to the DLL's version of CeLogReSync.

  • pGetLastError
    Pointer to the DLL's version of GetLastError.

  • pSetLastError
    Pointer to the DLL's version of SetLastError.

  • pGetThreadCallStack
    Pointer to the DLL's version of GetThreadCallStack.

  • pInSysCall
    Pointer to the DLL's version of the InSysCall wrapper function.

  • pdwCeLogTLBMiss
    Pointer to the translation look-aside buffer (TLB) miss count.

    The kernel software TLB miss handler maintains this pointer, if applicable. Only MIPS and SHx use software TLB miss handlers.

  • dwCeLogLargeBuf
    OEM-changeable large buffer size.

  • dwCeLogSmallBuf
    OEM-changeable small buffer size.

  • dwDefaultThreadQuantum
    Scheduler's default thread quantum.

Remarks

CeLogImportTable is used in conjunction with IOCTL_CELOG_IMPORT, which is the IOCTL used by the CeLog DLL to request information about the kernel.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Pkfuncs.h.

See Also

CreateFileMapping | MapViewOfFile | UnmapViewOfFile | CloseHandle | LockPages | UnlockPages | VirtualAlloc | VirtualFree | MapPtrToProcess | QueryPerformanceCounter | QueryPerformanceFrequency | CeLogReSync | GetLastError | SetLastError | GetThreadCallStack | IOCTL_CELOG_IMPORT

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.