UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:pdh.PdhCloseLog |
PdhCloseLog function (pdh.h) |
Closes the specified log file. |
|
perf\pdhcloselog.htm |
perf |
74039bdf-d1b5-41ba-aa4e-4779ce0dd02a |
12/05/2018 |
PDH_FLAGS_CLOSE_QUERY, PdhCloseLog, PdhCloseLog function [Perf], _win32_pdhcloselog, base.pdhcloselog, pdh/PdhCloseLog, perf.pdhcloselog |
pdh.h |
Windows |
Windows XP [desktop apps only] |
Windows Server 2003 [desktop apps only] |
Pdh.lib |
Pdh.dll |
Windows |
19H1 |
|
|
|
|
|
|
Closes the specified log file.
Handle to the log file to be closed. This handle is returned by the PdhOpenLog function.
You can specify the following flag.
Value | Meaning |
---|---|
|
Closes the query associated with the specified log file handle. See the hQuery parameter of PdhOpenLog. |
If the function succeeds, it returns ERROR_SUCCESS and closes and deletes the query.
If the function fails, the return value is a system error code or a PDH error code. The following is a possible value.
Return code | Description |
---|---|
|
The log file handle is not valid. |