ReactOS  r75385
ntgdi.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _LOGCOLORSPACEEXW
 
struct  _POLYPATBLT
 
struct  tagDOWNLOADDESIGNVECTOR
 

Macros

#define _NTGDI_
 
#define W32KAPI   DECLSPEC_ADDRSAFE
 
#define _WINDOWBLT_NOTIFICATION_
 
#define TRACE_SURFACE_ALLOCS   (DBG || 0)
 
#define FL_UFI_PRIVATEFONT   1
 
#define FL_UFI_DESIGNVECTOR_PFF   2
 
#define FL_UFI_MEMORYFONT   4
 
#define ICM_SET_MODE   1
 
#define ICM_SET_CALIBRATE_MODE   2
 
#define ICM_SET_COLOR_MODE   3
 
#define ICM_CHECK_COLOR_MODE   4
 
#define LCSEX_ANSICREATED   1
 
#define LCSEX_TEMPPROFILE   2
 
#define GS_NUM_OBJS_ALL   0
 
#define GS_HANDOBJ_CURRENT   1
 
#define GS_HANDOBJ_MAX   2
 
#define GS_HANDOBJ_ALLOC   3
 
#define GS_LOOKASIDE_INFO   4
 
#define TYPE_ENUMFONTS   1
 
#define TYPE_ENUMFONTFAMILIES   2
 
#define TYPE_ENUMFONTFAMILIESEX   3
 

Typedefs

typedef enum _COLORPALETTEINFO COLORPALETTEINFO
 
typedef enum _COLORPALETTEINFOPCOLORPALETTEINFO
 
typedef enum _ICM_DIB_INFO_CMD ICM_DIB_INFO
 
typedef enum _ICM_DIB_INFO_CMDPICM_DIB_INFO
 
typedef struct _LOGCOLORSPACEEXW LOGCOLORSPACEEXW
 
typedef struct _LOGCOLORSPACEEXWPLOGCOLORSPACEEXW
 
typedef struct _POLYPATBLT POLYPATBLT
 
typedef struct _POLYPATBLTPPOLYPATBLT
 
typedef struct
tagDOWNLOADDESIGNVECTOR 
DOWNLOADDESIGNVECTOR
 
typedef struct _DRIVER_INFO_2W DRIVER_INFO_2W
 

Enumerations

enum  _COLORPALETTEINFO { ColorPaletteQuery, ColorPaletteSet }
 
enum  _ICM_DIB_INFO_CMD { IcmQueryBrush, IcmSetBrush }
 

Functions

__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiInit (VOID)
 
__kernel_entry W32KAPI INT APIENTRY NtGdiSetDIBitsToDeviceInternal (_In_ HDC hdcDest, _In_ INT xDst, _In_ INT yDst, _In_ DWORD cx, _In_ DWORD cy, _In_ INT xSrc, _In_ INT ySrc, _In_ DWORD iStartScan, _In_ DWORD cNumScan, _In_reads_bytes_(cjMaxBits) LPBYTE pInitBits, _In_reads_bytes_(cjMaxInfo) LPBITMAPINFO pbmi, _In_ DWORD iUsage, _In_ UINT cjMaxBits, _In_ UINT cjMaxInfo, _In_ BOOL bTransformCoordinates, _In_opt_ HANDLE hcmXform)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiGetFontResourceInfoInternalW (_In_reads_z_(cwc) LPWSTR pwszFiles, _In_ ULONG cwc, _In_ ULONG cFiles, _In_ UINT cjBuf, _Out_ LPDWORD pdwBytes, _Out_writes_bytes_(cjBuf) LPVOID pvBuf, _In_ DWORD iType)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiGetGlyphIndicesW (_In_ HDC hdc, _In_reads_opt_(cwc) LPCWSTR pwc, _In_ INT cwc, _Out_writes_opt_(cwc) LPWORD pgi, _In_ DWORD iMode)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiGetGlyphIndicesWInternal (_In_ HDC hdc, _In_reads_opt_(cwc) LPWSTR pwc, _In_ INT cwc, _Out_writes_opt_(cwc) LPWORD pgi, _In_ DWORD iMode, _In_ BOOL bSubset)
 
__kernel_entry W32KAPI
HPALETTE APIENTRY 
NtGdiCreatePaletteInternal (_In_reads_bytes_(cEntries *4+4) LPLOGPALETTE pLogPal, _In_ UINT cEntries)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiArcInternal (_In_ ARCTYPE arctype, _In_ HDC hdc, _In_ INT x1, _In_ INT y1, _In_ INT x2, _In_ INT y2, _In_ INT x3, _In_ INT y3, _In_ INT x4, _In_ INT y4)
 
__kernel_entry W32KAPI INT APIENTRY NtGdiStretchDIBitsInternal (_In_ HDC hdc, _In_ INT xDst, _In_ INT yDst, _In_ INT cxDst, _In_ INT cyDst, _In_ INT xSrc, _In_ INT ySrc, _In_ INT cxSrc, _In_ INT cySrc, _In_reads_bytes_opt_(cjMaxBits) LPBYTE pjInit, _In_ LPBITMAPINFO pbmi, _In_ DWORD dwUsage, _In_ DWORD dwRop4, _In_ UINT cjMaxInfo, _In_ UINT cjMaxBits, _In_opt_ HANDLE hcmXform)
 
__kernel_entry W32KAPI ULONG
APIENTRY 
NtGdiGetOutlineTextMetricsInternalW (_In_ HDC hdc, _In_ ULONG cjotm, _Out_writes_bytes_opt_(cjotm) OUTLINETEXTMETRICW *potmw, _Out_ TMDIFF *ptmd)
 
 _Success_ (return!=FALSE) __kernel_entry W32KAPI BOOL APIENTRY NtGdiGetAndSetDCDword(_In_ HDC hdc
 
__kernel_entry W32KAPI HANDLE
APIENTRY 
NtGdiGetDCObject (_In_ HDC hdc, _In_ INT itype)
 
__kernel_entry W32KAPI HDC APIENTRY NtGdiGetDCforBitmap (_In_ HBITMAP hsurf)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiGetMonitorID (_In_ HDC hdc, _In_ DWORD cjSize, _Out_writes_bytes_(cjSize) LPWSTR pszMonitorID)
 
__kernel_entry W32KAPI INT APIENTRY NtGdiGetLinkedUFIs (_In_ HDC hdc, _Out_writes_opt_(cBufferSize) PUNIVERSAL_FONT_ID pufiLinkedUFIs, _In_ INT cBufferSize)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiSetLinkedUFIs (_In_ HDC hdc, _In_reads_(uNumUFIs) PUNIVERSAL_FONT_ID pufiLinks, _In_ ULONG uNumUFIs)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiGetUFI (_In_ HDC hdc, _Out_ PUNIVERSAL_FONT_ID pufi, _Out_opt_ DESIGNVECTOR *pdv, _Out_ ULONG *pcjDV, _Out_ ULONG *pulBaseCheckSum, _Out_ FLONG *pfl)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiForceUFIMapping (_In_ HDC hdc, _In_ PUNIVERSAL_FONT_ID pufi)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiGetUFIPathname (_In_ PUNIVERSAL_FONT_ID pufi, _Deref_out_range_(0, MAX_PATH *3) ULONG *pcwc, _Out_writes_to_opt_(MAX_PATH *3,*pcwc) LPWSTR pwszPathname, _Out_opt_ ULONG *pcNumFiles, _In_ FLONG fl, _Out_opt_ BOOL *pbMemFont, _Out_opt_ ULONG *pcjView, _Out_opt_ PVOID pvView, _Out_opt_ BOOL *pbTTC, _Out_opt_ ULONG *piTTC)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiAddRemoteFontToDC (_In_ HDC hdc, _In_reads_bytes_(cjBuffer) PVOID pvBuffer, _In_ ULONG cjBuffer, _In_opt_ PUNIVERSAL_FONT_ID pufi)
 
__kernel_entry W32KAPI HANDLE
APIENTRY 
NtGdiAddFontMemResourceEx (_In_reads_bytes_(cjBuffer) PVOID pvBuffer, _In_ DWORD cjBuffer, _In_reads_bytes_opt_(cjDV) DESIGNVECTOR *pdv, _In_ ULONG cjDV, _Out_ DWORD *pNumFonts)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiRemoveFontMemResourceEx (_In_ HANDLE hMMFont)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiUnmapMemFont (_In_ PVOID pvView)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiRemoveMergeFont (_In_ HDC hdc, _In_ UNIVERSAL_FONT_ID *pufi)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiAnyLinkedFonts (VOID)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiGetEmbUFI (_In_ HDC hdc, _Out_ PUNIVERSAL_FONT_ID pufi, _Out_opt_ DESIGNVECTOR *pdv, _Out_ ULONG *pcjDV, _Out_ ULONG *pulBaseCheckSum, _Out_ FLONG *pfl, _Out_ KERNEL_PVOID *embFontID)
 
__kernel_entry W32KAPI ULONG
APIENTRY 
NtGdiGetEmbedFonts (VOID)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiChangeGhostFont (_In_ KERNEL_PVOID *pfontID, _In_ BOOL bLoad)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiAddEmbFontToDC (_In_ HDC hdc, _In_ PVOID *pFontID)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiFontIsLinked (_In_ HDC hdc)
 
__kernel_entry W32KAPI
ULONG_PTR APIENTRY 
NtGdiPolyPolyDraw (_In_ HDC hdc, _In_ PPOINT ppt, _In_reads_(ccpt) PULONG pcpt, _In_ ULONG ccpt, _In_ INT iFunc)
 
__kernel_entry W32KAPI LONG
APIENTRY 
NtGdiDoPalette (_In_ HGDIOBJ hObj, _In_ WORD iStart, _In_ WORD cEntries, _When_(bInbound!=0, _In_reads_bytes_(cEntries *sizeof(PALETTEENTRY))) _When_(bInbound==0, _Out_writes_bytes_(cEntries *sizeof(PALETTEENTRY))) LPVOID pEntries, _In_ DWORD iFunc, _In_ BOOL bInbound)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiComputeXformCoefficients (_In_ HDC hdc)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiGetWidthTable (_In_ HDC hdc, _In_ ULONG cSpecial, _In_reads_(cwc) WCHAR *pwc, _In_ ULONG cwc, _Out_writes_(cwc) USHORT *psWidth, _Out_opt_ WIDTHDATA *pwd, _Out_ FLONG *pflInfo)
 
_In_ INT _In_ UINT _Out_writes_bytes_ (cjpfd) PPIXELFORMATDESCRIPTOR ppfd)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiSetPixelFormat (_In_ HDC hdc, _In_ INT ipfd)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiSwapBuffers (_In_ HDC hdc)
 
