windows-nt/Source/XPSP1/NT/base/screg/winreg/perfdlls/os/perfos.h
2020-09-26 16:20:57 +08:00

38 lines
1 KiB
C
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

extern HANDLE hEventLog; // handle to event log
extern HANDLE hLibHeap; // dll heap
extern SYSTEM_BASIC_INFORMATION BasicInfo;
extern SYSTEM_PERFORMANCE_INFORMATION SysPerfInfo;
extern LPWSTR wszTotal;
extern DWORD dwObjOpenCount;
extern DWORD dwCpuOpenCount;
extern DWORD dwPageOpenCount;
// perfos.c
PM_QUERY_PROC QueryOsObjectData;
// perfcach.c
PM_LOCAL_COLLECT_PROC CollectCacheObjectData;
// perfcpu.c
PM_OPEN_PROC OpenProcessorObject;
PM_LOCAL_COLLECT_PROC CollectProcessorObjectData;
PM_CLOSE_PROC CloseProcessorObject;
// perfmem.c
PM_LOCAL_COLLECT_PROC CollectMemoryObjectData;
// perfobj.c
PM_OPEN_PROC OpenObjectsObject;
PM_LOCAL_COLLECT_PROC CollectObjectsObjectData;
PM_CLOSE_PROC CloseObjectsObject;
// perfpage.c
PM_OPEN_PROC OpenPageFileObject;
PM_LOCAL_COLLECT_PROC CollectPageFileObjectData;
PM_CLOSE_PROC ClosePageFileObject;
// perfsys.c
PM_LOCAL_COLLECT_PROC CollectSystemObjectData;