#include <precomp.h>
#include <debug.h>
Go to the source code of this file.
◆ NDEBUG
◆ GdiComment()
Definition at line 127 of file enhmfile.c.
131{
134
136}
BOOL WINAPI EMFDC_GdiComment(HDC hdc, UINT bytes, const BYTE *buffer)
#define GDI_HANDLE_GET_TYPE(h)
@ GDILoObjType_LO_ALTDC_TYPE
◆ GdiConvertEnhMetaFile()
Definition at line 41 of file enhmfile.c.
42{
46
50
51
55
59
61
63
66 return hmo;
67}
HLOCAL NTAPI LocalAlloc(UINT uFlags, SIZE_T dwBytes)
HLOCAL NTAPI LocalFree(HLOCAL hMem)
__kernel_entry W32KAPI HANDLE APIENTRY NtGdiCreateServerMetaFile(_In_ DWORD iType, _In_ ULONG cjData, _In_reads_bytes_(cjData) LPBYTE pjData, _In_ DWORD mm, _In_ DWORD xExt, _In_ DWORD yExt)
*nSize LPSTR _Inout_ LPDWORD nSize
UINT WINAPI GetEnhMetaFileBits(_In_ HENHMETAFILE hEMF, _In_ UINT nSize, _Out_writes_bytes_opt_(nSize) LPBYTE lpData)
◆ GdiCreateLocalEnhMetaFile()
Definition at line 74 of file enhmfile.c.
75{
76 HENHMETAFILE hEMF;
80
84
85
89
90
94
96 {
98
103
107 }
108 else
109 {
113 }
114
116
119 return hEMF;
120}
__kernel_entry W32KAPI ULONG APIENTRY NtGdiGetServerMetaFileBits(_In_ HANDLE hmo, _In_ ULONG cjData, _Out_writes_bytes_opt_(cjData) LPBYTE pjData, _Out_ PDWORD piType, _Out_ PDWORD pmm, _Out_ PDWORD pxExt, _Out_ PDWORD pyExt)
_Must_inspect_result_ _In_ WDFCHILDLIST _In_ PWDF_CHILD_LIST_ITERATOR _Out_ WDFDEVICE _Inout_opt_ PWDF_CHILD_RETRIEVE_INFO Info
HENHMETAFILE WINAPI SetEnhMetaFileBits(_In_ UINT nSize, _In_reads_bytes_(nSize) const BYTE *pb)
HENHMETAFILE WINAPI SetWinMetaFileBits(_In_ UINT nSize, _In_reads_bytes_(nSize) const BYTE *lpMeta16Data, _In_opt_ HDC hdcRef, _In_opt_ const METAFILEPICT *lpMFP)
Referenced by GetClipboardData().
◆ GetEnhMetaFilePixelFormat()
Definition at line 143 of file enhmfile.c.
147{
149
151 {
152 if(pemh.bOpenGL)
153 {
154 if(pemh.cbPixelFormat)
155 {
157 return(pemh.cbPixelFormat);
158 }
159 }
160 }
161 return(0);
162}
#define memcpy(s1, s2, n)
_In_ LONG _In_ ULONG _Out_opt_ PIXELFORMATDESCRIPTOR * ppfd
UINT WINAPI GetEnhMetaFileHeader(_In_ HENHMETAFILE hemf, _In_ UINT nSize, _Out_writes_bytes_opt_(nSize) LPENHMETAHEADER lpEnhMetaHeader)
◆ IsValidEnhMetaRecord()
Definition at line 11 of file enhmfile.c.
14{
18}
#define ERROR_CALL_NOT_IMPLEMENTED
◆ IsValidEnhMetaRecordOffExt()