UtilWin32FailIfZero(UInt32) Method
Evaluates the supplied unmanaged return value and, if it is equal to zero,
throws the corresponding
Win32Exception.
This exception uses the last Win32 error code (
GetLastWin32Error) as error message.
Namespace: DevCase.Win32Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static uint FailIfZero(
uint returnValue
)
Public Shared Function FailIfZero (
returnValue As UInteger
) As UInteger
Dim returnValue As UInteger
Dim returnValue As UInteger
returnValue = UtilWin32.FailIfZero(returnValue)
public:
static unsigned int FailIfZero(
unsigned int returnValue
)
static member FailIfZero :
returnValue : uint32 -> uint32
No code example is currently available or this language may not be supported.
- returnValue UInt32
-
The return value to test.
UInt32
The supplied return value.