Re: Pass parms through to PdhLookupPerfIndexByNameW for checking
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.
6511
Age (days ago)
6511
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dmitry Timoshkov