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 result is limited to 4096 bytes!

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.