Skip to content

Latest commit

 

History

History
89 lines (69 loc) · 3.01 KB

nf-processthreadsapi-getthreadiopendingflag.md

File metadata and controls

89 lines (69 loc) · 3.01 KB
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:processthreadsapi.GetThreadIOPendingFlag
GetThreadIOPendingFlag function (processthreadsapi.h)
Determines whether a specified thread has any I/O requests pending.
GetThreadIOPendingFlag
GetThreadIOPendingFlag function
base.getthreadiopendingflag
processthreadsapi/GetThreadIOPendingFlag
base\getthreadiopendingflag.htm
processthreadsapi
5502f735-38f5-44a4-908d-1b421ee66aec
12/05/2018
GetThreadIOPendingFlag, GetThreadIOPendingFlag function, base.getthreadiopendingflag, processthreadsapi/GetThreadIOPendingFlag
processthreadsapi.h
Windows.h
Windows
Windows Vista, Windows XP with SP1 [desktop apps only]
Windows Server 2003 [desktop apps only]
Kernel32.lib
Kernel32.dll
Windows
19H1
GetThreadIOPendingFlag
processthreadsapi/GetThreadIOPendingFlag
c++
APIRef
kbSyntax
DllExport
Kernel32.dll
API-MS-Win-Core-ProcessThreads-l1-1-2.dll
KernelBase.dll
MinKernelBase.dll
api-ms-win-downlevel-kernel32-l1-1-0.dll
API-MS-Win-Core-ProcessThreads-L1-1-3.dll
GetThreadIOPendingFlag

GetThreadIOPendingFlag function

-description

Determines whether a specified thread has any I/O requests pending.

-parameters

-param hThread [in]

A handle to the thread in question. This handle must have been created with the THREAD_QUERY_INFORMATION access right. For more information, see Thread Security and Access Rights.

-param lpIOIsPending [in, out]

A pointer to a variable which the function sets to TRUE if the specified thread has one or more I/O requests pending, or to FALSE otherwise.

-returns

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

-remarks

Keep in mind that the I/O status of the specified thread can change rapidly, and may already have changed by the time the function returns. For example, a pending I/O operation could complete between the time the function sets lpIOIsPending and the time it returns.

To compile an application that uses this function, define _WIN32_WINNT as 0x0501 or later. For more information, see Using the Windows Headers.

-see-also

Process and Thread Functions

Threads