Kernel32GetThreadIOPendingFlag Method
Determines whether a specified thread has any I/O requests pending.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("Kernel32.dll", ExactSpelling = true, SetLastError = true)]
public static bool GetThreadIOPendingFlag(
IntPtr hThread,
out bool refIoIsPending
)
<DllImportAttribute("Kernel32.dll", ExactSpelling := true, SetLastError := true>]
Public Shared Function GetThreadIOPendingFlag (
hThread As IntPtr,
<OutAttribute> ByRef refIoIsPending As Boolean
) As Boolean
Dim hThread As IntPtr
Dim refIoIsPending As Boolean
Dim returnValue As Boolean
returnValue = Kernel32.GetThreadIOPendingFlag(hThread,
refIoIsPending)
public:
[DllImportAttribute(L"Kernel32.dll", ExactSpelling = true, SetLastError = true)]
static bool GetThreadIOPendingFlag(
[InAttribute] IntPtr hThread,
[OutAttribute] bool% refIoIsPending
)
[<DllImportAttribute("Kernel32.dll", ExactSpelling = true, SetLastError = true)>]
static member GetThreadIOPendingFlag :
hThread : IntPtr *
refIoIsPending : bool byref -> bool
No code example is currently available or this language may not be supported.
- hThread IntPtr
-
A handle to the thread in question.
This handle must have been created with the QueryInformation access right.
- refIoIsPending Boolean
-
A pointer to a variable which the function sets to if the
specified thread has one or more I/O requests pending, or to otherwise.
Boolean
If the function succeeds, the return value is
.
If the function fails, the return value is
.