diff options
author | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
---|---|---|
committer | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
commit | e611b132f9b8abe35b362e5870b74bce94a1e58e (patch) | |
tree | a5781d2ec0e085eeca33cf350cf878f2efea6fe5 /public/sdk/inc/loadperf.h | |
download | NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2 NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip |
Diffstat (limited to 'public/sdk/inc/loadperf.h')
-rw-r--r-- | public/sdk/inc/loadperf.h | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/public/sdk/inc/loadperf.h b/public/sdk/inc/loadperf.h new file mode 100644 index 000000000..9fbe94473 --- /dev/null +++ b/public/sdk/inc/loadperf.h @@ -0,0 +1,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_ |