MapSecurityError function (ntifs.h)

The MapSecurityError function maps a security interface SECURITY_STATUS status code to a corresponding NSTATUS status code.

Syntax

NTSTATUS SEC_ENTRY MapSecurityError(
  SECURITY_STATUS SecStatus
);

Parameters

SecStatus

The security interface SECURITY_STATUS status code to be mapped.

Return value

The NTSTATUS status code corresponding to the input Error status code.

Remarks

This function maps a security interface status code of type SECURITY_STATUS to a corresponding NSTATUS status code.

Requirements

Requirement Value
Minimum supported client Windows 2000
Target Platform Universal
Header ntifs.h (include Ntifs.h, FltKernel.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL Any.