ReactOS 0.4.15-dev-7788-g1ad9096
mapping.h
Go to the documentation of this file.
1
2typedef struct _ENGSECTION
3{
9
10typedef struct _FILEVIEW
11{
18
19#ifdef __cplusplus
20typedef struct _FONTFILEVIEW : FILEVIEW
21{
22#else
23typedef struct _FONTFILEVIEW
24{
26#endif
35
36enum
37{
41};
42
48 _In_ ULONG cjOffset,
49 _Out_ PHANDLE phSecure);
50
51VOID
54 _In_ PVOID pvBits,
55 _In_ ULONG cjOffset,
56 _In_ HANDLE hSecure);
57
64
66BOOL
68EngMapSection(
69 _In_ PVOID pvSection,
72 _When_(bMap, _Outptr_) PVOID* pvBaseAddress);
73
75_Success_(return!=NULL)
80EngAllocSectionMem(
81 _Outptr_ PVOID *ppvSection,
85
86BOOL
89 _In_opt_ PVOID pvSection,
90 _In_opt_ PVOID pvMappedBase);
91
96 _In_z_ LPWSTR pwsz,
97 _In_ ULONG cjSizeOfModule,
98 _In_ FLONG fl);
99
#define NULL
Definition: types.h:112
#define FALSE
Definition: types.h:117
#define APIENTRY
Definition: api.h:79
#define __drv_allocatesMem(kind)
Definition: driverspecs.h:257
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
_In_ BOOL bMap
Definition: mapping.h:70
VOID NTAPI EngUnmapSectionView(_In_ PVOID pvBits, _In_ ULONG cjOffset, _In_ HANDLE hSecure)
Definition: mapping.c:71
struct _FONTFILEVIEW FONTFILEVIEW
struct _FONTFILEVIEW * PFONTFILEVIEW
PVOID NTAPI EngCreateSection(_In_ ULONG fl, _In_ SIZE_T cjSize, _In_ ULONG ulTag)
Definition: mapping.c:91
_In_ BOOL _In_ HANDLE hProcess
Definition: mapping.h:71
struct _ENGSECTION ENGSECTION
BOOL APIENTRY EngFreeSectionMem(_In_opt_ PVOID pvSection, _In_opt_ PVOID pvMappedBase)
Definition: mapping.c:246
PVOID NTAPI EngMapSectionView(_In_ HANDLE hSection, _In_ SIZE_T cjSize, _In_ ULONG cjOffset, _Out_ PHANDLE phSecure)
Definition: mapping.c:19
struct _FILEVIEW FILEVIEW
struct _FILEVIEW * PFILEVIEW
@ FVF_READONLY
Definition: mapping.h:39
@ FVF_FONTFILE
Definition: mapping.h:40
@ FVF_SYSTEMROOT
Definition: mapping.h:38
struct _ENGSECTION * PENGSECTION
_Check_return_ PFILEVIEW NTAPI EngLoadModuleEx(_In_z_ LPWSTR pwsz, _In_ ULONG cjSizeOfModule, _In_ FLONG fl)
Definition: mapping.c:329
#define _Success_(expr)
Definition: ms_sal.h:259
#define _In_z_
Definition: ms_sal.h:313
#define _Check_return_
Definition: ms_sal.h:557
#define _Outptr_
Definition: ms_sal.h:427
#define _Out_
Definition: ms_sal.h:345
#define _When_(expr, annos)
Definition: ms_sal.h:254
#define _In_
Definition: ms_sal.h:308
#define _In_opt_
Definition: ms_sal.h:309
#define _Post_writable_byte_size_(size)
Definition: ms_sal.h:652
unsigned long FLONG
Definition: ntbasedef.h:366
PVOID *typedef PHANDLE
Definition: ntsecpkg.h:455
ULONG ulTag
Definition: mapping.h:7
PVOID pvSectionObject
Definition: mapping.h:4
PVOID pvMappedBase
Definition: mapping.h:5
SIZE_T cjViewSize
Definition: mapping.h:6
PVOID pvKView
Definition: mapping.h:13
LARGE_INTEGER LastWriteTime
Definition: mapping.h:12
PVOID pvViewFD
Definition: mapping.h:14
PVOID pSection
Definition: mapping.h:16
SIZE_T cjView
Definition: mapping.h:15
DWORD reserved[2]
Definition: mapping.h:27
SIZE_T ulRegionSize
Definition: mapping.h:29
ULONG cKRefCount
Definition: mapping.h:30
ULONG cRefCountFD
Definition: mapping.h:31
DWORD dwSpoolerPid
Definition: mapping.h:33
PVOID pvSpoolerBase
Definition: mapping.h:32
PWSTR pwszPath
Definition: mapping.h:28
uint16_t * PWSTR
Definition: typedefs.h:56
#define NTAPI
Definition: typedefs.h:36
ULONG_PTR SIZE_T
Definition: typedefs.h:80
uint32_t ULONG
Definition: typedefs.h:59
_In_ FLONG fl
Definition: winddi.h:1279
_In_ ULONG _In_ ULONG ulTag
Definition: winddi.h:3942
_In_ ULONG cjSize
Definition: winddi.h:3634
_In_ const BITMAPINFO _In_ UINT _In_opt_ HANDLE hSection
Definition: wingdi.h:3239
WCHAR * LPWSTR
Definition: xmlstorage.h:184