Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Closes a query handle that you opened by calling PerfOpenQueryHandle.
Syntax
ULONG PerfCloseQueryHandle(
[in] HANDLE hQuery
);
Parameters
[in] hQuery
A handle to the query that you want to close
Return value
If the function succeeds, it returns ERROR_SUCCESS.
If the function fails, the return value is a system error code.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 10, version 1607 [desktop apps only] |
| Minimum supported server | Windows Server 2016 [desktop apps only] |
| Target Platform | Windows |
| Header | perflib.h |
| Library | AdvAPI32.lib |
| DLL | AdvAPI32.dll |