home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 May
/
Pcwk0597.iso
/
borland
/
cb
/
setup
/
cbuilder
/
data.z
/
LOADPERF.H
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-28
|
1KB
|
73 lines
/*++
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_
#pragma option -b
// 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
#pragma option -b.
#endif // _LOADPERF_H_