ReactOS  0.4.15-dev-2776-g4130f0b
fxfileobjectapi.cpp File Reference
#include "coreprivshared.hpp"
#include "fxfileobject.hpp"
Include dependency graph for fxfileobjectapi.cpp:

Go to the source code of this file.

Functions

 __drv_maxIRQL (PASSIVE_LEVEL) PUNICODE_STRING STDCALL WDFEXPORT(WdfFileObjectGetFileName)(__in PWDF_DRIVER_GLOBALS DriverGlobals
 
 FxObjectHandleGetPtrAndGlobals (GetFxDriverGlobals(DriverGlobals), FileObject, FX_TYPE_FILEOBJECT,(PVOID *)&pFO, &pFxDriverGlobals)
 
 if (!NT_SUCCESS(status))
 
 if (pFO->GetWdmFileObject() !=NULL)
 
 __drv_maxIRQL (DISPATCH_LEVEL) ULONG STDCALL WDFEXPORT(WdfFileObjectGetFlags)(__in PWDF_DRIVER_GLOBALS DriverGlobals
 
 FxObjectHandleGetPtr (GetFxDriverGlobals(DriverGlobals), FileObject, FX_TYPE_FILEOBJECT,(PVOID *)&pFO)
 
return pFO GetDevice () -> GetHandle()
 

Variables

__in WDFFILEOBJECT FileObject
 
PFX_DRIVER_GLOBALS pFxDriverGlobals
 
NTSTATUS status = FxVerifierCheckIrqlLevel(pFxDriverGlobals, PASSIVE_LEVEL)
 
FxFileObjectpFO = NULL
 
 else
 

Function Documentation

◆ __drv_maxIRQL() [1/2]

__drv_maxIRQL ( PASSIVE_LEVEL  )

◆ __drv_maxIRQL() [2/2]

__drv_maxIRQL ( DISPATCH_LEVEL  )

◆ FxObjectHandleGetPtr()

FxObjectHandleGetPtr ( GetFxDriverGlobals(DriverGlobals ,
FileObject  ,
FX_TYPE_FILEOBJECT  ,
(PVOID *)&  pFO 
)

◆ FxObjectHandleGetPtrAndGlobals()

FxObjectHandleGetPtrAndGlobals ( GetFxDriverGlobals(DriverGlobals ,
FileObject  ,
FX_TYPE_FILEOBJECT  ,
(PVOID *)&  pFO,
pFxDriverGlobals 
)

◆ GetDevice()

return pFO GetDevice ( ) -> GetHandle()

◆ if() [1/2]

if ( NT_SUCCESSstatus)

Definition at line 82 of file fxfileobjectapi.cpp.

82  {
83  return NULL;
84  }
#define NULL
Definition: types.h:112

◆ if() [2/2]

if ( pFO->GetWdmFileObject() !  = NULL)

Definition at line 86 of file fxfileobjectapi.cpp.

86  {
87  return pFO->GetFileName();
88  }
FxFileObject * pFO
__inline PUNICODE_STRING GetFileName(VOID)

Variable Documentation

◆ else

else
Initial value:
{
return NULL
#define NULL
Definition: types.h:112

Definition at line 89 of file fxfileobjectapi.cpp.

◆ FileObject

__in WDFFILEOBJECT FileObject
Initial value:
{
#define DDI_ENTRY()
Definition: fxglobalskm.h:56

Definition at line 65 of file fxfileobjectapi.cpp.

◆ pFO

FxFileObject * pFO = NULL

Definition at line 70 of file fxfileobjectapi.cpp.

Referenced by if().

◆ pFxDriverGlobals

PFX_DRIVER_GLOBALS pFxDriverGlobals

Definition at line 68 of file fxfileobjectapi.cpp.

◆ status