home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
vc98
/
include
/
loadperf.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-04-25
|
1KB
|
71 lines
/*++
Copyright 1995 - 1998 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_