blob: 9fbe944733c384769da8deae9091fa0fd540200d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
/*++
Copyright (C) 1995-1996 Microsoft Corporation
Module Name:
loadperf.h
Abstract:
Header file for the Performance Monitor counter string installation
and removal functions.
Revision History
16-Nov-95 Created (a-robw)
--*/
#ifndef _LOADPERF_H_
#define _LOADPERF_H_
// function prototypes for perf counter name string load & unload functions
// provided in LOADPERF.DLL
#ifdef __cplusplus
extern "C" {
#endif
#define LOADPERF_FUNCTION __declspec(dllexport) LONG __stdcall
LOADPERF_FUNCTION
LoadPerfCounterTextStringsA (
IN LPSTR lpAnsiCommandLine,
IN BOOL bQuietModeArg
);
LOADPERF_FUNCTION
LoadPerfCounterTextStringsW (
IN LPWSTR lpWideCommandLine,
IN BOOL bQuietModeArg
);
LOADPERF_FUNCTION
UnloadPerfCounterTextStringsW (
IN LPWSTR lpWideCommandLine,
IN BOOL bQuietModeArg
);
LOADPERF_FUNCTION
UnloadPerfCounterTextStringsA (
IN LPSTR lpAnsiCommandLine,
IN BOOL bQuietModeArg
);
#ifdef UNICODE
#define LoadPerfCounterTextStrings LoadPerfCounterTextStringsW
#define UnloadPerfCounterTextStrings UnloadPerfCounterTextStringsW
#else
#define LoadPerfCounterTextStrings LoadPerfCounterTextStringsA
#define UnloadPerfCounterTextStrings UnloadPerfCounterTextStringsA
#endif
#ifdef __cplusplus
}
#endif
#endif // _LOADPERF_H_
|