ReactOS 0.4.15-dev-8102-g108db8f
MxFileObject Class Reference

#include <mxfileobject.h>

Public Member Functions

__inline MxFileObject (_In_ MdFileObject FileObject)
 
__inline VOID SetFileObject (_In_ MdFileObject FileObject)
 
__inline MdFileObject GetFileObject (VOID)
 
__inline MxFileObject (VOID)
 
PUNICODE_STRING GetFileName (_Inout_opt_ PUNICODE_STRING Filename)
 
PLARGE_INTEGER GetCurrentByteOffset (VOID)
 
ULONG GetFlags (VOID)
 
VOID SetFsContext (_In_ PVOID Value)
 
VOID SetFsContext2 (_In_ PVOID Value)
 
PVOID GetFsContext (VOID)
 
PVOID GetFsContext2 (VOID)
 

Private Attributes

MdFileObject m_FileObject
 

Detailed Description

Definition at line 20 of file mxfileobject.h.

Constructor & Destructor Documentation

◆ MxFileObject() [1/2]

__inline MxFileObject::MxFileObject ( _In_ MdFileObject  FileObject)
inline

Definition at line 27 of file mxfileobject.h.

29 :
31 {
32 }
MdFileObject m_FileObject
Definition: mxfileobject.h:23
_In_ WDFREQUEST _In_ WDFFILEOBJECT FileObject
Definition: wdfdevice.h:550

◆ MxFileObject() [2/2]

__inline MxFileObject::MxFileObject ( VOID  )
inline

Definition at line 53 of file mxfileobject.h.

55 :
57 {
58 }
#define NULL
Definition: types.h:112

Member Function Documentation

◆ GetCurrentByteOffset()

__inline PLARGE_INTEGER MxFileObject::GetCurrentByteOffset ( VOID  )

Definition at line 32 of file mxfileobjectkm.h.

35{
36 return &m_FileObject->CurrentByteOffset;
37}

Referenced by FxFileObject::GetCurrentByteOffset().

◆ GetFileName()

PUNICODE_STRING MxFileObject::GetFileName ( _Inout_opt_ PUNICODE_STRING  Filename)

Definition at line 21 of file mxfileobjectkm.h.

24{
26
27 return &m_FileObject->FileName;
28}
IN PVCB IN PBCB OUT PDIRENT IN USHORT IN POEM_STRING Filename
Definition: fatprocs.h:939
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:317

Referenced by FxFileObject::GetFileName().

◆ GetFileObject()

__inline MdFileObject MxFileObject::GetFileObject ( VOID  )
inline

Definition at line 45 of file mxfileobject.h.

48 {
49 return m_FileObject;
50 }

Referenced by FxFileObject::GetWdmFileObject().

◆ GetFlags()

__inline ULONG MxFileObject::GetFlags ( VOID  )

Definition at line 41 of file mxfileobjectkm.h.

44{
45 return m_FileObject->Flags;
46}

Referenced by FxFileObject::GetFlags(), FxPkgGeneral::OnCleanup(), and FxPkgGeneral::OnClose().

◆ GetFsContext()

__inline PVOID MxFileObject::GetFsContext ( VOID  )

Definition at line 68 of file mxfileobjectkm.h.

71{
72 return m_FileObject->FsContext;
73}

Referenced by FxFileObject::_DestroyFileObject(), and FxFileObject::_GetFileObjectFromWdm().

◆ GetFsContext2()

__inline PVOID MxFileObject::GetFsContext2 ( VOID  )

Definition at line 77 of file mxfileobjectkm.h.

80{
81 return m_FileObject->FsContext2;
82}

Referenced by FxFileObject::_DestroyFileObject(), and FxFileObject::_GetFileObjectFromWdm().

◆ SetFileObject()

__inline VOID MxFileObject::SetFileObject ( _In_ MdFileObject  FileObject)
inline

◆ SetFsContext()

__inline VOID MxFileObject::SetFsContext ( _In_ PVOID  Value)

Definition at line 50 of file mxfileobjectkm.h.

53{
54 m_FileObject->FsContext = Value;
55}
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value
Definition: wdfregistry.h:413

Referenced by FxFileObject::_DestroyFileObject(), and FxFileObject::SetFileObjectContext().

◆ SetFsContext2()

__inline VOID MxFileObject::SetFsContext2 ( _In_ PVOID  Value)

Definition at line 59 of file mxfileobjectkm.h.

62{
63 m_FileObject->FsContext2 = Value;
64}

Referenced by FxFileObject::_DestroyFileObject(), and FxFileObject::SetFileObjectContext().

Member Data Documentation

◆ m_FileObject


The documentation for this class was generated from the following files: