ReactOS  0.4.15-dev-3442-gc05a45e
mxfileobjectkm.h
Go to the documentation of this file.
1 /*++
2 
3 Copyright (c) Microsoft Corporation
4 
5 ModuleName:
6 
7  MxFileObjectKm.h
8 
9 Abstract:
10 
11  Kernel Mode implementation of File Object defined in MxFileObject.h
12 
13 --*/
14 
15 #pragma once
16 
17 #include "mxfileobject.h"
18 
19 __inline
23  )
24 {
26 
27  return &m_FileObject->FileName;
28 }
29 
30 __inline
33  VOID
34  )
35 {
36  return &m_FileObject->CurrentByteOffset;
37 }
38 
39 __inline
40 ULONG
42  VOID
43  )
44 {
45  return m_FileObject->Flags;
46 }
47 
48 __inline
49 VOID
52  )
53 {
54  m_FileObject->FsContext = Value;
55 }
56 
57 __inline
58 VOID
61  )
62 {
63  m_FileObject->FsContext2 = Value;
64 }
65 
66 __inline
67 PVOID
69  VOID
70  )
71 {
72  return m_FileObject->FsContext;
73 }
74 
75 __inline
76 PVOID
78  VOID
79  )
80 {
81  return m_FileObject->FsContext2;
82 }
VOID SetFsContext2(_In_ PVOID Value)
ULONG GetFlags(VOID)
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:317
VOID SetFsContext(_In_ PVOID Value)
PLARGE_INTEGER GetCurrentByteOffset(VOID)
PVOID GetFsContext(VOID)
IN PVCB IN PBCB OUT PDIRENT IN USHORT IN POEM_STRING Filename
Definition: fatprocs.h:934
#define _In_
Definition: ms_sal.h:308
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value
Definition: wdfregistry.h:406
#define _Inout_opt_
Definition: ms_sal.h:379
MdFileObject m_FileObject
Definition: mxfileobject.h:23
PUNICODE_STRING GetFileName(_Inout_opt_ PUNICODE_STRING Filename)
unsigned int ULONG
Definition: retypes.h:1
PVOID GetFsContext2(VOID)