func PdhOpenQuery(szDataSource uintptr, dwUserData uintptr, phQuery *PDH_HQUERY) uint32 {
	ret, _, _ := procPdhOpenQuery.Call(
		szDataSource,
		dwUserData,
		uintptr(unsafe.Pointer(phQuery)))

	return uint32(ret)
}
// PdhOpenQuery Creates a new query that is used to manage the collection of performance data.
/*
Parameters
szDataSource [in]
Null-terminated string that specifies the name of the log file from which to retrieve performance data. If NULL, performance data is collected from a real-time data source.

dwUserData [in]
User-defined value to associate with this query. To retrieve the user data later, call PdhGetCounterInfo and access the dwQueryUserData member of PDH_COUNTER_INFO.

phQuery [out]
Handle to the query. You use this handle in subsequent calls.
*/
PdhOpenQuery Creates a new query that is used to manage the collection of performance data.

Parameters
szDataSource [in]
Null-terminated string that specifies the name of the log file from which to retrieve performance data. If NULL, performance data is collected from a real-time data source.

dwUserData [in]
User-defined value to associate with this query. To retrieve the user data later, call PdhGetCounterInfo and access the dwQueryUserData member of PDH_COUNTER_INFO.

phQuery [out]
Handle to the query. You use this handle in subsequent calls.
// PdhOpenQuery Creates a new query that is used to manage the collection of performance data . / * Parameters szDataSource [ in ] Null - terminated string that specifies the name of the log file from which to retrieve performance data . If NULL performance data is collected from a real - time data source . dwUserData [ in ] User - defined value to associate with this query . To retrieve the user data later call PdhGetCounterInfo and access the dwQueryUserData member of PDH_COUNTER_INFO . phQuery [ out ] Handle to the query . You use this handle in subsequent calls . * /
func PdhOpenQuery(szDataSource uintptr, dwUserData uintptr, phQuery *PDH_HQUERY) uint32 {
	ret, _, _ := procPdhOpenQuery.Call(
		szDataSource,
		dwUserData,
		uintptr(unsafe.Pointer(phQuery)))
	return uint32(ret)
}
func PdhOpenQuery ( szDataSource uintptr , dwUserData uintptr , phQuery * PDH_HQUERY ) uint32 { ret , _ , _ := procPdhOpenQuery . Call ( szDataSource , dwUserData , uintptr ( unsafe . Pointer ( phQuery ) ) ) return uint32 ( ret ) }
PdhOpenQuery Creates a new query that is used to manage the collection of performance data.
PdhOpenQuery Creates a new query that is used to manage the collection of performance data .