Use PDH_FUNCTION rather than just PDH_STATUS, so these functions are correctly decorated with WINAPI (= stdcall on x86), so linkage works correctly on x86.

Signed-off-by: Liu Hao <lh_mouse@126.com>
(cherry picked from commit b7e1625c587eb2d9e0a75ba46fa6446d4e20468a)
Signed-off-by: Jonathan Yong <10walls@gmail.com>
1 file changed