|
ProcessHelperWaitForSingleObject Method |
Namespace: Xcalibur.NativeMethods.V2.ProcessesAssembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax [DllImportAttribute("kernel32.dll", SetLastError = true)]
public static long WaitForSingleObject(
IntPtr handle,
uint milliseconds
)
<DllImportAttribute("kernel32.dll", SetLastError := true>]
Public Shared Function WaitForSingleObject (
handle As IntPtr,
milliseconds As UInteger
) As Long
public:
[DllImportAttribute(L"kernel32.dll", SetLastError = true)]
static long long WaitForSingleObject(
IntPtr handle,
unsigned int milliseconds
)
[<DllImportAttribute("kernel32.dll", SetLastError = true)>]
static member WaitForSingleObject :
handle : IntPtr *
milliseconds : uint32 -> int64
Parameters
- handle IntPtr
- A handle to the object.
- milliseconds UInt32
- The time-out interval, in milliseconds. If a nonzero value is
specified, the function waits until the object is signaled or the interval elapses. If
dwMilliseconds is zero, the function does not enter a wait state if the object is not
signaled; it always returns immediately. If milliseconds is INFINITE, the function will
return only when the object is signaled.
Return Value
Int64 result.
See Also