From c92cbefc9d63badb163c33fc43d34d80aae006c2 Mon Sep 17 00:00:00 2001 From: Harold Pratt <38818465+htpiv@users.noreply.github.com> Date: Fri, 28 Feb 2025 12:20:51 -0600 Subject: [PATCH] Update nf-realtimeapiset-querythreadcycletime.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit QueryThreadCycleTimes erroneously referenced process access rights & related documentation. Process access rights don't apply to threads; thread access rights do (one can confirm by consulting `NtQueryInformationThread` 🙂). Update docs to reference thread access rights & link to the appropriate documentation. --- .../nf-realtimeapiset-querythreadcycletime.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk-api-src/content/realtimeapiset/nf-realtimeapiset-querythreadcycletime.md b/sdk-api-src/content/realtimeapiset/nf-realtimeapiset-querythreadcycletime.md index e33c08e4afba..886d97bb8513 100644 --- a/sdk-api-src/content/realtimeapiset/nf-realtimeapiset-querythreadcycletime.md +++ b/sdk-api-src/content/realtimeapiset/nf-realtimeapiset-querythreadcycletime.md @@ -61,8 +61,8 @@ Retrieves the cycle time for the specified thread. ### -param ThreadHandle [in] -A handle to the thread. The handle must have the PROCESS_QUERY_INFORMATION or PROCESS_QUERY_LIMITED_INFORMATION access right. For more information, see -Process Security and Access Rights. +A handle to the thread. The handle must have the THREAD_QUERY_INFORMATION or THREAD_QUERY_LIMITED_INFORMATION access right. For more information, see +Thread Security and Access Rights. ### -param CycleTime [out] @@ -90,4 +90,4 @@ To compile an application that uses this function, define _WIN32_WINNT as 0x0600 -QueryProcessCycleTime \ No newline at end of file +QueryProcessCycleTime