// ntifs.h
NTSTATUS SEC_ENTRY MapSecurityError(
SECURITY_STATUS SecStatus
);
View the official Windows Driver Kit DDI referenceNo description available.
The MapSecurityError function maps a security interface SECURITY_STATUS status code to a corresponding NSTATUS status code.
SecStatusThe security interface SECURITY_STATUS status code to be mapped.
The NTSTATUS status code corresponding to the input Error status code.
This function maps a security interface status code of type SECURITY_STATUS to a corresponding NSTATUS status code.