Closed GuillaumeGomez closed 3 months ago
The PDH functions definitely have "handle types" like PDH_HQUERY
and PDH_HCOUNTER
. I'm not sure why they're not showing up in the Win32 metadata. @riverar may have some idea. I'll forward to the Win32 metadata repo for resolution.
I don't see any indication this API ever took a specialized handle (from a metadata perspective). Happy to add it though.
It would be very welcome. :)
Awesome, thanks!
Since the 0.58 version, functions like
PdhCollectQueryData
take aisize
instead of aHANDLE
. This is pretty bad as we there is no method available onisize
to check if its value is correct or basically any helper. In addition, it makes it much harder when reading code what we're actually manipulating.Would you be open in adding such a newtype to address these two problems?
Thanks in advance!