__kernel_entry W32KAPI INT APIENTRY NtGdiSetupPublicCFONT (_In_ HDC hdc, _In_opt_ HFONT hf, _In_ ULONG ulAve)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDxgGenericThunk (_In_ ULONG_PTR ulIndex, _In_ ULONG_PTR ulHandle, _Inout_ SIZE_T *pdwSizeOfPtr1, _Inout_ PVOID pvPtr1, _Inout_ SIZE_T *pdwSizeOfPtr2, _Inout_ PVOID pvPtr2)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdAddAttachedSurface (_In_ HANDLE hSurface, _In_ HANDLE hSurfaceAttached, _Inout_ PDD_ADDATTACHEDSURFACEDATA puAddAttachedSurfaceData)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiDdAttachSurface (_In_ HANDLE hSurfaceFrom, _In_ HANDLE hSurfaceTo)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdBlt (_In_ HANDLE hSurfaceDest, _In_ HANDLE hSurfaceSrc, _Inout_ PDD_BLTDATA puBltData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdCanCreateSurface (_In_ HANDLE hDirectDraw, _Inout_ PDD_CANCREATESURFACEDATA puCanCreateSurfaceData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdColorControl (_In_ HANDLE hSurface, _Inout_ PDD_COLORCONTROLDATA puColorControlData)
 
__kernel_entry W32KAPI HANDLE
APIENTRY 
NtGdiDdCreateDirectDrawObject (_In_ HDC hdc)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdCreateSurface (_In_ HANDLE hDirectDraw, _In_ HANDLE *hSurface, _Inout_ DDSURFACEDESC *puSurfaceDescription, _Inout_ DD_SURFACE_GLOBAL *puSurfaceGlobalData, _Inout_ DD_SURFACE_LOCAL *puSurfaceLocalData, _Inout_ DD_SURFACE_MORE *puSurfaceMoreData, _Inout_ DD_CREATESURFACEDATA *puCreateSurfaceData, _Out_ HANDLE *puhSurface)
 
__kernel_entry W32KAPI HANDLE
APIENTRY 
NtGdiDdCreateSurfaceObject (_In_ HANDLE hDirectDrawLocal, _In_ HANDLE hSurface, _In_ PDD_SURFACE_LOCAL puSurfaceLocal, _In_ PDD_SURFACE_MORE puSurfaceMore, _In_ PDD_SURFACE_GLOBAL puSurfaceGlobal, _In_ BOOL bComplete)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiDdDeleteSurfaceObject (_In_ HANDLE hSurface)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiDdDeleteDirectDrawObject (_In_ HANDLE hDirectDrawLocal)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdDestroySurface (_In_ HANDLE hSurface, _In_ BOOL bRealDestroy)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdFlip (_In_ HANDLE hSurfaceCurrent, _In_ HANDLE hSurfaceTarget, _In_ HANDLE hSurfaceCurrentLeft, _In_ HANDLE hSurfaceTargetLeft, _Inout_ PDD_FLIPDATA puFlipData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdGetAvailDriverMemory (_In_ HANDLE hDirectDraw, _Inout_ PDD_GETAVAILDRIVERMEMORYDATA puGetAvailDriverMemoryData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdGetBltStatus (_In_ HANDLE hSurface, _Inout_ PDD_GETBLTSTATUSDATA puGetBltStatusData)
 
__kernel_entry W32KAPI HDC APIENTRY NtGdiDdGetDC (_In_ HANDLE hSurface, _In_ PALETTEENTRY *puColorTable)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdGetDriverInfo (_In_ HANDLE hDirectDraw, _Inout_ PDD_GETDRIVERINFODATA puGetDriverInfoData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdGetFlipStatus (_In_ HANDLE hSurface, _Inout_ PDD_GETFLIPSTATUSDATA puGetFlipStatusData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdGetScanLine (_In_ HANDLE hDirectDraw, _Inout_ PDD_GETSCANLINEDATA puGetScanLineData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdSetExclusiveMode (_In_ HANDLE hDirectDraw, _Inout_ PDD_SETEXCLUSIVEMODEDATA puSetExclusiveModeData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdFlipToGDISurface (_In_ HANDLE hDirectDraw, _Inout_ PDD_FLIPTOGDISURFACEDATA puFlipToGDISurfaceData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdLock (_In_ HANDLE hSurface, _Inout_ PDD_LOCKDATA puLockData, _In_ HDC hdcClip)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiDdQueryDirectDrawObject (_In_ HANDLE hDirectDrawLocal, _Out_ PDD_HALINFO pHalInfo, _Out_writes_(3) DWORD *pCallBackFlags, _Out_opt_ LPD3DNTHAL_CALLBACKS puD3dCallbacks, _Out_opt_ LPD3DNTHAL_GLOBALDRIVERDATA puD3dDriverData, _Out_opt_ PDD_D3DBUFCALLBACKS puD3dBufferCallbacks, _Out_opt_ LPDDSURFACEDESC puD3dTextureFormats, _Out_ DWORD *puNumHeaps, _Out_opt_ VIDEOMEMORY *puvmList, _Out_ DWORD *puNumFourCC, _Out_opt_ DWORD *puFourCC)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiDdReenableDirectDrawObject (_In_ HANDLE hDirectDrawLocal, _Inout_ BOOL *pubNewMode)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiDdReleaseDC (_In_ HANDLE hSurface)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiDdResetVisrgn (_In_ HANDLE hSurface, _In_ HWND hwnd)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdSetColorKey (_In_ HANDLE hSurface, _Inout_ PDD_SETCOLORKEYDATA puSetColorKeyData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdSetOverlayPosition (_In_ HANDLE hSurfaceSource, _In_ HANDLE hSurfaceDestination, _Inout_ PDD_SETOVERLAYPOSITIONDATA puSetOverlayPositionData)
 
__kernel_entry W32KAPI
NTSTATUS APIENTRY 
NtGdiDdUnattachSurface (_In_ HANDLE hSurface, _In_ HANDLE hSurfaceAttached)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdUnlock (_In_ HANDLE hSurface, _Inout_ PDD_UNLOCKDATA puUnlockData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdUpdateOverlay (_In_ HANDLE hSurfaceDestination, _In_ HANDLE hSurfaceSource, _Inout_ PDD_UPDATEOVERLAYDATA puUpdateOverlayData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdWaitForVerticalBlank (_In_ HANDLE hDirectDraw, _Inout_ PDD_WAITFORVERTICALBLANKDATA puWaitForVerticalBlankData)
 
__kernel_entry W32KAPI HANDLE
APIENTRY 
NtGdiDdGetDxHandle (_In_opt_ HANDLE hDirectDraw, _In_opt_ HANDLE hSurface, _In_ BOOL bRelease)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiDdSetGammaRamp (_In_ HANDLE hDirectDraw, _In_ HDC hdc, _In_reads_bytes_(sizeof(GAMMARAMP)) LPVOID lpGammaRamp)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdLockD3D (_In_ HANDLE hSurface, _Inout_ PDD_LOCKDATA puLockData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdUnlockD3D (_In_ HANDLE hSurface, _Inout_ PDD_UNLOCKDATA puUnlockData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdCreateD3DBuffer (_In_ HANDLE hDirectDraw, _Inout_ HANDLE *hSurface, _Inout_ DDSURFACEDESC *puSurfaceDescription, _Inout_ DD_SURFACE_GLOBAL *puSurfaceGlobalData, _Inout_ DD_SURFACE_LOCAL *puSurfaceLocalData, _Inout_ DD_SURFACE_MORE *puSurfaceMoreData, _Inout_ DD_CREATESURFACEDATA *puCreateSurfaceData, _Inout_ HANDLE *puhSurface)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdCanCreateD3DBuffer (_In_ HANDLE hDirectDraw, _Inout_ PDD_CANCREATESURFACEDATA puCanCreateSurfaceData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdDestroyD3DBuffer (_In_ HANDLE hSurface)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiD3dContextCreate (_In_ HANDLE hDirectDrawLocal, _In_ HANDLE hSurfColor, _In_ HANDLE hSurfZ, _Inout_ D3DNTHAL_CONTEXTCREATEI *pdcci)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiD3dContextDestroy (_In_ LPD3DNTHAL_CONTEXTDESTROYDATA pdcdd)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiD3dContextDestroyAll (_Out_ LPD3DNTHAL_CONTEXTDESTROYALLDATA pdcdad)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiD3dValidateTextureStageState (_Inout_ LPD3DNTHAL_VALIDATETEXTURESTAGESTATEDATA pData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiD3dDrawPrimitives2 (_In_ HANDLE hCmdBuf, _In_ HANDLE hVBuf, _Inout_ LPD3DNTHAL_DRAWPRIMITIVES2DATA pded, _Inout_ FLATPTR *pfpVidMemCmd, _Inout_ DWORD *pdwSizeCmd, _Inout_ FLATPTR *pfpVidMemVtx, _Inout_ DWORD *pdwSizeVtx)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdGetDriverState (_Inout_ PDD_GETDRIVERSTATEDATA pdata)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdCreateSurfaceEx (_In_ HANDLE hDirectDraw, _In_ HANDLE hSurface, _In_ DWORD dwSurfaceHandle)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdDDICreateDCFromMemory (_Inout_ D3DKMT_CREATEDCFROMMEMORY *desc)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdDDIDestroyDCFromMemory (_In_ CONST D3DKMT_DESTROYDCFROMMEMORY *desc)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDvpCanCreateVideoPort (_In_ HANDLE hDirectDraw, _Inout_ PDD_CANCREATEVPORTDATA puCanCreateVPortData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDvpColorControl (_In_ HANDLE hVideoPort, _Inout_ PDD_VPORTCOLORDATA puVPortColorData)
 
__kernel_entry W32KAPI HANDLE
APIENTRY 
NtGdiDvpCreateVideoPort (_In_ HANDLE hDirectDraw, _Inout_ PDD_CREATEVPORTDATA puCreateVPortData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDvpDestroyVideoPort (_In_ HANDLE hVideoPort, _Inout_ PDD_DESTROYVPORTDATA puDestroyVPortData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDvpFlipVideoPort (_In_ HANDLE hVideoPort, _In_ HANDLE hDDSurfaceCurrent, _In_ HANDLE hDDSurfaceTarget, _Inout_ PDD_FLIPVPORTDATA puFlipVPortData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDvpGetVideoPortBandwidth (_In_ HANDLE hVideoPort, _Inout_ PDD_GETVPORTBANDWIDTHDATA puGetVPortBandwidthData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDvpGetVideoPortField (_In_ HANDLE hVideoPort, _Inout_ PDD_GETVPORTFIELDDATA puGetVPortFieldData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDvpGetVideoPortFlipStatus (_In_ HANDLE hDirectDraw, _Inout_ PDD_GETVPORTFLIPSTATUSDATA puGetVPortFlipStatusData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDvpGetVideoPortInputFormats (_In_ HANDLE hVideoPort, _Inout_ PDD_GETVPORTINPUTFORMATDATA puGetVPortInputFormatData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDvpGetVideoPortLine (_In_ HANDLE hVideoPort, _Inout_ PDD_GETVPORTLINEDATA puGetVPortLineData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDvpGetVideoPortOutputFormats (_In_ HANDLE hVideoPort, _Inout_ PDD_GETVPORTOUTPUTFORMATDATA puGetVPortOutputFormatData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDvpGetVideoPortConnectInfo (_In_ HANDLE hDirectDraw, _Inout_ PDD_GETVPORTCONNECTDATA puGetVPortConnectData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDvpGetVideoSignalStatus (_In_ HANDLE hVideoPort, _Inout_ PDD_GETVPORTSIGNALDATA puGetVPortSignalData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDvpUpdateVideoPort (_In_ HANDLE hVideoPort, _In_ HANDLE *phSurfaceVideo, _In_ HANDLE *phSurfaceVbi, _Inout_ PDD_UPDATEVPORTDATA puUpdateVPortData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDvpWaitForVideoPortSync (_In_ HANDLE hVideoPort, _Inout_ PDD_WAITFORVPORTSYNCDATA puWaitForVPortSyncData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDvpAcquireNotification (_In_ HANDLE hVideoPort, _Inout_ HANDLE *hEvent, _In_ LPDDVIDEOPORTNOTIFY pNotify)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDvpReleaseNotification (_In_ HANDLE hVideoPort, _In_ HANDLE hEvent)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdGetMoCompGuids (_In_ HANDLE hDirectDraw, _Inout_ PDD_GETMOCOMPGUIDSDATA puGetMoCompGuidsData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdGetMoCompFormats (_In_ HANDLE hDirectDraw, _Inout_ PDD_GETMOCOMPFORMATSDATA puGetMoCompFormatsData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdGetMoCompBuffInfo (_In_ HANDLE hDirectDraw, _Inout_ PDD_GETMOCOMPCOMPBUFFDATA puGetBuffData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdGetInternalMoCompInfo (_In_ HANDLE hDirectDraw, _Inout_ PDD_GETINTERNALMOCOMPDATA puGetInternalData)
 
__kernel_entry W32KAPI HANDLE
APIENTRY 
NtGdiDdCreateMoComp (_In_ HANDLE hDirectDraw, _Inout_ PDD_CREATEMOCOMPDATA puCreateMoCompData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdDestroyMoComp (_In_ HANDLE hMoComp, _Inout_ PDD_DESTROYMOCOMPDATA puDestroyMoCompData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdBeginMoCompFrame (_In_ HANDLE hMoComp, _Inout_ PDD_BEGINMOCOMPFRAMEDATA puBeginFrameData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdEndMoCompFrame (_In_ HANDLE hMoComp, _Inout_ PDD_ENDMOCOMPFRAMEDATA puEndFrameData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdRenderMoComp (_In_ HANDLE hMoComp, _Inout_ PDD_RENDERMOCOMPDATA puRenderMoCompData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdQueryMoCompStatus (_In_ HANDLE hMoComp, _Inout_ PDD_QUERYMOCOMPSTATUSDATA puQueryMoCompStatusData)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiDdAlphaBlt (_In_ HANDLE hSurfaceDest, _In_opt_ HANDLE hSurfaceSrc, _Inout_ PDD_BLTDATA puBltData)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiAlphaBlend (_In_ HDC hdcDst, _In_ LONG DstX, _In_ LONG DstY, _In_ LONG DstCx, _In_ LONG DstCy, _In_ HDC hdcSrc, _In_ LONG SrcX, _In_ LONG SrcY, _In_ LONG SrcCx, _In_ LONG SrcCy, _In_ BLENDFUNCTION BlendFunction, _In_ HANDLE hcmXform)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiGradientFill (_In_ HDC hdc, _In_ PTRIVERTEX pVertex, _In_ ULONG nVertex, _In_ PVOID pMesh, _In_ ULONG nMesh, _In_ ULONG ulMode)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiSetIcmMode (_In_ HDC hdc, _In_ ULONG nCommand, _In_ ULONG ulMode)
 
__kernel_entry W32KAPI HANDLE
APIENTRY 
NtGdiCreateColorSpace (_In_ PLOGCOLORSPACEEXW pLogColorSpace)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiDeleteColorSpace (_In_ HANDLE hColorSpace)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiSetColorSpace (_In_ HDC hdc, _In_ HCOLORSPACE hColorSpace)
 
__kernel_entry W32KAPI HANDLE
APIENTRY 
NtGdiCreateColorTransform (_In_ HDC hdc, _In_ LPLOGCOLORSPACEW pLogColorSpaceW, _In_reads_bytes_opt_(cjSrcProfile) PVOID pvSrcProfile, _In_ ULONG cjSrcProfile, _In_reads_bytes_opt_(cjDestProfile) PVOID pvDestProfile, _In_ ULONG cjDestProfile, _In_reads_bytes_opt_(cjTargetProfile) PVOID pvTargetProfile, _In_ ULONG cjTargetProfile)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiDeleteColorTransform (_In_ HDC hdc, _In_ HANDLE hColorTransform)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiCheckBitmapBits (_In_ HDC hdc, _In_ HANDLE hColorTransform, _In_reads_bytes_(dwStride *dwHeight) PVOID pvBits, _In_ ULONG bmFormat, _In_ DWORD dwWidth, _In_ DWORD dwHeight, _In_ DWORD dwStride, _Out_writes_bytes_(dwWidth *dwHeight) PBYTE paResults)
 
__kernel_entry W32KAPI ULONG
APIENTRY 
NtGdiColorCorrectPalette (_In_ HDC hdc, _In_ HPALETTE hpal, _In_ ULONG uFirstEntry, _In_ ULONG cPalEntries, _Inout_updates_(cPalEntries) PALETTEENTRY *ppalEntry, _In_ ULONG uCommand)
 
__kernel_entry W32KAPI
ULONG_PTR APIENTRY 
NtGdiGetColorSpaceforBitmap (_In_ HBITMAP hsurf)
 
 _Out_writes_bytes_ (sizeof(GAMMARAMP)) LPVOID lpGammaRamp)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiSetDeviceGammaRamp (_In_ HDC hdc, _In_reads_bytes_(sizeof(GAMMARAMP)) LPVOID lpGammaRamp)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiIcmBrushInfo (_In_ HDC hdc, _In_ HBRUSH hbrush, _Inout_updates_bytes_(sizeof(BITMAPINFO)+((256-1)*sizeof(RGBQUAD))) PBITMAPINFO pbmiDIB, _Inout_updates_bytes_(*pulBits) PVOID pvBits, _Inout_ ULONG *pulBits, _Out_opt_ DWORD *piUsage, _Out_opt_ BOOL *pbAlreadyTran, _In_ ULONG Command)
 
__kernel_entry W32KAPI
NTSTATUS APIENTRY 
NtGdiFlush (VOID)
 
__kernel_entry W32KAPI HDC APIENTRY NtGdiCreateMetafileDC (_In_ HDC hdc)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiMakeInfoDC (_In_ HDC hdc, _In_ BOOL bSet)
 
__kernel_entry W32KAPI HANDLE
APIENTRY 
NtGdiCreateClientObj (_In_ ULONG ulType)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiDeleteClientObj (_In_ HANDLE h)
 
__kernel_entry W32KAPI LONG
APIENTRY 
NtGdiGetBitmapBits (_In_ HBITMAP hbm, _In_ ULONG cjMax, _Out_writes_bytes_opt_(cjMax) PBYTE pjOut)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiDeleteObjectApp (_In_ HANDLE hobj)
 
__kernel_entry W32KAPI INT APIENTRY NtGdiGetPath (_In_ HDC hdc, _Out_writes_opt_(cptBuf) LPPOINT pptlBuf, _Out_writes_opt_(cptBuf) LPBYTE pjTypes, _In_ INT cptBuf)
 
__kernel_entry W32KAPI HDC APIENTRY NtGdiCreateCompatibleDC (_In_opt_ HDC hdc)
 
__kernel_entry W32KAPI HBITMAP
APIENTRY 
NtGdiCreateDIBitmapInternal (_In_ HDC hdc, _In_ INT cx, _In_ INT cy, _In_ DWORD fInit, _In_reads_bytes_opt_(cjMaxBits) LPBYTE pjInit, _In_reads_bytes_opt_(cjMaxInitInfo) LPBITMAPINFO pbmi, _In_ DWORD iUsage, _In_ UINT cjMaxInitInfo, _In_ UINT cjMaxBits, _In_ FLONG f, _In_ HANDLE hcmXform)
 
__kernel_entry W32KAPI HBITMAP
APIENTRY 
NtGdiCreateDIBSection (_In_ HDC hdc, _In_opt_ HANDLE hSectionApp, _In_ DWORD dwOffset, _In_reads_bytes_opt_(cjHeader) LPBITMAPINFO pbmi, _In_ DWORD iUsage, _In_ UINT cjHeader, _In_ FLONG fl, _In_ ULONG_PTR dwColorSpace, _Outptr_ PVOID *ppvBits)
 
__kernel_entry W32KAPI HBRUSH
APIENTRY 
NtGdiCreateSolidBrush (_In_ COLORREF cr, _In_opt_ HBRUSH hbr)
 
__kernel_entry W32KAPI HBRUSH
APIENTRY 
NtGdiCreateDIBBrush (_In_reads_bytes_(cj) PVOID pv, _In_ FLONG fl, _In_ UINT cj, _In_ BOOL b8X8, _In_ BOOL bPen, _In_ PVOID pClient)
 
__kernel_entry W32KAPI HBRUSH
APIENTRY 
NtGdiCreatePatternBrushInternal (_In_ HBITMAP hbm, _In_ BOOL bPen, _In_ BOOL b8X8)
 
__kernel_entry W32KAPI HBRUSH
APIENTRY 
NtGdiCreateHatchBrushInternal (_In_ ULONG ulStyle, _In_ COLORREF clrr, _In_ BOOL bPen)
 
__kernel_entry W32KAPI HPEN
APIENTRY 
NtGdiExtCreatePen (_In_ ULONG flPenStyle, _In_ ULONG ulWidth, _In_ ULONG iBrushStyle, _In_ ULONG ulColor, _In_ ULONG_PTR lClientHatch, _In_ ULONG_PTR lHatch, _In_ ULONG cstyle, _In_reads_opt_(cstyle) PULONG pulStyle, _In_ ULONG cjDIB, _In_ BOOL bOldStylePen, _In_opt_ HBRUSH hbrush)
 
__kernel_entry W32KAPI HRGN
APIENTRY 
NtGdiCreateEllipticRgn (_In_ INT xLeft, _In_ INT yTop, _In_ INT xRight, _In_ INT yBottom)
 
__kernel_entry W32KAPI HRGN
APIENTRY 
NtGdiCreateRoundRectRgn (_In_ INT xLeft, _In_ INT yTop, _In_ INT xRight, _In_ INT yBottom, _In_ INT xWidth, _In_ INT yHeight)
 
__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)
 
__kernel_entry W32KAPI HRGN
APIENTRY 
NtGdiExtCreateRegion (_In_opt_ LPXFORM px, _In_ DWORD cj, _In_reads_bytes_(cj) LPRGNDATA prgndata)
 
__kernel_entry W32KAPI ULONG
APIENTRY 
NtGdiMakeFontDir (_In_ FLONG flEmbed, _Out_writes_bytes_(cjFontDir) PBYTE pjFontDir, _In_ UINT cjFontDir, _In_reads_bytes_(cjPathname) LPWSTR pwszPathname, _In_ UINT cjPathname)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiPolyDraw (_In_ HDC hdc, _In_reads_(cpt) LPPOINT ppt, _In_reads_(cpt) LPBYTE pjAttr, _In_ ULONG cpt)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiPolyTextOutW (_In_ HDC hdc, _In_reads_(cStr) POLYTEXTW *pptw, _In_ UINT cStr, _In_ DWORD dwCodePage)
 
__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)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiEqualRgn (_In_ HRGN hrgn1, _In_ HRGN hrgn2)
 
__kernel_entry W32KAPI UINT
APIENTRY 
NtGdiGetNearestPaletteIndex (_In_ HPALETTE hpal, _In_ COLORREF crColor)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiPtVisible (_In_ HDC hdc, _In_ INT x, _In_ INT y)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiRectVisible (_In_ HDC hdc, _In_ LPRECT prc)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiRemoveFontResourceW (_In_reads_(cwc) WCHAR *pwszFiles, _In_ ULONG cwc, _In_ ULONG cFiles, _In_ ULONG fl, _In_ DWORD dwPidTid, _In_opt_ DESIGNVECTOR *pdv)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiResizePalette (_In_ HPALETTE hpal, _In_ UINT cEntry)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiSetBitmapDimension (_In_ HBITMAP hbm, _In_ INT cx, _In_ INT cy, _In_opt_ LPSIZE psizeOut)
 
__kernel_entry W32KAPI INT APIENTRY NtGdiOffsetClipRgn (_In_ HDC hdc, _In_ INT x, _In_ INT y)
 
__kernel_entry W32KAPI INT APIENTRY NtGdiSetMetaRgn (_In_ HDC hdc)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiSetTextJustification (_In_ HDC hdc, _In_ INT lBreakExtra, _In_ INT cBreak)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiGetTextExtentExW (_In_ HDC hdc, _In_reads_opt_(cwc) LPWSTR pwsz, _In_ ULONG cwc, _In_ ULONG dxMax, _Out_opt_ ULONG *pcCh, _Out_writes_to_opt_(cwc,*pcCh) PULONG pdxOut, _Out_ LPSIZE psize, _In_ FLONG fl)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiGetCharABCWidthsW (_In_ HDC hdc, _In_ UINT wchFirst, _In_ ULONG cwch, _In_reads_opt_(cwch) PWCHAR pwch, _In_ FLONG fl, _Out_writes_bytes_(cwch *sizeof(ABC)) PVOID pvBuf)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiGetCharacterPlacementW (_In_ HDC hdc, _In_reads_z_(nCount) LPWSTR pwsz, _In_ INT nCount, _In_ INT nMaxExtent, _Inout_ LPGCP_RESULTSW pgcpw, _In_ DWORD dwFlags)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiAngleArc (_In_ HDC hdc, _In_ INT x, _In_ INT y, _In_ DWORD dwRadius, _In_ DWORD dwStartAngle, _In_ DWORD dwSweepAngle)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiBeginPath (_In_ HDC hdc)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiSelectClipPath (_In_ HDC hdc, _In_ INT iMode)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiCloseFigure (_In_ HDC hdc)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiEndPath (_In_ HDC hdc)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiAbortPath (_In_ HDC hdc)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiFillPath (_In_ HDC hdc)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiStrokeAndFillPath (_In_ HDC hdc)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiStrokePath (_In_ HDC hdc)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiWidenPath (_In_ HDC hdc)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiFlattenPath (_In_ HDC hdc)
 
__kernel_entry W32KAPI HRGN
APIENTRY 
NtGdiPathToRegion (_In_ HDC hdc)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiSetMiterLimit (_In_ HDC hdc, _In_ DWORD dwNew, _Inout_opt_ PDWORD pdwOut)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiSetFontXform (_In_ HDC hdc, _In_ DWORD dwxScale, _In_ DWORD dwyScale)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiEllipse (_In_ HDC hdc, _In_ INT xLeft, _In_ INT yTop, _In_ INT xRight, _In_ INT yBottom)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiRectangle (_In_ HDC hdc, _In_ INT xLeft, _In_ INT yTop, _In_ INT xRight, _In_ INT yBottom)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiRoundRect (_In_ HDC hdc, _In_ INT x1, _In_ INT y1, _In_ INT x2, _In_ INT y2, _In_ INT x3, _In_ INT y3)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiPlgBlt (_In_ HDC hdcTrg, _In_reads_(3) LPPOINT pptlTrg, _In_ HDC hdcSrc, _In_ INT xSrc, _In_ INT ySrc, _In_ INT cxSrc, _In_ INT cySrc, _In_opt_ HBITMAP hbmMask, _In_ INT xMask, _In_ INT yMask, _In_ DWORD crBackColor)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiMaskBlt (_In_ HDC hdc, _In_ INT xDst, _In_ INT yDst, _In_ INT cx, _In_ INT cy, _In_ HDC hdcSrc, _In_ INT xSrc, _In_ INT ySrc, _In_opt_ HBITMAP hbmMask, _In_ INT xMask, _In_ INT yMask, _In_ DWORD dwRop4, _In_ DWORD crBackColor)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiExtFloodFill (_In_ HDC hdc, _In_ INT x, _In_ INT y, _In_ COLORREF crColor, _In_ UINT iFillType)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiFillRgn (_In_ HDC hdc, _In_ HRGN hrgn, _In_ HBRUSH hbrush)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiFrameRgn (_In_ HDC hdc, _In_ HRGN hrgn, _In_ HBRUSH hbrush, _In_ INT xWidth, _In_ INT yHeight)
 
__kernel_entry W32KAPI
COLORREF APIENTRY 
NtGdiSetPixel (_In_ HDC hdcDst, _In_ INT x, _In_ INT y, _In_ COLORREF crColor)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiGetPixel (_In_ HDC hdc, _In_ INT x, _In_ INT y)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiStartPage (_In_ HDC hdc)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiEndPage (_In_ HDC hdc)
 
__kernel_entry W32KAPI INT APIENTRY NtGdiStartDoc (_In_ HDC hdc, _In_ DOCINFOW *pdi, _Out_ BOOL *pbBanding, _In_ INT iJob)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiEndDoc (_In_ HDC hdc)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiAbortDoc (_In_ HDC hdc)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiUpdateColors (_In_ HDC hdc)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiGetCharWidthW (_In_ HDC hdc, _In_ UINT wcFirst, _In_ UINT cwc, _In_reads_opt_(cwc) PWCHAR pwc, _In_ FLONG fl, _Out_writes_bytes_(cwc *sizeof(ULONG)) PVOID pvBuf)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiGetCharWidthInfo (_In_ HDC hdc, _Out_ PCHWIDTHINFO pChWidthInfo)
 
__kernel_entry W32KAPI INT APIENTRY NtGdiDrawEscape (_In_ HDC hdc, _In_ INT iEsc, _In_ INT cjIn, _In_reads_bytes_opt_(cjIn) LPSTR pjIn)
 
__kernel_entry W32KAPI INT APIENTRY NtGdiExtEscape (_In_opt_ HDC hdc, _In_reads_opt_(cwcDriver) PWCHAR pDriver, _In_ INT cwcDriver, _In_ INT iEsc, _In_ INT cjIn, _In_reads_bytes_opt_(cjIn) LPSTR pjIn, _In_ INT cjOut, _Out_writes_bytes_opt_(cjOut) LPSTR pjOut)
 
_In_ DWORD _In_ DWORD _Out_writes_bytes_to_opt_ (cjBuf, return) PVOID pvBuf
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiGetFontFileData (_In_ UINT uFileCollectionID, _In_ UINT uFileIndex, _In_ PULONGLONG pullFileOffset, _Out_writes_bytes_(cjBuf) PVOID pvBuf, _In_ SIZE_T cjBuf)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiGetFontFileInfo (_In_ UINT uFileCollectionID, _In_ UINT uFileIndex, _Out_writes_bytes_(cjSize) PFONT_FILE_INFO pffi, _In_ SIZE_T cjSize, _Out_opt_ PSIZE_T pcjActualSize)
 
__kernel_entry W32KAPI ULONG
APIENTRY 
NtGdiGetGlyphOutline (_In_ HDC hdc, _In_ WCHAR wch, _In_ UINT iFormat, _Out_ LPGLYPHMETRICS pgm, _In_ ULONG cjBuf, _Out_writes_bytes_opt_(cjBuf) PVOID pvBuf, _In_ LPMAT2 pmat2, _In_ BOOL bIgnoreRotation)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiGetETM (_In_ HDC hdc, _Out_opt_ EXTTEXTMETRIC *petm)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiGetRasterizerCaps (_Out_writes_bytes_(cjBytes) LPRASTERIZER_STATUS praststat, _In_ ULONG cjBytes)
 
__kernel_entry W32KAPI ULONG
APIENTRY 
NtGdiGetKerningPairs (_In_ HDC hdc, _In_ ULONG cPairs, _Out_writes_to_opt_(cPairs, return) KERNINGPAIR *pkpDst)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiMonoBitmap (_In_ HBITMAP hbm)
 
__kernel_entry W32KAPI HBITMAP
APIENTRY 
NtGdiGetObjectBitmapHandle (_In_ HBRUSH hbr, _Out_ UINT *piUsage)
 
__kernel_entry W32KAPI ULONG
APIENTRY 
NtGdiEnumObjects (_In_ HDC hdc, _In_ INT iObjectType, _In_ ULONG cjBuf, _Out_writes_bytes_opt_(cjBuf) PVOID pvBuf)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiResetDC (_In_ HDC hdc, _In_ LPDEVMODEW pdm, _Out_ PBOOL pbBanding, _In_opt_ DRIVER_INFO_2W *pDriverInfo2, _At_((PUMDHPDEV *) ppUMdhpdev, _Out_) PVOID ppUMdhpdev)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiSetBoundsRect (_In_ HDC hdc, _In_ LPRECT prc, _In_ DWORD f)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiGetColorAdjustment (_In_ HDC hdc, _Out_ PCOLORADJUSTMENT pcaOut)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiSetColorAdjustment (_In_ HDC hdc, _In_ PCOLORADJUSTMENT pca)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiCancelDC (_In_ HDC hdc)
 
__kernel_entry W32KAPI HDC APIENTRY NtGdiOpenDCW (_In_opt_ PUNICODE_STRING pustrDevice, _In_ DEVMODEW *pdm, _In_ PUNICODE_STRING pustrLogAddr, _In_ ULONG iType, _In_ BOOL bDisplay, _In_opt_ HANDLE hspool, _At_((PUMDHPDEV *) pUMdhpdev, _Out_) PVOID pUMdhpdev)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiGetDCDword (_In_ HDC hdc, _In_ UINT u, _Out_ DWORD *Result)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiScaleViewportExtEx (_In_ HDC hdc, _In_ INT xNum, _In_ INT xDenom, _In_ INT yNum, _In_ INT yDenom, _Out_opt_ LPSIZE pszOut)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiScaleWindowExtEx (_In_ HDC hdc, _In_ INT xNum, _In_ INT xDenom, _In_ INT yNum, _In_ INT yDenom, _Out_opt_ LPSIZE pszOut)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiSetVirtualResolution (_In_ HDC hdc, _In_ INT cxVirtualDevicePixel, _In_ INT cyVirtualDevicePixel, _In_ INT cxVirtualDeviceMm, _In_ INT cyVirtualDeviceMm)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiSetSizeDevice (_In_ HDC hdc, _In_ INT cxVirtualDevice, _In_ INT cyVirtualDevice)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiModifyWorldTransform (_In_ HDC hdc, _In_opt_ LPXFORM pxf, _In_ DWORD iXform)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiCombineTransform (_Out_ LPXFORM pxfDst, _In_ LPXFORM pxfSrc1, _In_ LPXFORM pxfSrc2)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiTransformPoints (_In_ HDC hdc, _In_reads_(c) PPOINT pptIn, _Out_writes_(c) PPOINT pptOut, _In_ INT c, _In_ INT iMode)
 
__kernel_entry W32KAPI LONG
APIENTRY 
NtGdiConvertMetafileRect (_In_ HDC hdc, _Inout_ PRECTL prect)
 
__kernel_entry W32KAPI INT APIENTRY NtGdiGetTextCharsetInfo (_In_ HDC hdc, _Out_opt_ LPFONTSIGNATURE lpSig, _In_ DWORD dwFlags)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiDoBanding (_In_ HDC hdc, _In_ BOOL bStart, _Out_ POINTL *pptl, _Out_ PSIZE pSize)
 
__kernel_entry W32KAPI ULONG
APIENTRY 
NtGdiGetPerBandInfo (_In_ HDC hdc, _Inout_ PERBANDINFO *ppbi)
 
__kernel_entry W32KAPI
NTSTATUS APIENTRY 
NtGdiGetStats (_In_ HANDLE hProcess, _In_ INT iIndex, _In_ INT iPidType, _Out_writes_bytes_(cjResultSize) PVOID pResults, _In_ UINT cjResultSize)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiSetMagicColors (_In_ HDC hdc, _In_ PALETTEENTRY peMagic, _In_ ULONG Index)
 
__kernel_entry W32KAPI HBRUSH
APIENTRY 
NtGdiSelectBrush (_In_ HDC hdc, _In_ HBRUSH hbrush)
 
__kernel_entry W32KAPI HPEN
APIENTRY 
NtGdiSelectPen (_In_ HDC hdc, _In_ HPEN hpen)
 
__kernel_entry W32KAPI HBITMAP
APIENTRY 
NtGdiSelectBitmap (_In_ HDC hdc, _In_ HBITMAP hbm)
 
__kernel_entry W32KAPI HFONT
APIENTRY 
NtGdiSelectFont (_In_ HDC hdc, _In_ HFONT hf)
 
__kernel_entry W32KAPI INT APIENTRY NtGdiExtSelectClipRgn (_In_ HDC hdc, _In_opt_ HRGN hrgn, _In_ INT iMode)
 
__kernel_entry W32KAPI HPEN
APIENTRY 
NtGdiCreatePen (_In_ INT iPenStyle, _In_ INT iPenWidth, _In_ COLORREF cr, _In_opt_ HBRUSH hbr)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiBitBlt (_In_ HDC hdcDst, _In_ INT x, _In_ INT y, _In_ INT cx, _In_ INT cy, _In_opt_ HDC hdcSrc, _In_ INT xSrc, _In_ INT ySrc, _In_ DWORD rop4, _In_ DWORD crBackColor, _In_ FLONG fl)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiTileBitBlt (_In_ HDC hdcDst, _In_ RECTL *prectDst, _In_ HDC hdcSrc, _In_ RECTL *prectSrc, _In_ POINTL *pptlOrigin, _In_ DWORD rop4, _In_ DWORD crBackColor)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiTransparentBlt (_In_ HDC hdcDst, _In_ INT xDst, _In_ INT yDst, _In_ INT cxDst, _In_ INT cyDst, _In_ HDC hdcSrc, _In_ INT xSrc, _In_ INT ySrc, _In_ INT cxSrc, _In_ INT cySrc, _In_ COLORREF TransColor)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiGetTextExtent (_In_ HDC hdc, _In_reads_(cwc) LPWSTR lpwsz, _In_ INT cwc, _Out_ LPSIZE psize, _In_ UINT flOpts)
 
 _Out_writes_bytes_ (cj) TMW_INTERNAL *ptm
 
__kernel_entry W32KAPI INT APIENTRY NtGdiGetTextFaceW (_In_ HDC hdc, _In_ INT cChar, _Out_writes_to_opt_(cChar, return) LPWSTR pszOut, _In_ BOOL bAliasName)
 
__kernel_entry W32KAPI INT APIENTRY NtGdiGetRandomRgn (_In_ HDC hdc, _In_ HRGN hrgn, _In_ INT iRgn)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiExtTextOutW (_In_ HDC hdc, _In_ INT x, _In_ INT y, _In_ UINT flOpts, _In_opt_ LPRECT prcl, _In_reads_opt_(cwc) LPWSTR pwsz, _In_range_(0, 0xffff) INT cwc, _In_reads_opt_(_Inexpressible_(cwc)) LPINT pdx, _In_ DWORD dwCodePage)
 
__kernel_entry W32KAPI INT APIENTRY NtGdiIntersectClipRect (_In_ HDC hdc, _In_ INT xLeft, _In_ INT yTop, _In_ INT xRight, _In_ INT yBottom)
 
__kernel_entry W32KAPI HRGN
APIENTRY 
NtGdiCreateRectRgn (_In_ INT xLeft, _In_ INT yTop, _In_ INT xRight, _In_ INT yBottom)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiPatBlt (_In_ HDC hdcDest, _In_ INT x, _In_ INT y, _In_ INT cx, _In_ INT cy, _In_ DWORD dwRop)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiPolyPatBlt (_In_ HDC hdc, _In_ DWORD rop4, _In_reads_(cPoly) PPOLYPATBLT pPoly, _In_ DWORD cPoly, _In_ DWORD dwMode)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiUnrealizeObject (_In_ HANDLE h)
 
__kernel_entry W32KAPI HANDLE
APIENTRY 
NtGdiGetStockObject (_In_ INT iObject)
 
__kernel_entry W32KAPI HBITMAP
APIENTRY 
NtGdiCreateCompatibleBitmap (_In_ HDC hdc, _In_ INT cx, _In_ INT cy)
 
__kernel_entry W32KAPI HBITMAP
APIENTRY 
NtGdiCreateBitmapFromDxSurface (_In_ HDC hdc, _In_ UINT uiWidth, _In_ UINT uiHeight, _In_ DWORD Format, _In_opt_ HANDLE hDxSharedSurface)
 
__kernel_entry W32KAPI HBITMAP
APIENTRY 
NtGdiCreateBitmapFromDxSurface2 (_In_ HDC hdc, _In_ UINT uiWidth, _In_ UINT uiHeight, _In_ DWORD Format, _In_ DWORD SubresourceIndex, _In_ BOOL bSharedSurfaceNtHandle, _In_opt_ HANDLE hDxSharedSurface)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiBeginGdiRendering (_In_ HBITMAP hbm, _In_ BOOL bDiscard, _In_ PVOID KernelModeDeviceHandle)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiEndGdiRendering (_In_ HBITMAP hbm, _In_ BOOL bDiscard, _Out_ BOOL *pbDeviceRemoved, _In_ PVOID KernelModeDeviceHandle)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiLineTo (_In_ HDC hdc, _In_ INT x, _In_ INT y)
 
_In_ INT _Out_writes_bytes_opt_ (cj) LPVOID pvOut)
 
__kernel_entry W32KAPI INT APIENTRY NtGdiGetDeviceCaps (_In_ HDC hdc, _In_ INT i)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiStretchBlt (_In_ HDC hdcDst, _In_ INT xDst, _In_ INT yDst, _In_ INT cxDst, _In_ INT cyDst, _In_opt_ HDC hdcSrc, _In_ INT xSrc, _In_ INT ySrc, _In_ INT cxSrc, _In_ INT cySrc, _In_ DWORD dwRop, _In_ DWORD dwBackColor)
 
__kernel_entry W32KAPI HBITMAP
APIENTRY 
NtGdiCreateBitmap (_In_ INT cx, _In_ INT cy, _In_ UINT cPlanes, _In_ UINT cBPP, _In_opt_ LPBYTE pjInit)
 
__kernel_entry W32KAPI
HPALETTE APIENTRY 
NtGdiCreateHalftonePalette (_In_ HDC hdc)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiRestoreDC (_In_ HDC hdc, _In_ INT iLevel)
 
__kernel_entry W32KAPI INT APIENTRY NtGdiExcludeClipRect (_In_ HDC hdc, _In_ INT xLeft, _In_ INT yTop, _In_ INT xRight, _In_ INT yBottom)
 
__kernel_entry W32KAPI INT APIENTRY NtGdiSaveDC (_In_ HDC hdc)
 
__kernel_entry W32KAPI INT APIENTRY NtGdiCombineRgn (_In_ HRGN hrgnDst, _In_ HRGN hrgnSrc1, _In_opt_ HRGN hrgnSrc2, _In_ INT iMode)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiSetRectRgn (_In_ HRGN hrgn, _In_ INT xLeft, _In_ INT yTop, _In_ INT xRight, _In_ INT yBottom)
 
__kernel_entry W32KAPI LONG
APIENTRY 
NtGdiSetBitmapBits (_In_ HBITMAP hbm, _In_ ULONG cj, _In_reads_bytes_(cj) PBYTE pjInit)
 
_In_ HBITMAP _In_ UINT _In_ UINT _Out_writes_bytes_opt_ (cjMaxBits) LPBYTE pjBits
 
__kernel_entry W32KAPI INT APIENTRY NtGdiOffsetRgn (_In_ HRGN hrgn, _In_ INT cx, _In_ INT cy)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiRectInRegion (_In_ HRGN hrgn, _Inout_ LPRECT prcl)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiPtInRegion (_In_ HRGN hrgn, _In_ INT x, _In_ INT y)
 
__kernel_entry W32KAPI
COLORREF APIENTRY 
NtGdiGetNearestColor (_In_ HDC hdc, _In_ COLORREF cr)
 
__kernel_entry W32KAPI UINT
APIENTRY 
NtGdiGetSystemPaletteUse (_In_ HDC hdc)
 
__kernel_entry W32KAPI UINT
APIENTRY 
NtGdiSetSystemPaletteUse (_In_ HDC hdc, _In_ UINT ui)
 
_In_ ULONG _Out_writes_bytes_to_opt_ (cjBuffer, return) LPRGNDATA lpRgnData)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiInvertRgn (_In_ HDC hdc, _In_ HRGN hrgn)
 
__kernel_entry INT W32KAPI APIENTRY NtGdiAddFontResourceW (_In_reads_(cwc) WCHAR *pwszFiles, _In_ ULONG cwc, _In_ ULONG cFiles, _In_ FLONG f, _In_ DWORD dwPidTid, _In_opt_ DESIGNVECTOR *pdv)
 
__kernel_entry W32KAPI HFONT
APIENTRY 
NtGdiHfontCreate (_In_reads_bytes_(cjElfw) ENUMLOGFONTEXDVW *pelfw, _In_ ULONG cjElfw, _In_ LFTYPE lft, _In_ FLONG fl, _In_ PVOID pvCliData)
 
__kernel_entry W32KAPI ULONG
APIENTRY 
NtGdiSetFontEnumeration (_In_ ULONG ulType)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiEnumFonts (_In_ HDC hdc, _In_ ULONG iEnumType, _In_ FLONG flWin31Compat, _In_ ULONG cchFaceName, _In_reads_opt_(cchFaceName) LPCWSTR pwszFaceName, _In_ ULONG lfCharSet, _Inout_ ULONG *pulCount, _Out_writes_bytes_opt_(*pulCount) PVOID pvUserModeBuffer)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiEnumFontClose (_In_ ULONG_PTR idEnum)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiEnumFontChunk (_In_ HDC hdc, _In_ ULONG_PTR idEnum, _In_ ULONG cjEfdw, _Out_ ULONG *pcjEfdw, _Out_ PENUMFONTDATAW pefdw)
 
__kernel_entry W32KAPI
ULONG_PTR APIENTRY 
NtGdiEnumFontOpen (_In_ HDC hdc, _In_ ULONG iEnumType, _In_ FLONG flWin31Compat, _In_ ULONG cwchMax, _In_opt_ LPWSTR pwszFaceName, _In_ ULONG lfCharSet, _Out_ ULONG *pulCount)
 
__kernel_entry W32KAPI INT APIENTRY NtGdiQueryFonts (_Out_writes_(nBufferSize) PUNIVERSAL_FONT_ID pufiFontList, _In_ ULONG nBufferSize, _Out_ PLARGE_INTEGER pTimeStamp)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiConsoleTextOut (_In_ HDC hdc, _In_ POLYTEXTW *lpto, _In_ UINT nStrings, _In_ RECTL *prclBounds)
 
__kernel_entry W32KAPI
NTSTATUS APIENTRY 
NtGdiFullscreenControl (_In_ FULLSCREENCONTROL FullscreenCommand, _In_ PVOID FullscreenInput, _In_ DWORD FullscreenInputLength, _Out_ PVOID FullscreenOutput, _Inout_ PULONG FullscreenOutputLength)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiGetCharSet (_In_ HDC hdc)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiEnableEudc (_In_ BOOL b)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiEudcLoadUnloadLink (_In_reads_opt_(cwcBaseFaceName) LPCWSTR pBaseFaceName, _In_ UINT cwcBaseFaceName, _In_reads_(cwcEudcFontPath) LPCWSTR pEudcFontPath, _In_ UINT cwcEudcFontPath, _In_ INT iPriority, _In_ INT iFontLinkType, _In_ BOOL bLoadLin)
 
__kernel_entry W32KAPI UINT
APIENTRY 
NtGdiGetStringBitmapW (_In_ HDC hdc, _In_ LPWSTR pwsz, _In_ UINT cwc, _Out_writes_bytes_(cj) BYTE *lpSB, _In_ UINT cj)
 
__kernel_entry W32KAPI ULONG
APIENTRY 
NtGdiGetEudcTimeStampEx (_In_reads_opt_(cwcBaseFaceName) LPWSTR lpBaseFaceName, _In_ ULONG cwcBaseFaceName, _In_ BOOL bSystemTimeStamp)
 
__kernel_entry W32KAPI ULONG
APIENTRY 
NtGdiQueryFontAssocInfo (_In_ HDC hdc)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiGetFontUnicodeRanges (_In_ HDC hdc, _Out_ _Post_bytecount_(return) LPGLYPHSET pgs)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiAddRemoteMMInstanceToDC (_In_ HDC hdc, _In_reads_bytes_(cjDDV) DOWNLOADDESIGNVECTOR *pddv, _In_ ULONG cjDDV)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiUnloadPrinterDriver (_In_reads_bytes_(cbDriverName) LPWSTR pDriverName, _In_ ULONG cbDriverName)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiInitSpool (VOID)
 
__kernel_entry W32KAPI INT APIENTRY NtGdiGetSpoolMessage (DWORD u1, DWORD u2, DWORD u3, DWORD u4)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiEngAssociateSurface (_In_ HSURF hsurf, _In_ HDEV hdev, _In_ FLONG flHooks)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiEngEraseSurface (_In_ SURFOBJ *pso, _In_ RECTL *prcl, _In_ ULONG iColor)
 
__kernel_entry W32KAPI HBITMAP
APIENTRY 
NtGdiEngCreateBitmap (_In_ SIZEL sizl, _In_ LONG lWidth, _In_ ULONG iFormat, _In_ FLONG fl, _In_opt_ PVOID pvBits)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiEngDeleteSurface (_In_ HSURF hsurf)
 
__kernel_entry W32KAPI SURFOBJ
*APIENTRY 
NtGdiEngLockSurface (_In_ HSURF hsurf)
 
__kernel_entry W32KAPI
NTSTATUS APIENTRY 
NtGdiEngUnlockSurface (_In_ SURFOBJ *pso)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiEngMarkBandingSurface (_In_ HSURF hsurf)
 
__kernel_entry W32KAPI HSURF
APIENTRY 
NtGdiEngCreateDeviceSurface (_In_ DHSURF dhsurf, _In_ SIZEL sizl, _In_ ULONG iFormatCompat)
 
__kernel_entry W32KAPI HBITMAP
APIENTRY 
NtGdiEngCreateDeviceBitmap (_In_ DHSURF dhsurf, _In_ SIZEL sizl, _In_ ULONG iFormatCompat)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiEngCopyBits (_In_ SURFOBJ *psoDst, _In_ SURFOBJ *psoSrc, _In_opt_ CLIPOBJ *pco, _In_opt_ XLATEOBJ *pxlo, _In_ RECTL *prclDst, _In_ POINTL *pptlSrc)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiEngStretchBlt (_In_ SURFOBJ *psoDest, _In_ SURFOBJ *psoSrc, _In_opt_ SURFOBJ *psoMask, _In_opt_ CLIPOBJ *pco, _In_opt_ XLATEOBJ *pxlo, _In_opt_ COLORADJUSTMENT *pca, _In_ POINTL *pptlHTOrg, _In_ RECTL *prclDest, _In_ RECTL *prclSrc, _In_opt_ POINTL *pptlMask, _In_ ULONG iMode)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiEngBitBlt (_In_ SURFOBJ *psoTrg, _In_opt_ SURFOBJ *psoSrc, _In_opt_ SURFOBJ *psoMask, _In_opt_ CLIPOBJ *pco, _In_opt_ XLATEOBJ *pxlo, _In_ RECTL *prclTrg, _In_opt_ POINTL *pptlSrc, _In_opt_ POINTL *pptlMask, _In_opt_ BRUSHOBJ *pbo, _In_opt_ POINTL *pptlBrush, _In_ ROP4 rop4)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiEngPlgBlt (_In_ SURFOBJ *psoTrg, _In_ SURFOBJ *psoSrc, _In_opt_ SURFOBJ *psoMsk, _In_ CLIPOBJ *pco, _In_opt_ XLATEOBJ *pxlo, _In_ COLORADJUSTMENT *pca, _In_ POINTL *pptlBrushOrg, _In_ POINTFIX *pptfx, _In_ RECTL *prcl, _In_opt_ POINTL *pptl, _In_ ULONG iMode)
 
__kernel_entry W32KAPI
HPALETTE APIENTRY 
NtGdiEngCreatePalette (_In_ ULONG iMode, _In_ ULONG cColors, _In_ ULONG *pulColors, _In_ FLONG flRed, _In_ FLONG flGreen, _In_ FLONG flBlue)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiEngDeletePalette (_In_ HPALETTE hPal)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiEngStrokePath (_In_ SURFOBJ *pso, _In_ PATHOBJ *ppo, _In_ CLIPOBJ *pco, _In_ XFORMOBJ *pxo, _In_ BRUSHOBJ *pbo, _In_ POINTL *pptlBrushOrg, _In_ LINEATTRS *plineattrs, _In_ MIX mix)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiEngFillPath (_In_ SURFOBJ *pso, _In_ PATHOBJ *ppo, _In_ CLIPOBJ *pco, _In_ BRUSHOBJ *pbo, _In_ POINTL *pptlBrushOrg, _In_ MIX mix, _In_ FLONG flOptions)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiEngStrokeAndFillPath (_In_ SURFOBJ *pso, _In_ PATHOBJ *ppo, _In_ CLIPOBJ *pco, IN XFORMOBJ *pxo, _In_ BRUSHOBJ *pboStroke, _In_ LINEATTRS *plineattrs, _In_ BRUSHOBJ *pboFill, _In_ POINTL *pptlBrushOrg, _In_ MIX mix, _In_ FLONG flOptions)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiEngPaint (_In_ SURFOBJ *pso, _In_ CLIPOBJ *pco, _In_ BRUSHOBJ *pbo, _In_ POINTL *pptlBrushOrg, _In_ MIX mix)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiEngLineTo (_In_ SURFOBJ *pso, _In_ CLIPOBJ *pco, _In_ BRUSHOBJ *pbo, _In_ LONG x1, _In_ LONG y1, _In_ LONG x2, _In_ LONG y2, _In_ RECTL *prclBounds, _In_ MIX mix)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiEngAlphaBlend (_In_ SURFOBJ *psoDest, _In_ SURFOBJ *psoSrc, _In_ CLIPOBJ *pco, _In_ XLATEOBJ *pxlo, _In_ RECTL *prclDest, _In_ RECTL *prclSrc, _In_ BLENDOBJ *pBlendObj)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiEngGradientFill (_In_ SURFOBJ *psoDest, _In_ CLIPOBJ *pco, _In_ XLATEOBJ *pxlo, _In_reads_(nVertex) TRIVERTEX *pVertex, _In_ ULONG nVertex, _In_PVOID pMesh, _In_ ULONG nMesh, _In_ RECTL *prclExtents, _In_ POINTL *pptlDitherOrg, _In_ ULONG ulMode)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiEngTransparentBlt (_In_ SURFOBJ *psoDst, _In_ SURFOBJ *psoSrc, _In_ CLIPOBJ *pco, _In_ XLATEOBJ *pxlo, _In_ RECTL *prclDst, _In_ RECTL *prclSrc, _In_ ULONG iTransColor, _In_ ULONG ulReserved)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiEngTextOut (_In_ SURFOBJ *pso, _In_ STROBJ *pstro, _In_ FONTOBJ *pfo, _In_ CLIPOBJ *pco, _In_ RECTL *prclExtra, _In_ RECTL *prclOpaque, _In_ BRUSHOBJ *pboFore, _In_ BRUSHOBJ *pboOpaque, _In_ POINTL *pptlOrg, _In_ MIX mix)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiEngStretchBltROP (_In_ SURFOBJ *psoTrg, _In_ SURFOBJ *psoSrc, _In_ SURFOBJ *psoMask, _In_ CLIPOBJ *pco, _In_ XLATEOBJ *pxlo, _In_ COLORADJUSTMENT *pca, _In_ POINTL *pptlBrushOrg, _In_ RECTL *prclTrg, _In_ RECTL *prclSrc, _In_ POINTL *pptlMask, _In_ ULONG iMode, _In_ BRUSHOBJ *pbo, _In_ ROP4 rop4)
 
__kernel_entry W32KAPI ULONG
APIENTRY 
NtGdiXLATEOBJ_cGetPalette (_In_ XLATEOBJ *pxlo, _In_ ULONG iPal, _In_ ULONG cPal, _Out_writes_(cPal) ULONG *pPal)
 
__kernel_entry W32KAPI ULONG
APIENTRY 
NtGdiCLIPOBJ_cEnumStart (_In_ CLIPOBJ *pco, _In_ BOOL bAll, _In_ ULONG iType, _In_ ULONG iDirection, _In_ ULONG cLimit)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiCLIPOBJ_bEnum (_In_ CLIPOBJ *pco, _In_ ULONG cj, _Out_writes_bytes_(cj) ULONG *pul)
 
__kernel_entry W32KAPI PATHOBJ
*APIENTRY 
NtGdiCLIPOBJ_ppoGetPath (_In_ CLIPOBJ *pco)
 
__kernel_entry W32KAPI CLIPOBJ
*APIENTRY 
NtGdiEngCreateClip (VOID)
 
__kernel_entry W32KAPI
NTSTATUS APIENTRY 
NtGdiEngDeleteClip (_In_ CLIPOBJ *pco)
 
__kernel_entry W32KAPI PVOID
APIENTRY 
NtGdiBRUSHOBJ_pvAllocRbrush (_In_ BRUSHOBJ *pbo, _In_ ULONG cj)
 
__kernel_entry W32KAPI PVOID
APIENTRY 
NtGdiBRUSHOBJ_pvGetRbrush (_In_ BRUSHOBJ *pbo)
 
__kernel_entry W32KAPI ULONG
APIENTRY 
NtGdiBRUSHOBJ_ulGetBrushColor (_In_ BRUSHOBJ *pbo)
 
__kernel_entry W32KAPI HANDLE
APIENTRY 
NtGdiBRUSHOBJ_hGetColorTransform (_In_ BRUSHOBJ *pbo)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiXFORMOBJ_bApplyXform (_In_ XFORMOBJ *pxo, _In_ ULONG iMode, _In_ ULONG cPoints, _In_reads_(cPoints) PPOINTL pptIn, _Out_writes_(cPoints) PPOINTL pptOut)
 
__kernel_entry W32KAPI ULONG
APIENTRY 
NtGdiXFORMOBJ_iGetXform (_In_ XFORMOBJ *pxo, _Out_opt_ XFORML *pxform)
 
__kernel_entry W32KAPI
NTSTATUS APIENTRY 
NtGdiFONTOBJ_vGetInfo (_In_ FONTOBJ *pfo, _In_ ULONG cjSize, _Out_writes_bytes_(cjSize) FONTINFO *pfi)
 
__kernel_entry W32KAPI ULONG
APIENTRY 
NtGdiFONTOBJ_cGetGlyphs (_In_ FONTOBJ *pfo, _In_ ULONG iMode, _In_ ULONG cGlyph, _In_ HGLYPH *phg, _At_((GLYPHDATA **) ppvGlyph, _Outptr_) PVOID *ppvGlyph)
 
__kernel_entry W32KAPI
XFORMOBJ *APIENTRY 
NtGdiFONTOBJ_pxoGetXform (_In_ FONTOBJ *pfo)
 
__kernel_entry W32KAPI
IFIMETRICS *APIENTRY 
NtGdiFONTOBJ_pifi (_In_ FONTOBJ *pfo)
 
__kernel_entry W32KAPI
FD_GLYPHSET *APIENTRY 
NtGdiFONTOBJ_pfdg (_In_ FONTOBJ *pfo)
 
__kernel_entry W32KAPI ULONG
APIENTRY 
NtGdiFONTOBJ_cGetAllGlyphHandles (_In_ FONTOBJ *pfo, _Out_opt_ _Post_count_(return) HGLYPH *phg)
 
__kernel_entry W32KAPI PVOID
APIENTRY 
NtGdiFONTOBJ_pvTrueTypeFontFile (_In_ FONTOBJ *pfo, _Out_ ULONG *pcjFile)
 
__kernel_entry W32KAPI
PFD_GLYPHATTR APIENTRY 
NtGdiFONTOBJ_pQueryGlyphAttrs (_In_ FONTOBJ *pfo, _In_ ULONG iMode)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiSTROBJ_bEnum (_In_ STROBJ *pstro, _Out_ ULONG *pc, _Outptr_result_buffer_(*pc) PGLYPHPOS *ppgpos)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiSTROBJ_bEnumPositionsOnly (_In_ STROBJ *pstro, _Out_ ULONG *pc, _Outptr_result_buffer_(*pc) PGLYPHPOS *ppgpos)
 
__kernel_entry W32KAPI
NTSTATUS APIENTRY 
NtGdiSTROBJ_vEnumStart (_Inout_ STROBJ *pstro)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiSTROBJ_dwGetCodePage (_In_ STROBJ *pstro)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiSTROBJ_bGetAdvanceWidths (_In_ STROBJ *pstro, _In_ ULONG iFirst, _In_ ULONG c, _Out_writes_(c) POINTQF *pptqD)
 
__kernel_entry W32KAPI
FD_GLYPHSET *APIENTRY 
NtGdiEngComputeGlyphSet (_In_ INT nCodePage, _In_ INT nFirstChar, _In_ INT cChars)
 
__kernel_entry W32KAPI ULONG
APIENTRY 
NtGdiXLATEOBJ_iXlate (_In_ XLATEOBJ *pxlo, _In_ ULONG iColor)
 
__kernel_entry W32KAPI HANDLE
APIENTRY 
NtGdiXLATEOBJ_hGetColorTransform (_In_ XLATEOBJ *pxlo)
 
__kernel_entry W32KAPI
NTSTATUS APIENTRY 
NtGdiPATHOBJ_vGetBounds (_In_ PATHOBJ *ppo, _Out_ PRECTFX prectfx)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiPATHOBJ_bEnum (_In_ PATHOBJ *ppo, _Out_ PATHDATA *ppd)
 
__kernel_entry W32KAPI
NTSTATUS APIENTRY 
NtGdiPATHOBJ_vEnumStart (_In_ PATHOBJ *ppo)
 
__kernel_entry W32KAPI
NTSTATUS APIENTRY 
NtGdiEngDeletePath (_In_ PATHOBJ *ppo)
 
__kernel_entry W32KAPI
NTSTATUS APIENTRY 
NtGdiPATHOBJ_vEnumStartClipLines (_In_ PATHOBJ *ppo, _In_ CLIPOBJ *pco, _In_ SURFOBJ *pso, _In_ LINEATTRS *pla)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiPATHOBJ_bEnumClipLines (_In_ PATHOBJ *ppo, _In_ ULONG cb, _Out_writes_bytes_(cb) CLIPLINE *pcl)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiEngCheckAbort (_In_ SURFOBJ *pso)
 
__kernel_entry W32KAPI DHPDEV
APIENTRY 
NtGdiGetDhpdev (_In_ HDEV hdev)
 
__kernel_entry W32KAPI LONG
APIENTRY 
NtGdiHT_Get8BPPFormatPalette (_Out_opt_ _Post_count_(return) LPPALETTEENTRY pPaletteEntry, _In_ USHORT RedGamma, _In_ USHORT GreenGamma, _In_ USHORT BlueGamma)
 
__kernel_entry W32KAPI LONG
APIENTRY 
NtGdiHT_Get8BPPMaskPalette (_Out_opt_ _Post_count_(return) LPPALETTEENTRY pPaletteEntry, _In_ BOOL Use8BPPMaskPal, _In_ BYTE CMYMask, _In_ USHORT RedGamma, _In_ USHORT GreenGamma, _In_ USHORT BlueGamma)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiUpdateTransform (_In_ HDC hdc)
 
__kernel_entry W32KAPI DWORD
APIENTRY 
NtGdiSetLayout (_In_ HDC hdc, _In_ LONG wox, _In_ DWORD dwLayout)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiMirrorWindowOrg (_In_ HDC hdc)
 
__kernel_entry W32KAPI LONG
APIENTRY 
NtGdiGetDeviceWidth (_In_ HDC hdc)
 
__kernel_entry W32KAPI
NTSTATUS APIENTRY 
NtGdiSetUMPDSandboxState (_In_ BOOL bEnabled)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiSetPUMPDOBJ (_In_opt_ HUMPD humpd, _In_ BOOL bStoreID, _Inout_opt_ HUMPD *phumpd, _Out_opt_ BOOL *pbWOW64)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiBRUSHOBJ_DeleteRbrush (_In_opt_ BRUSHOBJ *pbo, _In_opt_ BRUSHOBJ *pboB)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiUMPDEngFreeUserMem (_In_ KERNEL_PVOID *ppv)
 
__kernel_entry W32KAPI HBITMAP
APIENTRY 
NtGdiSetBitmapAttributes (_In_ HBITMAP hbm, _In_ DWORD dwFlags)
 
__kernel_entry W32KAPI HBITMAP
APIENTRY 
NtGdiClearBitmapAttributes (_In_ HBITMAP hbm, _In_ DWORD dwFlags)
 
__kernel_entry W32KAPI HBRUSH
APIENTRY 
NtGdiSetBrushAttributes (_In_ HBRUSH hbm, _In_ DWORD dwFlags)
 
__kernel_entry W32KAPI HBRUSH
APIENTRY 
NtGdiClearBrushAttributes (_In_ HBRUSH hbm, _In_ DWORD dwFlags)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiDrawStream (_In_ HDC hdcDst, _In_ ULONG cjIn, _In_reads_bytes_(cjIn) VOID *pvIn)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiMakeObjectXferable (_In_ HANDLE h, _In_ DWORD dwProcessId)
 
__kernel_entry W32KAPI BOOL
APIENTRY 
NtGdiMakeObjectUnXferable (_In_ HANDLE h)
 

Variables

_In_ UINT u
 
_In_ UINT _In_ DWORD dwIn
 
_In_ UINT _In_ DWORD _Out_ DWORDpdwResult
 
_In_ INT ipfd
 
_In_ INT _In_ UINT cjpfd
 
_Must_inspect_result_ _Out_ LPSIZE psize
 
_Out_ LPRECT prc
 
_Out_ PDWORD pdwOut
 
_In_ DWORD dwTable
 
_In_ DWORD _In_ DWORD dwOffset
 
_In_ DWORD _In_ DWORD _In_ ULONG cjBuf
 
_In_ UINT iPoint
 
_In_ UINT _Out_ PPOINTL pptOut
 
_In_ DWORD iXform
 
_In_ DWORD _Out_ LPXFORM pxf
 
_In_ ULONG cj
 
_In_ INT x
 
_In_ INT _In_ INT y
 
_Out_ PDEVCAPS pDevCaps
 
_In_ HBITMAP hbm
 
_In_ HBITMAP _In_ UINT iStartScan
 
_In_ HBITMAP _In_ UINT _In_ UINT cScans
 
_In_ HBITMAP _In_ UINT _In_
UINT _Inout_ LPBITMAPINFO 
pbmi
 
_In_ HBITMAP _In_ UINT _In_
UINT _Inout_ LPBITMAPINFO _In_
UINT 
iUsage
 
_In_ HBITMAP _In_ UINT _In_
UINT _Inout_ LPBITMAPINFO _In_
UINT _In_ UINT 
cjMaxBits
 
_In_ HBITMAP _In_ UINT _In_
UINT _Inout_ LPBITMAPINFO _In_
UINT _In_ UINT _In_ UINT 
cjMaxInfo
 
_Out_ LPRECT prcOut
 
_Out_ LPRECT _In_ DWORD f
 
_In_ ULONG cjBuffer
 

Macro Definition Documentation

#define _NTGDI_

Definition at line 6 of file ntgdi.h.

#define _WINDOWBLT_NOTIFICATION_

Definition at line 13 of file ntgdi.h.

#define FL_UFI_DESIGNVECTOR_PFF   2

Definition at line 24 of file ntgdi.h.

#define FL_UFI_MEMORYFONT   4

Definition at line 25 of file ntgdi.h.

#define FL_UFI_PRIVATEFONT   1

Definition at line 23 of file ntgdi.h.

#define GS_HANDOBJ_ALLOC   3

Definition at line 41 of file ntgdi.h.

#define GS_HANDOBJ_CURRENT   1

Definition at line 39 of file ntgdi.h.

#define GS_HANDOBJ_MAX   2

Definition at line 40 of file ntgdi.h.

#define GS_LOOKASIDE_INFO   4

Definition at line 42 of file ntgdi.h.

#define GS_NUM_OBJS_ALL   0

Definition at line 38 of file ntgdi.h.

#define ICM_CHECK_COLOR_MODE   4

Definition at line 31 of file ntgdi.h.

#define ICM_SET_CALIBRATE_MODE   2

Definition at line 29 of file ntgdi.h.

#define ICM_SET_COLOR_MODE   3

Definition at line 30 of file ntgdi.h.

#define ICM_SET_MODE   1

Definition at line 28 of file ntgdi.h.

#define LCSEX_ANSICREATED   1

Definition at line 34 of file ntgdi.h.

#define LCSEX_TEMPPROFILE   2

Definition at line 35 of file ntgdi.h.

#define TRACE_SURFACE_ALLOCS   (DBG || 0)

Definition at line 20 of file ntgdi.h.

#define TYPE_ENUMFONTFAMILIES   2

Definition at line 46 of file ntgdi.h.

#define TYPE_ENUMFONTFAMILIESEX   3

Definition at line 47 of file ntgdi.h.

#define TYPE_ENUMFONTS   1

Definition at line 45 of file ntgdi.h.

#define W32KAPI   DECLSPEC_ADDRSAFE

Definition at line 9 of file ntgdi.h.

Referenced by _Success_().

Typedef Documentation

Definition at line 86 of file ntgdi.h.

Enumeration Type Documentation

Enumerator
ColorPaletteQuery 
ColorPaletteSet 

Definition at line 49 of file ntgdi.h.

50 {
enum _COLORPALETTEINFO * PCOLORPALETTEINFO
enum _COLORPALETTEINFO COLORPALETTEINFO
Enumerator
IcmQueryBrush 
IcmSetBrush 

Definition at line 56 of file ntgdi.h.

57 {
enum _ICM_DIB_INFO_CMD * PICM_DIB_INFO
enum _ICM_DIB_INFO_CMD ICM_DIB_INFO

Function Documentation

_In_ INT _In_ UINT _Out_writes_bytes_ ( cjpfd  )
_Out_writes_bytes_ ( sizeof(GAMMARAMP )
_Out_writes_bytes_ ( cj  )
_In_ INT _Out_writes_bytes_opt_ ( cj  )
_In_ HBITMAP _In_ UINT _In_ UINT _Out_writes_bytes_opt_ ( cjMaxBits  )
_In_ DWORD _In_ DWORD _Out_writes_bytes_to_opt_ ( cjBuf  ,
return   
)
_In_ ULONG _Out_writes_bytes_to_opt_ ( cjBuffer  ,
return   
)
_Success_ ( return!  = FALSE)

Definition at line 279 of file mapping.c.

289 {
291  PENGSECTION pSection;
292 
293  /* Check parameter */
294  if (cjSize == 0) return NULL;
295 
296  /* Allocate a section object */
297  pSection = EngCreateSectionHack(fl, cjSize, ulTag);
298  if (!pSection)
299  {
300  *ppvSection = NULL;
301  return NULL;
302  }
303 
304  /* Map the section in session space */
305  Status = MmMapViewInSessionSpace(pSection->pvSectionObject,
306  &pSection->pvMappedBase,
307  &pSection->cjViewSize);
308  if (!NT_SUCCESS(Status))
309  {
310  DPRINT1("Failed to map a section Status=0x%x\n", Status);
311  *ppvSection = NULL;
312  EngFreeSectionMem(pSection, NULL);
313  return NULL;
314  }
315 
316  if (fl & FL_ZERO_MEMORY)
317  {
318  RtlZeroMemory(pSection->pvMappedBase, cjSize);
319  }
320 
321  /* Set section pointer and return base address */
322  *ppvSection = pSection;
323  return pSection->pvMappedBase;
324 }
PVOID pvSectionObject
Definition: mapping.h:4
_In_ FLONG fl
Definition: winddi.h:1279
smooth NULL
Definition: ftsmooth.c:513
BOOL APIENTRY EngFreeSectionMem(_In_opt_ PVOID pvSection, _In_opt_ PVOID pvMappedBase)
Definition: mapping.c:246
SIZE_T cjViewSize
Definition: mapping.h:6
PVOID NTAPI EngCreateSectionHack(_In_ ULONG fl, _In_ SIZE_T cjSize, _In_ ULONG ulTag)
Definition: mapping.c:132
#define FL_ZERO_MEMORY
Definition: polytest.cpp:58
Status
Definition: gdiplustypes.h:24
_In_ ULONG _In_ ULONG ulTag
Definition: winddi.h:3941
#define NT_SUCCESS(StatCode)
Definition: cmd.c:149
LONG NTSTATUS
Definition: DriverTester.h:11
#define DPRINT1
Definition: precomp.h:8
_In_ ULONG cjSize
Definition: winddi.h:3634
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:262
NTSTATUS NTAPI MmMapViewInSessionSpace(IN PVOID Section, OUT PVOID *MappedBase, IN OUT PSIZE_T ViewSize)
Definition: section.c:2989
PVOID pvMappedBase
Definition: mapping.h:5
__kernel_entry W32KAPI BOOL APIENTRY NtGdiAbortDoc ( _In_ HDC  hdc)

Referenced by AbortDoc().

__kernel_entry W32KAPI BOOL APIENTRY NtGdiAbortPath ( _In_ HDC  hdc)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiAddEmbFontToDC ( _In_ HDC  hdc,
_In_ PVOID pFontID 
)
__kernel_entry W32KAPI HANDLE APIENTRY NtGdiAddFontMemResourceEx ( _In_reads_bytes_(cjBuffer) PVOID  pvBuffer,
_In_ DWORD  cjBuffer,
_In_reads_bytes_opt_(cjDV) DESIGNVECTOR pdv,
_In_ ULONG  cjDV,
_Out_ DWORD pNumFonts 
)
__kernel_entry INT W32KAPI APIENTRY NtGdiAddFontResourceW ( _In_reads_(cwc) WCHAR pwszFiles,
_In_ ULONG  cwc,
_In_ ULONG  cFiles,
_In_ FLONG  f,
_In_ DWORD  dwPidTid,
_In_opt_ DESIGNVECTOR pdv 
)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiAddRemoteFontToDC ( _In_ HDC  hdc,
_In_reads_bytes_(cjBuffer) PVOID  pvBuffer,
_In_ ULONG  cjBuffer,
_In_opt_ PUNIVERSAL_FONT_ID  pufi 
)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiAddRemoteMMInstanceToDC ( _In_ HDC  hdc,
_In_reads_bytes_(cjDDV) DOWNLOADDESIGNVECTOR pddv,
_In_ ULONG  cjDDV 
)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiAlphaBlend ( _In_ HDC  hdcDst,
_In_ LONG  DstX,
_In_ LONG  DstY,
_In_ LONG  DstCx,
_In_ LONG  DstCy,
_In_ HDC  hdcSrc,
_In_ LONG  SrcX,
_In_ LONG  SrcY,
_In_ LONG  SrcCx,
_In_ LONG  SrcCy,
_In_ BLENDFUNCTION  BlendFunction,
_In_ HANDLE  hcmXform 
)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiAngleArc ( _In_ HDC  hdc,
_In_ INT  x,
_In_ INT  y,
_In_ DWORD  dwRadius,
_In_ DWORD  dwStartAngle,
_In_ DWORD  dwSweepAngle 
)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiAnyLinkedFonts ( VOID  )

Definition at line 686 of file stubs.c.

687 {
689  return FALSE;
690 }
#define FALSE
Definition: types.h:117
#define UNIMPLEMENTED
Definition: stubs.c:8
__kernel_entry W32KAPI BOOL APIENTRY NtGdiArcInternal ( _In_ ARCTYPE  arctype,
_In_ HDC  hdc,
_In_ INT  x1,
_In_ INT  y1,
_In_ INT  x2,
_In_ INT  y2,
_In_ INT  x3,
_In_ INT  y3,
_In_ INT  x4,
_In_ INT  y4 
)

Referenced by START_TEST().

__kernel_entry W32KAPI BOOL APIENTRY NtGdiBeginGdiRendering ( _In_ HBITMAP  hbm,
_In_ BOOL  bDiscard,
_In_ PVOID  KernelModeDeviceHandle 
)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiBeginPath ( _In_ HDC  hdc)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiBRUSHOBJ_DeleteRbrush ( _In_opt_ BRUSHOBJ pbo,
_In_opt_ BRUSHOBJ pboB 
)

Definition at line 73 of file umpdstubs.c.

76 {
78  return 0;
79 }
#define UNIMPLEMENTED
Definition: umpdstubs.c:4
__kernel_entry W32KAPI HANDLE APIENTRY NtGdiBRUSHOBJ_hGetColorTransform ( _In_ BRUSHOBJ pbo)

Definition at line 32 of file umpdstubs.c.

34 {
36  return NULL;
37 }
smooth NULL
Definition: ftsmooth.c:513
#define UNIMPLEMENTED
Definition: umpdstubs.c:4
__kernel_entry W32KAPI PVOID APIENTRY NtGdiBRUSHOBJ_pvAllocRbrush ( _In_ BRUSHOBJ pbo,
_In_ ULONG  cj 
)

Definition at line 42 of file umpdstubs.c.

45 {
47  return NULL;
48 }
smooth NULL
Definition: ftsmooth.c:513
#define UNIMPLEMENTED
Definition: umpdstubs.c:4
__kernel_entry W32KAPI PVOID APIENTRY NtGdiBRUSHOBJ_pvGetRbrush ( _In_ BRUSHOBJ pbo)

Definition at line 53 of file umpdstubs.c.

55 {
57  return NULL;
58 }
smooth NULL
Definition: ftsmooth.c:513
#define UNIMPLEMENTED
Definition: umpdstubs.c:4
__kernel_entry W32KAPI ULONG APIENTRY NtGdiBRUSHOBJ_ulGetBrushColor ( _In_ BRUSHOBJ pbo)

Definition at line 63 of file umpdstubs.c.

65 {
67  return 0;
68 }
#define UNIMPLEMENTED
Definition: umpdstubs.c:4
__kernel_entry W32KAPI BOOL APIENTRY NtGdiCancelDC ( _In_ HDC  hdc)

Referenced by CancelDC().

__kernel_entry W32KAPI BOOL APIENTRY NtGdiChangeGhostFont ( _In_ KERNEL_PVOID pfontID,
_In_ BOOL  bLoad 
)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiCheckBitmapBits ( _In_ HDC  hdc,
_In_ HANDLE  hColorTransform,
_In_reads_bytes_(dwStride *dwHeight) PVOID  pvBits,
_In_ ULONG  bmFormat,
_In_ DWORD  dwWidth,
_In_ DWORD  dwHeight,
_In_ DWORD  dwStride,
_Out_writes_bytes_(dwWidth *dwHeight) PBYTE  paResults 
)
__kernel_entry W32KAPI HBITMAP APIENTRY NtGdiClearBitmapAttributes ( _In_ HBITMAP  hbm,
_In_ DWORD  dwFlags 
)
__kernel_entry W32KAPI HBRUSH APIENTRY NtGdiClearBrushAttributes ( _In_ HBRUSH  hbm,
_In_ DWORD  dwFlags 
)

Definition at line 553 of file brush.cpp.

556 {
557  __debugbreak();
558  return NULL;
559 }
void __cdecl __debugbreak(void)
Definition: intrin_ppc.h:698
smooth NULL
Definition: ftsmooth.c:513
__kernel_entry W32KAPI BOOL APIENTRY NtGdiCLIPOBJ_bEnum ( _In_ CLIPOBJ pco,
_In_ ULONG  cj,
_Out_writes_bytes_(cj) ULONG pul 
)

Definition at line 84 of file umpdstubs.c.

88 {
90  return FALSE;
91 }
#define FALSE
Definition: types.h:117
#define UNIMPLEMENTED
Definition: umpdstubs.c:4
__kernel_entry W32KAPI ULONG APIENTRY NtGdiCLIPOBJ_cEnumStart ( _In_ CLIPOBJ pco,
_In_ BOOL  bAll,
_In_ ULONG  iType,
_In_ ULONG  iDirection,
_In_ ULONG  cLimit 
)

Definition at line 96 of file umpdstubs.c.

102 {
104  return 0;
105 }
#define UNIMPLEMENTED
Definition: umpdstubs.c:4
__kernel_entry W32KAPI PATHOBJ* APIENTRY NtGdiCLIPOBJ_ppoGetPath ( _In_ CLIPOBJ pco)

Definition at line 110 of file umpdstubs.c.

112 {
114  return NULL;
115 }
smooth NULL
Definition: ftsmooth.c:513
#define UNIMPLEMENTED
Definition: umpdstubs.c:4
__kernel_entry W32KAPI BOOL APIENTRY NtGdiCloseFigure ( _In_ HDC  hdc)
__kernel_entry W32KAPI ULONG APIENTRY NtGdiColorCorrectPalette ( _In_ HDC  hdc,
_In_ HPALETTE  hpal,
_In_ ULONG  uFirstEntry,
_In_ ULONG  cPalEntries,
_Inout_updates_(cPalEntries) PALETTEENTRY ppalEntry,
_In_ ULONG  uCommand 
)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiCombineTransform ( _Out_ LPXFORM  pxfDst,
_In_ LPXFORM  pxfSrc1,
_In_ LPXFORM  pxfSrc2 
)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiComputeXformCoefficients ( _In_ HDC  hdc)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiConsoleTextOut ( _In_ HDC  hdc,
_In_ POLYTEXTW lpto,
_In_ UINT  nStrings,
_In_ RECTL prclBounds 
)
__kernel_entry W32KAPI LONG APIENTRY NtGdiConvertMetafileRect ( _In_ HDC  hdc,
_Inout_ PRECTL  prect 
)
__kernel_entry W32KAPI HBITMAP APIENTRY NtGdiCreateBitmap ( _In_ INT  cx,
_In_ INT  cy,
_In_ UINT  cPlanes,
_In_ UINT  cBPP,
_In_opt_ LPBYTE  pjInit 
)
__kernel_entry W32KAPI HBITMAP APIENTRY NtGdiCreateBitmapFromDxSurface ( _In_ HDC  hdc,
_In_ UINT  uiWidth,
_In_ UINT  uiHeight,
_In_ DWORD  Format,
_In_opt_ HANDLE  hDxSharedSurface 
)
__kernel_entry W32KAPI HBITMAP APIENTRY NtGdiCreateBitmapFromDxSurface2 ( _In_ HDC  hdc,
_In_ UINT  uiWidth,
_In_ UINT  uiHeight,
_In_ DWORD  Format,
_In_ DWORD  SubresourceIndex,
_In_ BOOL  bSharedSurfaceNtHandle,
_In_opt_ HANDLE  hDxSharedSurface 
)
__kernel_entry W32KAPI HANDLE APIENTRY NtGdiCreateClientObj ( _In_ ULONG  ulType)

Referenced by GdiCreateClientObj().

__kernel_entry W32KAPI HANDLE APIENTRY NtGdiCreateColorSpace ( _In_ PLOGCOLORSPACEEXW  pLogColorSpace)
__kernel_entry W32KAPI HANDLE APIENTRY NtGdiCreateColorTransform ( _In_ HDC  hdc,
_In_ LPLOGCOLORSPACEW  pLogColorSpaceW,
_In_reads_bytes_opt_(cjSrcProfile) PVOID  pvSrcProfile,
_In_ ULONG  cjSrcProfile,
_In_reads_bytes_opt_(cjDestProfile) PVOID  pvDestProfile,
_In_ ULONG  cjDestProfile,
_In_reads_bytes_opt_(cjTargetProfile) PVOID  pvTargetProfile,
_In_ ULONG  cjTargetProfile 
)
__kernel_entry W32KAPI HBRUSH APIENTRY NtGdiCreateDIBBrush ( _In_reads_bytes_(cj) PVOID  pv,
_In_ FLONG  fl,
_In_ UINT  cj,
_In_ BOOL  b8X8,
_In_ BOOL  bPen,
_In_ PVOID  pClient 
)

Definition at line 412 of file brush.cpp.

Referenced by CreateDIBPatternBrush(), and CreateDIBPatternBrushPt().

419 {
420  PVOID pvPackedDIB;
421  FLONG flAttrs;
422  HBITMAP hbm;
423  HBRUSH hbr = NULL;
424 
425  if (b8X8)
426  {
427  WARN("b8X8 is not supported, ignoring\n");
428  }
429 
430  if (bPen)
431  {
432  WARN("bPen is not supported, ignoring\n");
433  }
434 
435  if (uUsage > DIB_PAL_INDICES)
436  {
437  ERR("Invalid uUsage value: %lu\n", uUsage);
439  return NULL;
440  }
441 
442  /* Allocate a buffer for the packed DIB */
444  if (pvPackedDIB == NULL)
445  {
446  ERR("Failed to allocate temp buffer of %u bytes\n", cj);
447  return NULL;
448  }
449 
450  /* Probe and copy the packed DIB */
451  _SEH2_TRY
452  {
453  ProbeForRead(pv, cj, 1);
454  RtlCopyMemory(pvPackedDIB, pv, cj);
455  }
457  {
458  ERR("Got exception, pv = %p, cj = %lu\n", pv, cj);
459  goto cleanup;
460  }
461  _SEH2_END;
462 
463  flAttrs = BR_IS_BITMAP | BR_IS_DIB;
464 
465  /* Check what kind of color table we have */
466  if (uUsage == DIB_PAL_COLORS)
467  {
468  /* Remember it and use DIB_PAL_BRUSHHACK to create a "special" palette */
469  flAttrs |= BR_IS_DIBPALCOLORS;
470  uUsage = DIB_PAL_BRUSHHACK;
471  }
472  else if (uUsage == DIB_PAL_INDICES)
473  {
474  /* No color table, bitmap contains device palette indices */
475  flAttrs |= BR_IS_DIBPALINDICES;
476 
477  /* FIXME: This makes tests pass, but needs investigation. */
478  flAttrs |= BR_IS_NULL;
479  }
480 
481  /* Create a bitmap from the DIB */
482  hbm = GreCreateDIBitmapFromPackedDIB(pvPackedDIB, cj, uUsage);
483  if (hbm == NULL)
484  {
485  ERR("Failed to create bitmap from DIB\n");
486  goto cleanup;
487  }
488 
489  /* Call the internal function (will delete hbm on failure) */
490  hbr = CreateBrushInternal(flAttrs, 0, 0, hbm, pvClient);
491 
492 cleanup:
493 
494  ExFreePoolWithTag(pvPackedDIB, GDITAG_TEMP);
495 
496  return hbr;
497 }
DWORD *typedef PVOID
Definition: winlogon.h:52
#define ERROR_INVALID_PARAMETER
Definition: compat.h:91
NTSYSAPI VOID NTAPI RtlCopyMemory(VOID UNALIGNED *Destination, CONST VOID UNALIGNED *Source, ULONG Length)
_In_ ULONG cj
Definition: winddi.h:3540
#define GDITAG_TEMP
Definition: tags.h:166
#define HBITMAP
Definition: msvc.h:28
#define DIB_PAL_COLORS
Definition: wingdi.h:364
#define DIB_PAL_BRUSHHACK
Definition: dib.h:36
#define WARN(fmt,...)
Definition: debug.h:111
#define BR_IS_BITMAP
Definition: brush.h:99
#define BR_IS_DIB
Definition: brush.h:100
#define _SEH2_END
Definition: pseh2_64.h:7
#define EXCEPTION_EXECUTE_HANDLER
Definition: excpt.h:85
smooth NULL
Definition: ftsmooth.c:513
unsigned long FLONG
Definition: ntbasedef.h:365
HBITMAP NTAPI GreCreateDIBitmapFromPackedDIB(_In_reads_(cjPackedDIB) PVOID pvPackedDIB, _In_ UINT cjPackedDIB, _In_ ULONG uUsage)
Definition: dibobj.c:1610
#define BR_IS_NULL
Definition: brush.h:101
#define ExAllocatePoolWithTag(hernya, size, tag)
Definition: env_spec_w32.h:350
VOID NTAPI ProbeForRead(IN CONST VOID *Address, IN SIZE_T Length, IN ULONG Alignment)
Definition: exintrin.c:102
DWORD void * pv
Definition: msvc.h:87
#define ERR(fmt,...)
Definition: debug.h:109
#define BR_IS_DIBPALINDICES
Definition: brush.h:106
_In_ HBITMAP hbm
Definition: ntgdi.h:2776
#define _SEH2_TRY
Definition: pseh2_64.h:5
#define BR_IS_DIBPALCOLORS
Definition: brush.h:105
#define DIB_PAL_INDICES
char * cleanup(char *str)
Definition: wpickclick.c:99
#define _SEH2_EXCEPT(...)
Definition: pseh2_64.h:6
#define ExFreePoolWithTag(_P, _T)
Definition: module.h:1097
static HBRUSH CreateBrushInternal(_In_ ULONG flAttrs, _In_ COLORREF crColor, _In_ ULONG iHatch, _In_opt_ HBITMAP hbmPattern, _In_opt_ PVOID pvClient)
Definition: brush.cpp:191
ENGAPI VOID APIENTRY EngSetLastError(_In_ ULONG iError)
Definition: error.c:27
__kernel_entry W32KAPI HBITMAP APIENTRY NtGdiCreateDIBitmapInternal ( _In_ HDC  hdc,
_In_ INT  cx,
_In_ INT  cy,
_In_ DWORD  fInit,
_In_reads_bytes_opt_(cjMaxBits) LPBYTE  pjInit,
_In_reads_bytes_opt_(cjMaxInitInfo) LPBITMAPINFO  pbmi,
_In_ DWORD  iUsage,
_In_ UINT  cjMaxInitInfo,
_In_ UINT  cjMaxBits,
_In_ FLONG  f,
_In_ HANDLE  hcmXform 
)

Referenced by CreateDIBitmap().

__kernel_entry W32KAPI HBITMAP APIENTRY NtGdiCreateDIBSection ( _In_ HDC  hdc,
_In_opt_ HANDLE  hSectionApp,
_In_ DWORD  dwOffset,
_In_reads_bytes_opt_(cjHeader) LPBITMAPINFO  pbmi,
_In_ DWORD  iUsage,
_In_ UINT  cjHeader,
_In_ FLONG  fl,
_In_ ULONG_PTR  dwColorSpace,
_Outptr_ PVOID ppvBits 
)

Referenced by CreateDIBSection(), and START_TEST().

__kernel_entry W32KAPI HRGN APIENTRY NtGdiCreateEllipticRgn ( _In_ INT  xLeft,
_In_ INT  yTop,
_In_ INT  xRight,
_In_ INT  yBottom 
)
__kernel_entry W32KAPI HPALETTE APIENTRY NtGdiCreateHalftonePalette ( _In_ HDC  hdc)
__kernel_entry W32KAPI HBRUSH APIENTRY NtGdiCreateHatchBrushInternal ( _In_ ULONG  ulStyle,
_In_ COLORREF  clrr,
_In_ BOOL  bPen 
)

Definition at line 346 of file brush.cpp.

Referenced by CreateBrushIndirect(), and CreateHatchBrush().

350 {
351  FLONG flAttr;
352 
353  if (bPen)
354  {
355  WARN("bPen is not supported, ignoring\n");
356  }
357 
358  /* Check what kind if hatch style this is */
359  if (iHatch < HS_DDI_MAX)
360  {
361  flAttr = BR_IS_HATCH;
362  }
363  else if (iHatch < HS_API_MAX)
364  {
365  flAttr = BR_IS_SOLID;
366  }
367  else
368  {
369  ERR("Invalid iHatch: %lu\n", iHatch);
370  return NULL;
371  }
372 
373  /* Call the internal function */
374  return CreateBrushInternal(flAttr, crColor, iHatch, NULL, NULL);
375 }
#define HS_DDI_MAX
Definition: winddi.h:3954
#define WARN(fmt,...)
Definition: debug.h:111
#define BR_IS_SOLID
Definition: brush.h:97
smooth NULL
Definition: ftsmooth.c:513
#define HS_API_MAX
Definition: wingdi.h:580
unsigned long FLONG
Definition: ntbasedef.h:365
#define BR_IS_HATCH
Definition: brush.h:98
_Inout_ SURFOBJ _In_opt_ SURFOBJ _In_opt_ SURFOBJ _In_opt_ XLATEOBJ _In_ ULONG iHatch
Definition: winddi.h:3959
#define ERR(fmt,...)
Definition: debug.h:109
static HBRUSH CreateBrushInternal(_In_ ULONG flAttrs, _In_ COLORREF crColor, _In_ ULONG iHatch, _In_opt_ HBITMAP hbmPattern, _In_opt_ PVOID pvClient)
Definition: brush.cpp:191
__kernel_entry W32KAPI HDC APIENTRY NtGdiCreateMetafileDC ( _In_ HDC  hdc)

Referenced by alloc_dc_ptr().

__kernel_entry W32KAPI HPALETTE APIENTRY NtGdiCreatePaletteInternal ( _In_reads_bytes_(cEntries *4+4) LPLOGPALETTE  pLogPal,
_In_ UINT  cEntries 
)
__kernel_entry W32KAPI HBRUSH APIENTRY NtGdiCreatePatternBrushInternal ( _In_ HBITMAP  hbm,
_In_ BOOL  bPen,
_In_ BOOL  b8X8 
)

Definition at line 380 of file brush.cpp.

Referenced by CreateBrushIndirect(), and CreatePatternBrush().

384 {
385  HBITMAP hbmPattern;
386 
387  if (b8X8)
388  {
389  WARN("b8X8 is not supported, ignoring\n");
390  }
391 
392  if (bPen)
393  {
394  WARN("bPen is not supported, ignoring\n");
395  }
396 
397  /* Copy the bitmap */
398  hbmPattern = BITMAP_CopyBitmap(hbmClient);
399  if (hbmPattern == NULL)
400  {
401  ERR("Failed to copy the bitmap %p\n", hbmPattern);
402  return NULL;
403  }
404 
405  /* Call the internal function (will delete hbmPattern on failure) */
406  return CreateBrushInternal(BR_IS_BITMAP, 0, 0, hbmPattern, hbmClient);
407 }
#define HBITMAP
Definition: msvc.h:28
#define WARN(fmt,...)
Definition: debug.h:111
#define BR_IS_BITMAP
Definition: brush.h:99
smooth NULL
Definition: ftsmooth.c:513
#define ERR(fmt,...)
Definition: debug.h:109
HBITMAP FASTCALL BITMAP_CopyBitmap(HBITMAP hBitmap)
Definition: bitmaps.c:675
static HBRUSH CreateBrushInternal(_In_ ULONG flAttrs, _In_ COLORREF crColor, _In_ ULONG iHatch, _In_opt_ HBITMAP hbmPattern, _In_opt_ PVOID pvClient)
Definition: brush.cpp:191
__kernel_entry W32KAPI HPEN APIENTRY NtGdiCreatePen ( _In_ INT  iPenStyle,
_In_ INT  iPenWidth,
_In_ COLORREF  cr,
_In_opt_ HBRUSH  hbr 
)

Referenced by TEXT_DrawUnderscore().

__kernel_entry W32KAPI HRGN APIENTRY NtGdiCreateRoundRectRgn ( _In_ INT  xLeft,
_In_ INT  yTop,
_In_ INT  xRight,
_In_ INT  yBottom,
_In_ INT  xWidth,
_In_ INT  yHeight 
)
__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 
)
__kernel_entry W32KAPI HBRUSH APIENTRY NtGdiCreateSolidBrush ( _In_ COLORREF  cr,
_In_opt_ HBRUSH  hbr 
)

Definition at line 330 of file brush.cpp.

Referenced by CreateBrushIndirect(), and CreateSolidBrush().

333 {
334  if (hbr != NULL)
335  {
336  WARN("hbr is not supported, ignoring\n");
337  }
338 
339  /* Call the internal function */
340  return CreateBrushInternal(BR_IS_SOLID, crColor, 0, NULL, NULL);
341 }
#define WARN(fmt,...)
Definition: debug.h:111
#define BR_IS_SOLID
Definition: brush.h:97
smooth NULL
Definition: ftsmooth.c:513
static HBRUSH CreateBrushInternal(_In_ ULONG flAttrs, _In_ COLORREF crColor, _In_ ULONG iHatch, _In_opt_ HBITMAP hbmPattern, _In_opt_ PVOID pvClient)
Definition: brush.cpp:191
__kernel_entry W32KAPI BOOL APIENTRY NtGdiD3dContextCreate ( _In_ HANDLE  hDirectDrawLocal,
_In_ HANDLE  hSurfColor,
_In_ HANDLE  hSurfZ,
_Inout_ D3DNTHAL_CONTEXTCREATEI pdcci 
)

Referenced by D3dContextCreate().

__kernel_entry W32KAPI DWORD APIENTRY NtGdiD3dDrawPrimitives2 ( _In_ HANDLE  hCmdBuf,
_In_ HANDLE  hVBuf,
_Inout_ LPD3DNTHAL_DRAWPRIMITIVES2DATA  pded,
_Inout_ FLATPTR pfpVidMemCmd,
_Inout_ DWORD pdwSizeCmd,
_Inout_ FLATPTR pfpVidMemVtx,
_Inout_ DWORD pdwSizeVtx 
)
__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdAddAttachedSurface ( _In_ HANDLE  hSurface,
_In_ HANDLE  hSurfaceAttached,
_Inout_ PDD_ADDATTACHEDSURFACEDATA  puAddAttachedSurfaceData 
)

Referenced by DdAddAttachedSurface().

__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdAlphaBlt ( _In_ HANDLE  hSurfaceDest,
_In_opt_ HANDLE  hSurfaceSrc,
_Inout_ PDD_BLTDATA  puBltData 
)

Referenced by DdAlphaBlt().

__kernel_entry W32KAPI BOOL APIENTRY NtGdiDdAttachSurface ( _In_ HANDLE  hSurfaceFrom,
_In_ HANDLE  hSurfaceTo 
)

Referenced by DdAttachSurface().

__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdBeginMoCompFrame ( _In_ HANDLE  hMoComp,
_Inout_ PDD_BEGINMOCOMPFRAMEDATA  puBeginFrameData 
)
__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdBlt ( _In_ HANDLE  hSurfaceDest,
_In_ HANDLE  hSurfaceSrc,
_Inout_ PDD_BLTDATA  puBltData 
)

Referenced by DdBlt().

__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdCanCreateD3DBuffer ( _In_ HANDLE  hDirectDraw,
_Inout_ PDD_CANCREATESURFACEDATA  puCanCreateSurfaceData 
)

Referenced by DdCanCreateD3DBuffer().

__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdCanCreateSurface ( _In_ HANDLE  hDirectDraw,
_Inout_ PDD_CANCREATESURFACEDATA  puCanCreateSurfaceData 
)

Referenced by DdCanCreateSurface().

__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdColorControl ( _In_ HANDLE  hSurface,
_Inout_ PDD_COLORCONTROLDATA  puColorControlData 
)

Referenced by DdColorControl().

__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdCreateD3DBuffer ( _In_ HANDLE  hDirectDraw,
_Inout_ HANDLE hSurface,
_Inout_ DDSURFACEDESC puSurfaceDescription,
_Inout_ DD_SURFACE_GLOBAL puSurfaceGlobalData,
_Inout_ DD_SURFACE_LOCAL puSurfaceLocalData,
_Inout_ DD_SURFACE_MORE puSurfaceMoreData,
_Inout_ DD_CREATESURFACEDATA puCreateSurfaceData,
_Inout_ HANDLE puhSurface 
)

Referenced by DdCreateD3DBuffer().

__kernel_entry W32KAPI HANDLE APIENTRY NtGdiDdCreateDirectDrawObject ( _In_ HDC  hdc)
__kernel_entry W32KAPI HANDLE APIENTRY NtGdiDdCreateMoComp ( _In_ HANDLE  hDirectDraw,
_Inout_ PDD_CREATEMOCOMPDATA  puCreateMoCompData 
)
__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdCreateSurface ( _In_ HANDLE  hDirectDraw,
_In_ HANDLE hSurface,
_Inout_ DDSURFACEDESC puSurfaceDescription,
_Inout_ DD_SURFACE_GLOBAL puSurfaceGlobalData,
_Inout_ DD_SURFACE_LOCAL puSurfaceLocalData,
_Inout_ DD_SURFACE_MORE puSurfaceMoreData,
_Inout_ DD_CREATESURFACEDATA puCreateSurfaceData,
_Out_ HANDLE puhSurface 
)

Referenced by DdCreateSurface().

__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdCreateSurfaceEx ( _In_ HANDLE  hDirectDraw,
_In_ HANDLE  hSurface,
_In_ DWORD  dwSurfaceHandle 
)

Referenced by DdCreateSurfaceEx().

__kernel_entry W32KAPI HANDLE APIENTRY NtGdiDdCreateSurfaceObject ( _In_ HANDLE  hDirectDrawLocal,
_In_ HANDLE  hSurface,
_In_ PDD_SURFACE_LOCAL  puSurfaceLocal,
_In_ PDD_SURFACE_MORE  puSurfaceMore,
_In_ PDD_SURFACE_GLOBAL  puSurfaceGlobal,
_In_ BOOL  bComplete 
)

Referenced by bDDCreateSurface().

__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdDDICreateDCFromMemory ( _Inout_ D3DKMT_CREATEDCFROMMEMORY desc)
__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdDDIDestroyDCFromMemory ( _In_ CONST D3DKMT_DESTROYDCFROMMEMORY desc)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiDdDeleteDirectDrawObject ( _In_ HANDLE  hDirectDrawLocal)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiDdDeleteSurfaceObject ( _In_ HANDLE  hSurface)
__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdDestroyD3DBuffer ( _In_ HANDLE  hSurface)

Referenced by DdDestroyD3DBuffer().

__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdDestroyMoComp ( _In_ HANDLE  hMoComp,
_Inout_ PDD_DESTROYMOCOMPDATA  puDestroyMoCompData 
)
__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdDestroySurface ( _In_ HANDLE  hSurface,
_In_ BOOL  bRealDestroy 
)

Referenced by DdDestroySurface().

__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdEndMoCompFrame ( _In_ HANDLE  hMoComp,
_Inout_ PDD_ENDMOCOMPFRAMEDATA  puEndFrameData 
)
__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdFlip ( _In_ HANDLE  hSurfaceCurrent,
_In_ HANDLE  hSurfaceTarget,
_In_ HANDLE  hSurfaceCurrentLeft,
_In_ HANDLE  hSurfaceTargetLeft,
_Inout_ PDD_FLIPDATA  puFlipData 
)

Referenced by DdFlip().

__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdFlipToGDISurface ( _In_ HANDLE  hDirectDraw,
_Inout_ PDD_FLIPTOGDISURFACEDATA  puFlipToGDISurfaceData 
)

Referenced by DdFlipToGDISurface().

__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdGetAvailDriverMemory ( _In_ HANDLE  hDirectDraw,
_Inout_ PDD_GETAVAILDRIVERMEMORYDATA  puGetAvailDriverMemoryData 
)

Referenced by DdGetAvailDriverMemory().

__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdGetBltStatus ( _In_ HANDLE  hSurface,
_Inout_ PDD_GETBLTSTATUSDATA  puGetBltStatusData 
)

Referenced by DdGetBltStatus().

__kernel_entry W32KAPI HDC APIENTRY NtGdiDdGetDC ( _In_ HANDLE  hSurface,
_In_ PALETTEENTRY puColorTable 
)

Referenced by DdGetDC().

__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdGetDriverInfo ( _In_ HANDLE  hDirectDraw,
_Inout_ PDD_GETDRIVERINFODATA  puGetDriverInfoData 
)

Referenced by DdGetDriverInfo().

Referenced by DdGetDriverInfo().

__kernel_entry W32KAPI HANDLE APIENTRY NtGdiDdGetDxHandle ( _In_opt_ HANDLE  hDirectDraw,
_In_opt_ HANDLE  hSurface,
_In_ BOOL  bRelease 
)

Referenced by DdGetDxHandle().

__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdGetFlipStatus ( _In_ HANDLE  hSurface,
_Inout_ PDD_GETFLIPSTATUSDATA  puGetFlipStatusData 
)

Referenced by DdGetFlipStatus().

__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdGetInternalMoCompInfo ( _In_ HANDLE  hDirectDraw,
_Inout_ PDD_GETINTERNALMOCOMPDATA  puGetInternalData 
)
__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdGetMoCompBuffInfo ( _In_ HANDLE  hDirectDraw,
_Inout_ PDD_GETMOCOMPCOMPBUFFDATA  puGetBuffData 
)
__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdGetMoCompFormats ( _In_ HANDLE  hDirectDraw,
_Inout_ PDD_GETMOCOMPFORMATSDATA  puGetMoCompFormatsData 
)
__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdGetMoCompGuids ( _In_ HANDLE  hDirectDraw,
_Inout_ PDD_GETMOCOMPGUIDSDATA  puGetMoCompGuidsData 
)
__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdGetScanLine ( _In_ HANDLE  hDirectDraw,
_Inout_ PDD_GETSCANLINEDATA  puGetScanLineData 
)

Referenced by DdGetScanLine().

__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdLock ( _In_ HANDLE  hSurface,
_Inout_ PDD_LOCKDATA  puLockData,
_In_ HDC  hdcClip 
)

Referenced by DdLock().

__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdLockD3D ( _In_ HANDLE  hSurface,
_Inout_ PDD_LOCKDATA  puLockData 
)

Referenced by DdLockD3D().

__kernel_entry W32KAPI BOOL APIENTRY NtGdiDdQueryDirectDrawObject ( _In_ HANDLE  hDirectDrawLocal,
_Out_ PDD_HALINFO  pHalInfo,
_Out_writes_(3) DWORD pCallBackFlags,
_Out_opt_ LPD3DNTHAL_CALLBACKS  puD3dCallbacks,
_Out_opt_ LPD3DNTHAL_GLOBALDRIVERDATA  puD3dDriverData,
_Out_opt_ PDD_D3DBUFCALLBACKS  puD3dBufferCallbacks,
_Out_opt_ LPDDSURFACEDESC  puD3dTextureFormats,
_Out_ DWORD puNumHeaps,
_Out_opt_ VIDEOMEMORY puvmList,
_Out_ DWORD puNumFourCC,
_Out_opt_ DWORD puFourCC 
)
__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdQueryMoCompStatus ( _In_ HANDLE  hMoComp,
_Inout_ PDD_QUERYMOCOMPSTATUSDATA  puQueryMoCompStatusData 
)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiDdReenableDirectDrawObject ( _In_ HANDLE  hDirectDrawLocal,
_Inout_ BOOL pubNewMode 
)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiDdReleaseDC ( _In_ HANDLE  hSurface)

Referenced by DdReleaseDC().

__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdRenderMoComp ( _In_ HANDLE  hMoComp,
_Inout_ PDD_RENDERMOCOMPDATA  puRenderMoCompData 
)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiDdResetVisrgn ( _In_ HANDLE  hSurface,
_In_ HWND  hwnd 
)

Referenced by DdResetVisrgn().

__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdSetColorKey ( _In_ HANDLE  hSurface,
_Inout_ PDD_SETCOLORKEYDATA  puSetColorKeyData 
)

Referenced by DdSetColorKey().

__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdSetExclusiveMode ( _In_ HANDLE  hDirectDraw,
_Inout_ PDD_SETEXCLUSIVEMODEDATA  puSetExclusiveModeData 
)

Referenced by DdSetExclusiveMode().

__kernel_entry W32KAPI BOOL APIENTRY NtGdiDdSetGammaRamp ( _In_ HANDLE  hDirectDraw,
_In_ HDC  hdc,
_In_reads_bytes_(sizeof(GAMMARAMP)) LPVOID  lpGammaRamp 
)

Referenced by DdSetGammaRamp().

__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdSetOverlayPosition ( _In_ HANDLE  hSurfaceSource,
_In_ HANDLE  hSurfaceDestination,
_Inout_ PDD_SETOVERLAYPOSITIONDATA  puSetOverlayPositionData 
)

Referenced by DdSetOverlayPosition().

__kernel_entry W32KAPI NTSTATUS APIENTRY NtGdiDdUnattachSurface ( _In_ HANDLE  hSurface,
_In_ HANDLE  hSurfaceAttached 
)

Referenced by DdUnattachSurface().

__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdUnlock ( _In_ HANDLE  hSurface,
_Inout_ PDD_UNLOCKDATA  puUnlockData 
)

Referenced by DdUnlock(), and DdUnlockD3D().

__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdUnlockD3D ( _In_ HANDLE  hSurface,
_Inout_ PDD_UNLOCKDATA  puUnlockData 
)
__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdUpdateOverlay ( _In_ HANDLE  hSurfaceDestination,
_In_ HANDLE  hSurfaceSource,
_Inout_ PDD_UPDATEOVERLAYDATA  puUpdateOverlayData 
)

Referenced by DdUpdateOverlay().

__kernel_entry W32KAPI DWORD APIENTRY NtGdiDdWaitForVerticalBlank ( _In_ HANDLE  hDirectDraw,
_Inout_ PDD_WAITFORVERTICALBLANKDATA  puWaitForVerticalBlankData 
)

Referenced by DdWaitForVerticalBlank().

__kernel_entry W32KAPI BOOL APIENTRY NtGdiDeleteClientObj ( _In_ HANDLE  h)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiDeleteColorSpace ( _In_ HANDLE  hColorSpace)

Referenced by DeleteColorSpace(), and DeleteObject().

__kernel_entry W32KAPI BOOL APIENTRY NtGdiDeleteColorTransform ( _In_ HDC  hdc,
_In_ HANDLE  hColorTransform 
)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiDoBanding ( _In_ HDC  hdc,
_In_ BOOL  bStart,
_Out_ POINTL pptl,
_Out_ PSIZE  pSize 
)
__kernel_entry W32KAPI LONG APIENTRY NtGdiDoPalette ( _In_ HGDIOBJ  hObj,
_In_ WORD  iStart,
_In_ WORD  cEntries,
_When_(bInbound!=0, _In_reads_bytes_(cEntries *sizeof(PALETTEENTRY))) _When_(bInbound==0, _Out_writes_bytes_(cEntries *sizeof(PALETTEENTRY))) LPVOID  pEntries,
_In_ DWORD  iFunc,
_In_ BOOL  bInbound 
)

Definition at line 1074 of file palette.c.

Referenced by AnimatePalette(), GetDIBColorTable(), GetPaletteEntries(), GetSystemPaletteEntries(), SetDIBColorTable(), SetPaletteEntries(), Test_NtGdiDoPalette_GdiPalAnimate(), Test_NtGdiDoPalette_GdiPalGetEntries(), Test_NtGdiDoPalette_GdiPalSetEntries(), and Test_NtGdiDoPalette_SetDIBColorTable().

1082 {
1083  LONG ret;
1084  LPVOID pEntries = NULL;
1085  SIZE_T cjSize;
1086 
1087  if (pUnsafeEntries)
1088  {
1089  if (cEntries == 0)
1090  return 0;
1091 
1092  cjSize = cEntries * sizeof(PALETTEENTRY);
1093  pEntries = ExAllocatePoolWithTag(PagedPool, cjSize, TAG_PALETTE);
1094  if (!pEntries)
1095  return 0;
1096 
1097  if (bInbound)
1098  {
1099  _SEH2_TRY
1100  {
1101  ProbeForRead(pUnsafeEntries, cjSize, 1);
1102  memcpy(pEntries, pUnsafeEntries, cjSize);
1103  }
1105  {
1106  ExFreePoolWithTag(pEntries, TAG_PALETTE);
1107  _SEH2_YIELD(return 0);
1108  }
1109  _SEH2_END
1110  }
1111  else
1112  {
1113  /* Zero it out, so we don't accidentally leak kernel data */
1114  RtlZeroMemory(pEntries, cjSize);
1115  }
1116  }
1117 
1118  ret = 0;
1119  switch(iFunc)
1120  {
1121  case GdiPalAnimate:
1122  if (pEntries)
1123  ret = IntAnimatePalette((HPALETTE)hObj, iStart, cEntries, (CONST PPALETTEENTRY)pEntries);
1124  break;
1125 
1126  case GdiPalSetEntries:
1127  if (pEntries)
1128  ret = IntSetPaletteEntries((HPALETTE)hObj, iStart, cEntries, (CONST LPPALETTEENTRY)pEntries);
1129  break;
1130 
1131  case GdiPalGetEntries:
1132  ret = IntGetPaletteEntries((HPALETTE)hObj, iStart, cEntries, (LPPALETTEENTRY)pEntries);
1133  break;
1134 
1136  ret = IntGetSystemPaletteEntries((HDC)hObj, iStart, cEntries, (LPPALETTEENTRY)pEntries);
1137  break;
1138 
1139  case GdiPalSetColorTable:
1140  if (pEntries)
1141  ret = GreGetSetColorTable((HDC)hObj, iStart, cEntries, (RGBQUAD*)pEntries, TRUE);
1142  break;
1143 
1144  case GdiPalGetColorTable:
1145  if (pEntries)
1146  ret = GreGetSetColorTable((HDC)hObj, iStart, cEntries, (RGBQUAD*)pEntries, FALSE);
1147  break;
1148  }
1149 
1150  if (pEntries)
1151  {
1152  if (!bInbound && (ret > 0))
1153  {
1154  cjSize = min(cEntries, ret) * sizeof(PALETTEENTRY);
1155  _SEH2_TRY
1156  {
1157  ProbeForWrite(pUnsafeEntries, cjSize, 1);
1158  memcpy(pUnsafeEntries, pEntries, cjSize);
1159  }
1161  {
1162  ret = 0;
1163  }
1164  _SEH2_END
1165  }
1166  ExFreePoolWithTag(pEntries, TAG_PALETTE);
1167  }
1168 
1169  return ret;
1170 }
#define HDC
Definition: msvc.h:22
#define TRUE
Definition: types.h:120
UINT APIENTRY IntGetSystemPaletteEntries(HDC hDC, UINT StartIndex, UINT Entries, LPPALETTEENTRY pe)
Definition: palette.c:891
ULONG APIENTRY GreGetSetColorTable(HDC hdc, ULONG iStartIndex, ULONG cEntries, RGBQUAD *prgbColors, BOOL bSet)
Definition: palette.c:992
_In_ UINT iStart
Definition: wingdi.h:3597
UINT APIENTRY IntAnimatePalette(HPALETTE hPal, UINT StartIndex, UINT NumEntries, CONST PPALETTEENTRY PaletteColors)
Definition: palette.c:783
VOID NTAPI ProbeForWrite(IN PVOID Address, IN SIZE_T Length, IN ULONG Alignment)
Definition: exintrin.c:143
#define FALSE
Definition: types.h:117
long LONG
Definition: pedump.c:60
#define _SEH2_END
Definition: pseh2_64.h:7
UINT APIENTRY IntGetPaletteEntries(HPALETTE hpal, UINT StartIndex, UINT Entries, LPPALETTEENTRY pe)
Definition: palette.c:852
#define EXCEPTION_EXECUTE_HANDLER
Definition: excpt.h:85
smooth NULL
Definition: ftsmooth.c:513
UINT APIENTRY IntSetPaletteEntries(HPALETTE hpal, UINT Start, UINT Entries, CONST LPPALETTEENTRY pe)
Definition: palette.c:957
#define CONST
Definition: compiler.h:170
#define _SEH2_YIELD(STMT_)
Definition: pseh2_64.h:8
_In_ UINT _In_ UINT cEntries
Definition: wingdi.h:3597
#define ExAllocatePoolWithTag(hernya, size, tag)
Definition: env_spec_w32.h:350
int ret
VOID NTAPI ProbeForRead(IN CONST VOID *Address, IN SIZE_T Length, IN ULONG Alignment)
Definition: exintrin.c:102
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
#define TAG_PALETTE
Definition: tags.h:26
ULONG_PTR SIZE_T
Definition: typedefs.h:79
#define _SEH2_TRY
Definition: pseh2_64.h:5
#define min(a, b)
Definition: monoChain.cc:55
_In_ ULONG cjSize
Definition: winddi.h:3634
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:262
struct tagPALETTEENTRY PALETTEENTRY
#define _SEH2_EXCEPT(...)
Definition: pseh2_64.h:6
#define ExFreePoolWithTag(_P, _T)
Definition: module.h:1097
__kernel_entry W32KAPI INT APIENTRY NtGdiDrawEscape ( _In_ HDC  hdc,
_In_ INT  iEsc,
_In_ INT  cjIn,
_In_reads_bytes_opt_(cjIn) LPSTR  pjIn 
)

Referenced by DrawEscape().

__kernel_entry W32KAPI BOOL APIENTRY NtGdiDrawStream ( _In_ HDC  hdcDst,
_In_ ULONG  cjIn,
_In_reads_bytes_(cjIn) VOID pvIn 
)