|
|
1.1 ! root 1: /*++ BUILD Version: 0001 // Increment this if a change has global effects ! 2: ! 3: Copyright (c) 1992 Microsoft Corporation ! 4: ! 5: Module Name: ! 6: ! 7: datavga.c ! 8: ! 9: Abstract: ! 10: ! 11: a file containing the constant data structures used by the Performance ! 12: Monitor data for the VGA Extensible Objects. ! 13: ! 14: This file contains a set of constant data structures which are ! 15: currently defined for the VGA Extensible Objects. This is an ! 16: example of how other such objects could be defined. ! 17: ! 18: Created: ! 19: ! 20: Russ Blake 26 Feb 93 ! 21: ! 22: Revision History: ! 23: ! 24: None. ! 25: ! 26: --*/ ! 27: // ! 28: // Include Files ! 29: // ! 30: ! 31: #include <windows.h> ! 32: #include <winperf.h> ! 33: #include "vgactrnm.h" ! 34: #include "datavga.h" ! 35: ! 36: // ! 37: // Constant structure initializations ! 38: // defined in datavga.h ! 39: // ! 40: ! 41: VGA_DATA_DEFINITION VgaDataDefinition = { ! 42: ! 43: { sizeof(VGA_DATA_DEFINITION) + SIZE_OF_VGA_PERFORMANCE_DATA, ! 44: sizeof(VGA_DATA_DEFINITION), ! 45: sizeof(PERF_OBJECT_TYPE), ! 46: VGAOBJ, ! 47: 0, ! 48: VGAOBJ, ! 49: 0, ! 50: PERF_DETAIL_NOVICE, ! 51: (sizeof(VGA_DATA_DEFINITION)-sizeof(PERF_OBJECT_TYPE))/ ! 52: sizeof(PERF_COUNTER_DEFINITION), ! 53: 0, ! 54: 0, ! 55: 0 ! 56: }, ! 57: { sizeof(PERF_COUNTER_DEFINITION), ! 58: BITBLTS, ! 59: 0, ! 60: BITBLTS, ! 61: 0, ! 62: 0, ! 63: PERF_DETAIL_NOVICE, ! 64: PERF_COUNTER_COUNTER, ! 65: sizeof(DWORD), ! 66: NUM_BITBLTS_OFFSET ! 67: }, ! 68: { sizeof(PERF_COUNTER_DEFINITION), ! 69: TEXTOUTS, ! 70: 0, ! 71: TEXTOUTS, ! 72: 0, ! 73: 0, ! 74: PERF_DETAIL_NOVICE, ! 75: PERF_COUNTER_COUNTER, ! 76: sizeof(DWORD), ! 77: NUM_TEXTOUTS_OFFSET ! 78: } ! 79: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.