win32pdh.ExpandCounterPath

[string,] = ExpandCounterPath(wildCardPath)

Examines the specified machine (or local machine if none is specified) for counters and instances of counters that match the wild card strings in the counter path.

Parameters

wildCardPath : string

The counter path to expand.

Comments

The counter path format is assumed to be:
\\machine\\object(parent/instance#index)\\countername
and the parent, instance, index, and countername elements may contain either a valid name or a wild card character.

The API function leaks memory on Windows XP.