win32pdh.AddCounter

int = AddCounter(hQuery, path , userData )

Adds a new counter

Parameters

hQuery : int

Handle to an open query.

path : string

Full path to the performance data

userData=0 : int

User data associated with the counter.

Comments

See also win32pdh::RemoveCounter