PMUseCounters
Windows NT only!
The PMUseCounters function makes the current counter set useable for Performance Monitor.
long PMUseCounters( char *applName // unique name of caller application );
Parameters
- applName
- Specifies the name used for making entries in the registry and for identifying the application instance type.
Return Values
If the function succeeds, the return value is TRUE.
If the function fails, the return value is FALSE.
Remarks
Use this function only if counters are not currently in use.
If you finish using counters, you should call PMAbuseCounters.
After calling this function, you are able to modify the values of current counter set with PMSetCounterValue.
Requirements
Header: Declared in GSRoot.h
Import Library: Link with GSRootImp.lib
See Also
Performance Monitor Manager Functions, PMAbuseCounters, PMSetCunterValue