ReactOS  0.4.14-dev-77-gd9e7c48
mapping.h
Go to the documentation of this file.
1 
2 typedef struct _ENGSECTION
3 {
9 
10 typedef struct _FILEVIEW
11 {
18 
19 #ifdef __cplusplus
20 typedef struct _FONTFILEVIEW : FILEVIEW
21 {
22 #else
23 typedef struct _FONTFILEVIEW
24 {
26 #endif
35 
36 enum
37 {
41 };
42 
43 PVOID
44 NTAPI
48  _In_ ULONG cjOffset,
49  _Out_ PHANDLE phSecure);
50 
51 VOID
52 NTAPI
54  _In_ PVOID pvBits,
55  _In_ ULONG cjOffset,
56  _In_ HANDLE hSecure);
57 
58 PVOID
59 NTAPI
61  _In_ ULONG fl,
63  _In_ ULONG ulTag);
64 
65 _Success_(return!=FALSE)
66 BOOL
68 EngMapSection(
69  _In_ PVOID pvSection,
72  _When_(bMap, _Outptr_) PVOID* pvBaseAddress);
73 
75 _Success_(return!=NULL)
78 PVOID
80 EngAllocSectionMem(
81  _Outptr_ PVOID *ppvSection,
84  _In_ ULONG ulTag);
85 
86 BOOL
89  _In_opt_ PVOID pvSection,
90  _In_opt_ PVOID pvMappedBase);
91 
94 NTAPI
96  _In_z_ LPWSTR pwsz,
97  _In_ ULONG cjSizeOfModule,
98  _In_ FLONG fl);
99 
VOID NTAPI EngUnmapSectionView(_In_ PVOID pvBits, _In_ ULONG cjOffset, _In_ HANDLE hSecure)
Definition: mapping.c:71
LARGE_INTEGER LastWriteTime
Definition: mapping.h:12
_Success_(return!=FALSE) BOOL APIENTRY EngMapSection(_In_ PVOID pvSection
PVOID NTAPI EngMapSectionView(_In_ HANDLE hSection, _In_ SIZE_T cjSize, _In_ ULONG cjOffset, _Out_ PHANDLE phSecure)
Definition: mapping.c:19
struct _FONTFILEVIEW FONTFILEVIEW
uint16_t * PWSTR
Definition: typedefs.h:54
SIZE_T cjView
Definition: mapping.h:15
#define _Outptr_
Definition: no_sal2.h:396
_In_ BOOL _In_ HANDLE hProcess
Definition: mapping.h:70
#define _Check_return_
Definition: no_sal2.h:13
struct _FILEVIEW FILEVIEW
PVOID pvSectionObject
Definition: mapping.h:4
#define _In_opt_
Definition: no_sal2.h:213
BOOL APIENTRY EngFreeSectionMem(_In_opt_ PVOID pvSection, _In_opt_ PVOID pvMappedBase)
Definition: mapping.c:246
#define _Post_writable_byte_size_(size)
Definition: no_sal2.h:467
PVOID NTAPI EngCreateSection(_In_ ULONG fl, _In_ SIZE_T cjSize, _In_ ULONG ulTag)
Definition: mapping.c:91
DWORD dwSpoolerPid
Definition: mapping.h:33
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
_In_ FLONG fl
Definition: winddi.h:1279
struct _FONTFILEVIEW * PFONTFILEVIEW
unsigned int BOOL
Definition: ntddk_ex.h:94
smooth NULL
Definition: ftsmooth.c:416
#define _Out_
Definition: no_sal2.h:323
unsigned long FLONG
Definition: ntbasedef.h:373
#define __drv_allocatesMem(kind)
Definition: driverspecs.h:239
struct _ENGSECTION ENGSECTION
_Check_return_ PFILEVIEW NTAPI EngLoadModuleEx(_In_z_ LPWSTR pwsz, _In_ ULONG cjSizeOfModule, _In_ FLONG fl)
Definition: mapping.c:329
ULONG ulTag
Definition: mapping.h:7
SIZE_T cjViewSize
Definition: mapping.h:6
unsigned long DWORD
Definition: ntddk_ex.h:95
ULONG cRefCountFD
Definition: mapping.h:31
struct _FILEVIEW * PFILEVIEW
PVOID pvSpoolerBase
Definition: mapping.h:32
PVOID pSection
Definition: mapping.h:16
PVOID *typedef PHANDLE
Definition: ntsecpkg.h:414
PVOID pvKView
Definition: mapping.h:13
DWORD reserved[2]
Definition: mapping.h:27
#define _In_
Definition: no_sal2.h:204
_In_ ULONG _In_ ULONG ulTag
Definition: winddi.h:3941
ULONG_PTR SIZE_T
Definition: typedefs.h:78
ULONG cKRefCount
Definition: mapping.h:30
#define _In_z_
Definition: no_sal2.h:239
_In_ BOOL _In_ HANDLE _When_(bMap, _Outptr_) PVOID *pvBaseAddress)
unsigned int ULONG
Definition: retypes.h:1
_In_ ULONG cjSize
Definition: winddi.h:3634
PVOID pvViewFD
Definition: mapping.h:14
WCHAR * LPWSTR
Definition: xmlstorage.h:184
SIZE_T ulRegionSize
Definition: mapping.h:29
_In_ const BITMAPINFO _In_ UINT _In_opt_ HANDLE hSection
Definition: wingdi.h:3234
_In_ BOOL bMap
Definition: mapping.h:70
PVOID pvMappedBase
Definition: mapping.h:5
#define APIENTRY
Definition: api.h:79
PWSTR pwszPath
Definition: mapping.h:28
struct _ENGSECTION * PENGSECTION