AdvApi32LsaNtStatusToWinError Method

Converts an NTStatus value to a Win32ErrorCode value.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("AdvApi32.dll")]
public static Win32ErrorCode LsaNtStatusToWinError(
	int value
)

Parameters

value  Int32
The NTStatus value.

Return Value

Win32ErrorCode
The return value is the Win32ErrorCode value that corresponds to the NTStatus value.

If there is no corresponding Win32ErrorCode value, the return value is ERROR_MR_MID_NOT_FOUND.

Remarks

See Also