Graphisoft®

GSRootVersion: 1.0

PMDeleteObjects

Windows NT only!

The PMDeleteObjects function deletes all the objects and counters added previously.

long PMDeleteObjects();

 

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 in the case when none of the counters is in use anymore.

Calling this function is recommended when the monitor is no longer necessary, in order to free all memory allocated for this purpose.

You can call PMDeleteObjects when you want to change the current counter set. After you can add objects, counters again.

Requirements

    Header: Declared in GSRoot.h
    Import Library: Link with GSRootImp.lib

See Also

Performance Monitor Manager Functions, PMAddObject, PMAddCounter