71 lines
1.3 KiB
C++
71 lines
1.3 KiB
C++
|
/*++
|
||
|
|
||
|
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_
|