#include <win32k.h>
#include <debug.h>
Go to the source code of this file.
|
HDC APIENTRY | NtGdiCreateMetafileDC (IN HDC hdc) |
|
HANDLE APIENTRY | NtGdiCreateServerMetaFile (IN DWORD iType, IN ULONG cjData, IN PBYTE pjData, IN DWORD mm, IN DWORD xExt, IN DWORD yExt) |
|
ULONG APIENTRY | NtGdiGetServerMetaFileBits (IN HANDLE hmo, IN ULONG cjData, OUT OPTIONAL PBYTE pjData, OUT PDWORD piType, OUT PDWORD pmm, OUT PDWORD pxExt, OUT PDWORD pyExt) |
|
LONG APIENTRY | NtGdiConvertMetafileRect (IN HDC hDC, IN OUT PRECTL pRect) |
|
◆ NDEBUG
◆ METATYPEOBJ
◆ PMETATYPEOBJ
◆ NtGdiConvertMetafileRect()
◆ NtGdiCreateMetafileDC()
Definition at line 37 of file metafile.c.
38{
39
40
42
43
44}
HDC APIENTRY GreCreateCompatibleDC(HDC hdc, BOOL bAltDc)
◆ NtGdiCreateServerMetaFile()
Definition at line 51 of file metafile.c.
59{
62
64 cjData &&
65 pjData )
66 {
68 if ( pmto )
69 {
75
77 {
80 }
82 {
84 }
86
88 {
92 }
93 else
94 {
96 }
97 }
98 }
100}
VOID NTAPI ProbeForRead(IN CONST VOID *Address, IN SIZE_T Length, IN ULONG Alignment)
@ GDILoObjType_LO_META_TYPE
#define EXCEPTION_EXECUTE_HANDLER
static struct proto Pass[]
#define GDI_OBJ_HMGR_PUBLIC
#define _SEH2_EXCEPT(...)
#define RtlCopyMemory(Destination, Source, Length)
VOID NTAPI GDIOBJ_vSetObjectOwner(POBJ pobj, ULONG ulNewOwner)
POBJ NTAPI GDIOBJ_AllocObjWithHandle(ULONG ObjectType, ULONG cjSize)
VOID NTAPI GDIOBJ_vUnlockObject(POBJ pobj)
VOID NTAPI GDIOBJ_vDeleteObject(POBJ pobj)
◆ NtGdiGetServerMetaFileBits()
Definition at line 107 of file metafile.c.
116{
119
121
122 if (!pmto)
123 return 0;
124
126 {
128
129 if ( cjData )
130 {
131 if (cjData == pmto->
cjData)
132 {
134 {
136 *piType = pmto->
iType;
137
140
143
146
149 }
151 {
152 cjRet = 0;
153 }
155 }
156 else
157 {
158 cjRet = 0;
159 }
160 }
161 }
162
164 return cjRet;
165}
VOID NTAPI ProbeForWrite(IN PVOID Address, IN SIZE_T Length, IN ULONG Alignment)
PGDIOBJ NTAPI GDIOBJ_LockObject(HGDIOBJ hobj, UCHAR objt)