PDHDeleteQuery

Function Prototype

PDHDeleteQuery(anQueryID : number):number;

Parameters

  • anQueryID (in) - The ID of the query to delete. This is originally returned from PDHCreateQuery

Return Value

number : returns <0 if an error occurs.

Description

Used to delete a query that was created with PDHCreateQuery. All counters created within the Query become invalid.

Example

See PDHGetCounterValue