19 Feb
2008
19 Feb
'08
1:14 p.m.
"Jeff Latimer" <lats(a)yless4u.com.au> wrote:
+ if (machine && !(machineW = pdh_strdup_aw( machine ))) return PDH_MEMORY_ALLOCATION_FAILURE;
- if (machine) - { - FIXME("remote machine not supported\n"); - return PDH_CSTATUS_NO_MACHINE; - } if (!(nameW = pdh_strdup_aw( name ))) return PDH_MEMORY_ALLOCATION_FAILURE;
ret = PdhLookupPerfIndexByNameW( NULL, nameW, index );
You forgot to actually pass machineW to PdhLookupPerfIndexByNameW. -- Dmitry.