ReactOS 0.4.16-dev-311-g9382aa2
mxfileobjectkm.h
Go to the documentation of this file.
1/*++
2
3Copyright (c) Microsoft Corporation
4
5ModuleName:
6
7 MxFileObjectKm.h
8
9Abstract:
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
42 VOID
43 )
44{
45 return m_FileObject->Flags;
46}
47
48__inline
49VOID
52 )
53{
54 m_FileObject->FsContext = Value;
55}
56
57__inline
58VOID
61 )
62{
63 m_FileObject->FsContext2 = Value;
64}
65
66__inline
69 VOID
70 )
71{
72 return m_FileObject->FsContext;
73}
74
75__inline
78 VOID
79 )
80{
81 return m_FileObject->FsContext2;
82}
MdFileObject m_FileObject
Definition: mxfileobject.h:23
PVOID GetFsContext(VOID)
ULONG GetFlags(VOID)
PUNICODE_STRING GetFileName(_Inout_opt_ PUNICODE_STRING Filename)
VOID SetFsContext2(_In_ PVOID Value)
VOID SetFsContext(_In_ PVOID Value)
PVOID GetFsContext2(VOID)
PLARGE_INTEGER GetCurrentByteOffset(VOID)
IN PVCB IN PBCB OUT PDIRENT IN USHORT IN POEM_STRING Filename
Definition: fatprocs.h:940
#define _Inout_opt_
Definition: no_sal2.h:216
#define _In_
Definition: no_sal2.h:158
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:325
uint32_t ULONG
Definition: typedefs.h:59
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value
Definition: wdfregistry.h:413