CallbackFilter

Instant control over file and folder operations in Windows and .NET applications

CallbackFilter.NtStatusToWin32Error method

Filter:

Pascal    C++ (Lib)    C++ (VCL)    C++ (.NET)    C#    VB.NET   

CallbackFilter    

Overview

Converts Native status code to Win32 error code

Declaration

[Pascal]
    class function NtStatusToWin32Error(ProductName : AnsiString; Status : LongInt) : DWORD;

[C++ (Lib)]
    static DWORD NtStatusToWin32Error( LONG Status);

[C++ (VCL)]
    static unsigned long __fastcall NtStatusToWin32Error(__classid(TCallbackFilter), int Status);

[C++ (.NET)]
    static unsigned long NtStatusToWin32Error(int Status);

[C#]
    static void NtStatusToWin32Error(int Status);

[VB.NET]
    Shared Sub NtStatusToWin32Error(ByVal Status As Integer)

Parameters

  • Status - NT status code to convert

Description

Use this method to convert "Native" NT Status code to Win32 error code. If there was no direct match, ERROR_MR_MID_NOT_FOUND (= 317) value is returned.

Back to top