How to query custom performance counters using Zabbix agent?

from what i gather, this might require some coding. basically, this question boils down to "how to create custom perfcounter" - when it's done and working, zabbix agent should be able to query it without any additional work.

there's some simplistic-looking howto at ms site : http://support.microsoft.com/kb/317679