Performance counters plug-in

Does anyone know how I could create a plug-in to measure performance counters? I am interested checking disk performance such as paging. I am guessing I can use the PDH functions in the function reference but would like an example.

Tx

Performance counters plug-in

Sorry not to replay sooner . Will give this a go.

Try this