MEMCTRS.H
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:3k
源码类别:
Windows编程
开发平台:
Visual C++
- /*++ BUILD Version: 0001 // Increment this if a change has global effects
- Copyright (c) 1995-6 Microsoft Corporation
- Module Name:
- memctrs.h
- (derived from memctrs.mc by the message compiler )
- Abstract:
- Event message definititions used by routines in MEMCTRS.DLL
- Created:
- 24-Aug-1995 Bob Watson (a-robw)
- Revision History:
- --*/
- //
- #ifndef _MEMCTRS_H_
- #define _MEMCTRS_H_
- //
- //
- // Perfutil messages
- //
- //
- // Values are 32 bit values layed out as follows:
- //
- // 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
- // 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
- // +---+-+-+-----------------------+-------------------------------+
- // |Sev|C|R| Facility | Code |
- // +---+-+-+-----------------------+-------------------------------+
- //
- // where
- //
- // Sev - is the severity code
- //
- // 00 - Success
- // 01 - Informational
- // 10 - Warning
- // 11 - Error
- //
- // C - is the Customer code flag
- //
- // R - is a reserved bit
- //
- // Facility - is the facility code
- //
- // Code - is the facility's status code
- //
- //
- // Define the facility codes
- //
- //
- // Define the severity codes
- //
- //
- // MessageId: UTIL_LOG_OPEN
- //
- // MessageText:
- //
- // An extensible counter has opened the Event Log for MEMCTRS.DLL
- //
- #define UTIL_LOG_OPEN ((DWORD)0x4000076CL)
- //
- //
- // MessageId: UTIL_CLOSING_LOG
- //
- // MessageText:
- //
- // An extensible counter has closed the Event Log for MEMCTRS.DLL
- //
- #define UTIL_CLOSING_LOG ((DWORD)0x400007CFL)
- //
- //
- // MessageId: APPMEM_OPEN_FILE_MAPPING_ERROR
- //
- // MessageText:
- //
- // Unable to open mapped file containing Application Memory performance data.
- //
- #define APPMEM_OPEN_FILE_MAPPING_ERROR ((DWORD)0xC00007D0L)
- //
- //
- // MessageId: APPMEM_UNABLE_MAP_VIEW_OF_FILE
- //
- // MessageText:
- //
- // Unable to map to shared memory file containing Application Memory performance data.
- //
- #define APPMEM_UNABLE_MAP_VIEW_OF_FILE ((DWORD)0xC00007D1L)
- //
- //
- // MessageId: APPMEM_UNABLE_OPEN_DRIVER_KEY
- //
- // MessageText:
- //
- // Unable open "Performance" key of Applicationa Memory Performace Driver in registy. Status code is returned in data.
- //
- #define APPMEM_UNABLE_OPEN_DRIVER_KEY ((DWORD)0xC00007D2L)
- //
- //
- // MessageId: APPMEM_UNABLE_READ_FIRST_COUNTER
- //
- // MessageText:
- //
- // Unable to read the "First Counter" value under the AppMemPerformance Key. Status codes retuened in data.
- //
- #define APPMEM_UNABLE_READ_FIRST_COUNTER ((DWORD)0xC00007D3L)
- //
- //
- // MessageId: APPMEM_UNABLE_READ_FIRST_HELP
- //
- // MessageText:
- //
- // Unable to read the "First Help" value under the AppMemPerformance Key. Status codes retuened in data.
- //
- #define APPMEM_UNABLE_READ_FIRST_HELP ((DWORD)0xC00007D4L)
- //
- #endif // _MEMCTRS_H_