Note
Kailangan ng pahintulot para ma-access ang page na ito. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
Disables thread profiling.
Syntax
DWORD DisableThreadProfiling(
[in] HANDLE PerformanceDataHandle
);
Parameters
[in] PerformanceDataHandle
The handle that the EnableThreadProfiling function returned.
Return value
Returns ERROR_SUCCESS if the call is successful; otherwise, a system error code (see Winerror.h).
Remarks
You must call this function from the same thread that enabled profiling for the specified handle. You must call this function before exiting the thread; otherwise, you will leak resources (the resources are not reclaimed until the process exits).
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 7 [desktop apps only] |
| Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
| Target Platform | Windows |
| Header | winbase.h (include Windows.h) |
| Library | Kernel32.lib |
| DLL | Kernel32.dll |