ReactOS  0.4.15-dev-3428-g0609db5
fltlib.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

HRESULT NtStatusToHResult (_In_ NTSTATUS Status)
 

Function Documentation

◆ NtStatusToHResult()

HRESULT NtStatusToHResult ( _In_ NTSTATUS  Status)

Definition at line 59 of file fltlib.c.

60 {
61  HRESULT hr;
63  if (hr != ERROR_SUCCESS)
64  {
65  hr = (ULONG)hr | 0x80070000;
66  }
67  return hr;
68 }
#define ERROR_SUCCESS
Definition: deptool.c:10
HRESULT hr
Definition: shlfolder.c:183
NTSYSAPI ULONG WINAPI RtlNtStatusToDosError(NTSTATUS)
Status
Definition: gdiplustypes.h:24
LONG HRESULT
Definition: typedefs.h:79
unsigned int ULONG
Definition: retypes.h:1

Referenced by FilterConnectCommunicationPort().