The LsaNtStatusToWinError function converts an NTSTATUS code returned by an LSA function to a Windows error code.
Syntax
ULONG LsaNtStatusToWinError(
__in NTSTATUS Status
);
Parameters
- Status [in]
-
An NTSTATUS code returned by an LSA function call. This value will be converted to a
System error code.
Return Value
The return value is the Windows error code that corresponds to the Status parameter. If there is no corresponding Windows error code, the return value is ERROR_MR_MID_NOT_FOUND.
Requirements
| Minimum supported client | Windows 2000 Professional |
| Minimum supported server | Windows 2000 Server |
| Header | Ntsecapi.h |
| Library | Advapi32.lib |
| DLL | Advapi32.dll |
See Also
- LSA Policy Function Return Values
Send comments about this topic to Microsoft
Build date: 11/19/2009