14 Feb
2008
14 Feb
'08
9:51 a.m.
On Thursday 14 February 2008 09:57:32 am Jeff Latimer wrote:
+ machineW = pdh_strdup_aw( machine ); + + if (!(ret = PdhLookupPerfNameByIndexW( machineW, index, bufferW, &sizeW )))
In the unlikely event that pdh_strdup_aw fails the query will be run on the local machine instead of the remote machine. Please check for allocation failures like most other functions in there do. -Hans