MapNtStatusToWinError (Windows CE 5.0)
This function maps a Microsoft® Windows NT® status code to a Microsoft Win32® error code.
ULONG MapNtStatusToWinError(NTSTATUS Status);
Parameters
- Status
[in] The Windows NT status value that is to be translated into a Win32 error code.
Return Values
The Win32 error code corresponding to the NTSTATUS value.
Remarks
Internally, your driver should work with Windows NT status values and not with Win32 error codes. The smart card resource manager, however, needs Win32 error codes. You can use this function in your device I/O control routine to map the Windows NT status value to a Win32 error code.
Requirements
OS Versions: Windows CE 3.0 and later.
Header: Smclib.h.
Send Feedback on this topic to the authors