ReactOS 0.4.15-dev-8339-g4028de8
main.c File Reference
#include <stdio.h>
#include "main.h"
Include dependency graph for main.c:

Go to the source code of this file.

Classes

struct  _DD_GETDRIVERINFODATA
 
struct  _DD_MISCELLANEOUSCALLBACKS
 

Typedefs

typedef struct _DD_GETDRIVERINFODATA DD_GETDRIVERINFODATA
 
typedef struct _DD_GETDRIVERINFODATAPDD_GETDRIVERINFODATA
 
typedef struct _DD_MISCELLANEOUSCALLBACKS DD_MISCELLANEOUSCALLBACKS
 

Functions

int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpCmdLine, int nCmdShow)
 

Variables

HDC hdc
 
DDRAWI_DIRECTDRAW_GBL mDDrawGlobal
 
DDRAWI_DIRECTDRAW_LCL mDDrawLocal
 
DDHALINFO mHALInfo
 
DDHAL_CALLBACKS mCallbacks
 
DDHAL_DDEXEBUFCALLBACKS mD3dBufferCallbacks
 
D3DHAL_CALLBACKS mD3dCallbacks
 
D3DHAL_GLOBALDRIVERDATA mD3dDriverData
 
UINT mcModeInfos
 
DDHALMODEINFOmpModeInfos
 
UINT mcvmList
 
VIDMEMmpvmList
 
UINT mcFourCC
 
DWORDmpFourCC
 
UINT mcTextures
 
DDSURFACEDESCmpTextures
 
DDRAWI_DDRAWSURFACE_GBL mPrimaryGlobal
 
DDRAWI_DDRAWSURFACE_MORE mPrimaryMore
 
DDRAWI_DDRAWSURFACE_LCL mPrimaryLocal
 
DDRAWI_DDRAWSURFACE_LCLmpPrimaryLocals [1]
 
DDRAWI_DDRAWCLIPPER_LCL mPrimaryClipperLocal
 
DDRAWI_DDRAWCLIPPER_GBL mPrimaryClipperGlobal
 
DDSURFACEDESC mddsdPrimary
 
DDSURFACEDESC mddsdOverlay
 
DDRAWI_DDRAWSURFACE_GBL mOverlayGlobal
 
DDRAWI_DDRAWSURFACE_LCL mOverlayLocal [6]
 
DDRAWI_DDRAWSURFACE_LCLmpOverlayLocals [6]
 
DDRAWI_DDRAWSURFACE_MORE mOverlayMore [6]
 
DDHAL_BLTDATA mDdBlt
 

Typedef Documentation

◆ DD_GETDRIVERINFODATA

◆ DD_MISCELLANEOUSCALLBACKS

◆ PDD_GETDRIVERINFODATA

Function Documentation

◆ WinMain()

int WINAPI WinMain ( HINSTANCE  hInst,
HINSTANCE  hPrevInst,
LPSTR  lpCmdLine,
int  nCmdShow 
)

Definition at line 70 of file main.c.

72{
73 /* HAL Startup process */
76 const UINT bmiSize = sizeof(BITMAPINFOHEADER) + 0x10;
77 UCHAR *pbmiData;
79
80 DWORD *pMasks;
81 //BOOL newmode = FALSE;
82 //DWORD Status; /* for create surface */
83 UINT i;
84 UINT j;
85 UINT cSurfaces;
86
87 DDHAL_CANCREATESURFACEDATA mDdCanCreateSurface;
88 DDHAL_UPDATEOVERLAYDATA mDdUpdateOverlay;
89 DDRAWI_DDRAWSURFACE_LCL *pDDSurface;
90 DDHAL_CREATESURFACEDATA mDdCreateSurface;
91
92
93 /* get the functions we need */
94// DD_GETDRIVERINFODATA drv;
95 HMODULE lib = LoadLibrary("gdi32.dll");
100
101 printf("This app shows how to start up a DirectDraw/Direct3D interface and some others.\n");
102 printf("This code has been released to some closed applications with my permission. If any company\n");
103 printf("wants to use this code, you must contact the original author to ask for permission.\n");
104 printf("This code is released under many different licenses.\n");
105 printf("All GPL and LGPL projects have the right to use and study this code.\n");
106 printf("This code may require more comments to know how stuff works.\n");
107 printf("Best regards, Magnus Olsen magnus@greatlord.com or greatlord@reactos.org\n");
108 printf("Copyright 2006 by Magnus Olsen\n\n");
109 printf("This demo shows how to start DirectDraw, creating a primary surface\n");
110 printf("and an overlay surface, and a blt to the primary surface.\n");
111
112
113 /*
114 Get and Create mode info
115 */
116 mcModeInfos = 1;
119 mcModeInfos * sizeof(DDHALMODEINFO));
120
121 if (mpModeInfos == NULL)
122 {
123 printf("Fail to alloc mpModeInfos\n");
124 return DD_FALSE;
125 }
126
127
128 EnumDisplaySettings(NULL, ENUM_CURRENT_SETTINGS, &devmode);
129
135
136 /*
137 Setup HDC and mDDrawGlobal right
138 */
139 hdc = CreateDCW(L"DISPLAY",L"DISPLAY",NULL,NULL);
140
141 if (hdc == NULL)
142 {
143 printf("Fail to create HDC\n");
144 return DD_FALSE;
145 }
146
147 /*
148 Dectect RGB bit mask
149 */
151 if (hbmp==NULL)
152 {
154 DeleteDC(hdc);
155 printf("Fail to Create Compatible Bitmap\n");
156 return DD_FALSE;
157 }
158
159 pbmiData = (UCHAR *)HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, bmiSize);
160 pbmi = (BITMAPINFO*)pbmiData;
161
162 if (pbmiData==NULL)
163 {
166 DeleteDC(hdc);
168 printf("Fail to Alloc pbmiData\n");
169 return DDERR_UNSUPPORTED;
170 }
171
177
178 GetDIBits(hdc, hbmp, 0, 0, NULL, pbmi, 0);
180
181 pMasks = (DWORD*)(pbmiData + sizeof(BITMAPINFOHEADER));
182 mpModeInfos[0].dwRBitMask = pMasks[0];
183 mpModeInfos[0].dwGBitMask = pMasks[1];
184 mpModeInfos[0].dwBBitMask = pMasks[2];
185 mpModeInfos[0].dwAlphaBitMask = pMasks[3];
186
187 HeapFree(GetProcessHeap(), 0, pbmiData);
188
189 /*
190 prepare start up the DX Draw HAL interface now
191 */
192
194 memset(&mHALInfo, 0, sizeof(DDHALINFO));
195 memset(&mCallbacks, 0, sizeof(DDHAL_CALLBACKS));
196
197 /*
198 Startup DX HAL step one of three
199 */
201 {
203 DeleteDC(hdc);
205 printf("Fail to Create Direct DrawObject\n");
206 return DD_FALSE;
207 }
208
209 mDDrawGlobal.dwRefCnt = 1; //addref / remove ref
210
211 // Do not release HDC, it has been mapped in kernel mode
212 // DeleteDC(hdc);
213
214 /* we need to reenable it if the screen resolution has changed, and some
215 bad driver needs to be reenabled infrequently to continue */
216 /*
217 if (!DdReenableDirectDrawObject(&mDDrawGlobal, &newmode))
218 {
219 HeapFree(GetProcessHeap(), 0, mpModeInfos);
220 DeleteDC(hdc);
221 DeleteObject(hbmp);
222 return DD_FALSE;
223 }*/
224
225 /*
226 Setup the DirectDraw Local
227 */
228
232
235 //mDDrawLocal.dwLocalFlags = DDRAWILCL_DIRECTDRAW7;
236
237
238 /*
239 Startup DX HAL step two of three
240 */
241
243 &mHALInfo,
250 NULL,
251 NULL,
252 NULL))
253 {
255 DeleteDC(hdc);
257 // FIXME Close DX first call and second call
258 return DD_FALSE;
259 }
260
263 if (mpvmList == NULL)
264 {
266 DeleteDC(hdc);
268 // FIXME Close DX first call and second call
269 printf("Fail to QueryDirect Draw Object first pass\n");
270 return DD_FALSE;
271 }
272
275 if (mpFourCC == NULL)
276 {
279 DeleteDC(hdc);
281 // FIXME Close DX fristcall and second call
282 return DD_FALSE;
283 }
284
287 if (mpTextures == NULL)
288 {
292 DeleteDC(hdc);
294 // FIXME Close DX first call and second call
295 printf("Fail QueryDirect Draw Object to Alloc mpTextures \n");
296 return DD_FALSE;
297 }
298
302
305 &mHALInfo,
313 mpFourCC,
314 mpvmList))
315
316 {
321 DeleteDC(hdc);
323 printf("Fail to QueryDirect Draw Object second pass\n");
324 return DD_FALSE;
325 }
326
327 /*
328 Copy over from HalInfo to DirectDrawGlobal
329 */
330
331 // this is wrong, cDriverName needs to be in ASCII not UNICODE
332 //memcpy(mDDrawGlobal.cDriverName, mDisplayAdapter, sizeof(wchar)*MAX_DRIVER_NAME);
333
336
340
346
348
349
350
351 /* Hal insate is down now */
352
353 /* clear surface code now */
354
355 // memset(&mGlobal, 0, sizeof(DDRAWI_DDRAWSURFACE_GBL));
356 // memset(&mMore, 0, sizeof(DDRAWI_DDRAWSURFACE_MORE));
357
358 /* mLocal.lpSurfMore = &mMore;
359 memset(mMore, 0, sizeof(DDRAWI_DDRAWSURFACE_MORE));
360 mMore.dwSize = sizeof(DDRAWI_DDRAWSURFACE_MORE);*/
361
363
364 /* clear surface ends now */
365
366 /* create primary surface now */
367
368 memset(&mddsdPrimary, 0, sizeof(DDSURFACEDESC));
369 mddsdPrimary.dwSize = sizeof(DDSURFACEDESC);
370 mddsdPrimary.dwFlags = DDSD_CAPS;
372
373 mDdCanCreateSurface.lpDD = &mDDrawGlobal;
375 mDdCanCreateSurface.bIsDifferentPixelFormat = FALSE; //isDifferentPixelFormat;
376 mDdCanCreateSurface.lpDDSurfaceDesc = &mddsdPrimary; // pDDSD;
377
379 {
380 printf("Fail to mDdCanCreateSurface DDHAL_DRIVER_NOTHANDLED\n");
382 }
383
384 if (mDdCanCreateSurface.ddRVal != DD_OK)
385 {
386 printf("Fail to mDdCanCreateSurface mDdCanCreateSurface.ddRVal = %d:%s\n",(int)mDdCanCreateSurface.ddRVal,DDErrorString(mDdCanCreateSurface.ddRVal));
388 }
389
397
400
401
402 //mPrimaryMore. = mpr
403
409 mPrimaryLocal.ddsCaps.dwCaps = mddsdPrimary.ddsCaps.dwCaps;
410
412
413 mDdCreateSurface.lpDD = &mDDrawGlobal;
414 mDdCreateSurface.CreateSurface = mCallbacks.HALDD.CreateSurface;
415 mDdCreateSurface.lpDDSurfaceDesc = &mddsdPrimary;//pDDSD;
416 mDdCreateSurface.lplpSList = mpPrimaryLocals; //cSurfaces;
417 mDdCreateSurface.dwSCnt = 1 ; //ppSurfaces;
418
420 {
421 printf("Fail to mDdCreateSurface DDHAL_DRIVER_NOTHANDLED \n");
423 }
424
425
426 if (mDdCreateSurface.ddRVal != DD_OK)
427 {
428 printf("Fail to mDdCanCreateSurface mDdCreateSurface.ddRVal = %d:%s\n",(int)mDdCreateSurface.ddRVal,DDErrorString(mDdCreateSurface.ddRVal));
429 return mDdCreateSurface.ddRVal;
430 }
431
432 // -- Setup Clipper ---------------------------------------------------------
436 //mPrimaryClipperGlobal.hWnd = (ULONG_PTR)hwnd;
440
443
444 //memset(&mPrimaryClipperInterface, 0, sizeof(DDRAWI_DDRAWCLIPPER_INT));
445 //mPrimaryClipperInterface.lpLcl = &mPrimaryClipperLocal;
446 //mPrimaryClipperInterface.dwIntRefCnt = 1;
447 //mPrimaryClipperInterface.lpLink = null;
448 //mPrimaryClipperInterface.lpVtbl = null;
449
451 //mPrimaryMore.lpDDIClipper = &mPrimaryClipperInterface;
452
454
455
456 /* create primary surface is down now */
457
458 /* create overlay surface now */
459
460 memset(&mddsdOverlay, 0, sizeof(DDSURFACEDESC));
461 mddsdOverlay.dwSize = sizeof(DDSURFACEDESC);
463
465
466 mddsdOverlay.dwWidth = 100; //pels;
467 mddsdOverlay.dwHeight = 100; // lines;
468 mddsdOverlay.dwBackBufferCount = 1; //cBuffers;
469
470 mddsdOverlay.ddpfPixelFormat.dwSize = sizeof(DDPIXELFORMAT);
471 mddsdOverlay.ddpfPixelFormat.dwFlags = DDPF_RGB;
472 mddsdOverlay.ddpfPixelFormat.dwRGBBitCount = 32;
473
474
475 //DDHAL_CANCREATESURFACEDATA mDdCanCreateSurface;
476 mDdCanCreateSurface.lpDD = &mDDrawGlobal;
478 mDdCanCreateSurface.bIsDifferentPixelFormat = TRUE; //isDifferentPixelFormat;
479 mDdCanCreateSurface.lpDDSurfaceDesc = &mddsdOverlay; // pDDSD;
480
481
483 {
484 // derr(L"DirectDrawImpl[%08x]::__createPrimary Cannot create primary [%08x]", this, rv);
485
486 printf("Fail to mDdCanCreateSurface DDHAL_DRIVER_NOTHANDLED \n");
488 }
489
490 if (mDdCanCreateSurface.ddRVal != DD_OK)
491 {
492 printf("Fail to mDdCanCreateSurface mDdCanCreateSurface.ddRVal = %d:%s\n",(int)mDdCanCreateSurface.ddRVal,DDErrorString(mDdCanCreateSurface.ddRVal));
494 }
495
496
504 mOverlayGlobal.ddpfSurface = mddsdOverlay.ddpfPixelFormat;
505
506 // setup front- and backbuffer surfaces
507 cSurfaces = mddsdOverlay.dwBackBufferCount + 1;
508 for ( i = 0; i < cSurfaces; i++)
509 {
512
517 mOverlayLocal[i].dwFlags = (i == 0) ?
520
525
526 mOverlayLocal[i].ddsCaps.dwCaps = mddsdOverlay.ddsCaps.dwCaps;
528 }
529
530 for ( i = 0; i < cSurfaces; i++)
531 {
532 j = (i + 1) % cSurfaces;
533
534
535 /*if (!mHALInfo.lpDDSurfaceCallbacks->AddAttachedSurface(mpOverlayLocals[i], mpOverlayLocals[j]))
536 {
537 // derr(L"DirectDrawImpl[%08x]::__setupDevice DdAttachSurface(%d, %d) failed", this, i, j);
538 return DD_FALSE;
539 }*/
540
542 {
543 // derr(L"DirectDrawImpl[%08x]::__setupDevice DdAttachSurface(%d, %d) failed", this, i, j);
544 printf("Fail to DdAttachSurface (%d:%d)\n", i, j);
545 return DD_FALSE;
546 }
547
548 }
549
550
551 // DDHAL_CREATESURFACEDATA mDdCreateSurface;
552 mDdCreateSurface.lpDD = &mDDrawGlobal;
553 mDdCreateSurface.CreateSurface = mCallbacks.HALDD.CreateSurface;
554 mDdCreateSurface.lpDDSurfaceDesc = &mddsdOverlay;//pDDSD;
555 mDdCreateSurface.lplpSList = mpOverlayLocals; //cSurfaces;
556 mDdCreateSurface.dwSCnt = 1 ; //ppSurfaces;
557
559 {
560 printf("Fail to mDdCreateSurface = DDHAL_DRIVER_HANDLED\n");
562 }
563
564
565 if (mDdCreateSurface.ddRVal != DD_OK)
566 {
567 printf("Fail to mDdCreateSurface mDdCreateSurface.ddRVal = %d:%s\n",(int)mDdCreateSurface.ddRVal,DDErrorString(mDdCreateSurface.ddRVal));
568 return mDdCreateSurface.ddRVal;
569 }
570
571
572 mDdUpdateOverlay.lpDD = &mDDrawGlobal;
574 mDdUpdateOverlay.lpDDDestSurface = mpPrimaryLocals[0];
575 mDdUpdateOverlay.lpDDSrcSurface = mpOverlayLocals[0];//pDDSurface;
576 mDdUpdateOverlay.dwFlags = DDOVER_SHOW;
577
578 /* if (flags & DDOVER_DDFX)
579 mDdUpdateOverlay.overlayFX = *pFx;
580 copyRect(&mDdUpdateOverlay.rDest, pdst);
581 copyRect(&mDdUpdateOverlay.rSrc, psrc);
582*/
583
584 mDdUpdateOverlay.rDest.top = 0;
585 mDdUpdateOverlay.rDest.left = 0;
586 mDdUpdateOverlay.rDest.right = 50;
587 mDdUpdateOverlay.rDest.bottom = 50;
588
589 mDdUpdateOverlay.rSrc.top = 0;
590 mDdUpdateOverlay.rSrc.left = 0;
591 mDdUpdateOverlay.rSrc.right = 50;
592 mDdUpdateOverlay.rSrc.bottom = 50;
593
594
595
596
597 if ( mDdUpdateOverlay.UpdateOverlay(&mDdUpdateOverlay) == DDHAL_DRIVER_NOTHANDLED)
598 {
599 printf("Fail to mDdBlt = DDHAL_DRIVER_HANDLED\n");
601 }
602
603
604 if (mDdUpdateOverlay.ddRVal != DD_OK)
605 {
606 printf("Fail to mDdUpdateOverlay mDdUpdateOverlay.ddRVal = %d:%s\n",(int)mDdUpdateOverlay.ddRVal,DDErrorString(mDdUpdateOverlay.ddRVal));
607 return mDdUpdateOverlay.ddRVal;
608 }
609
610 /* blt */
611
612
613 pDDSurface = mpPrimaryLocals[0];
614
615 if (!DdResetVisrgn(pDDSurface, NULL))
616 {
617 // derr(L"DirectDrawImpl[%08x]::_clear DdResetVisrgn failed", this);
618 }
619
620
621 memset(&mDdBlt, 0, sizeof(DDHAL_BLTDATA));
622 memset(&mDdBlt.bltFX, 0, sizeof(DDBLTFX));
623 mDdBlt.bltFX.dwSize = sizeof(DDBLTFX);
624
628
630 mDdBlt.rDest.top = 50;
631 mDdBlt.rDest.bottom = 100;
632 mDdBlt.rDest.left = 0;
633 mDdBlt.rDest.right = 100;
636 mDdBlt.bltFX.dwFillColor = 0xFFFF00;
638 // mDdBlt.IsClipped = TRUE;
639
641 {
642 printf("Fail to mDdBlt = DDHAL_DRIVER_HANDLED\n");
644 }
645
646
647
648 if (mDdBlt.ddRVal!=DD_OK)
649 {
650 printf("Fail to mDdBlt mDdBlt.ddRVal = %d:%s\n",(int)mDdBlt.ddRVal,DDErrorString(mDdBlt.ddRVal));
651 return mDdBlt.ddRVal;
652 }
653
654 mDdUpdateOverlay.rDest.right = 100;
655 if ( mDdUpdateOverlay.UpdateOverlay(&mDdUpdateOverlay) == DDHAL_DRIVER_NOTHANDLED)
656 {
657 printf("Fail to mDdUpdateOverlay = DDERR_NOTINITIALIZED\n");
659 }
660
661 while(TRUE);
662
663 return DD_OK;
664
665
666}
DEVMODEW devmode
void DDSURFACEDESC
Definition: amvideo.idl:25
HBITMAP hbmp
D3DHAL_GLOBALDRIVERDATA * LPD3DHAL_GLOBALDRIVERDATA
Definition: d3dhal.h:83
struct _DDRAWI_DIRECTDRAW_GBL FAR * LPDDRAWI_DIRECTDRAW_GBL
Definition: d3dhal.h:39
D3DHAL_CALLBACKS * LPD3DHAL_CALLBACKS
Definition: d3dhal.h:188
struct _DDRAWI_DDRAWSURFACE_LCL FAR * LPDDRAWI_DDRAWSURFACE_LCL
Definition: d3dhal.h:45
#define DdCreateDirectDrawObject
Definition: ddrawgdi.h:24
#define DdQueryDirectDrawObject
Definition: ddrawgdi.h:25
#define DdResetVisrgn
Definition: ddrawgdi.h:29
#define DdAttachSurface
Definition: ddrawgdi.h:34
#define DDHAL_DRIVER_HANDLED
Definition: ddrawi.h:321
struct _DDHALMODEINFO DDHALMODEINFO
#define DDRAWICLIP_ISINITIALIZED
Definition: ddrawi.h:1606
struct _DDHALINFO * LPDDHALINFO
Definition: ddrawi.h:123
#define DDRAWISURF_IMPLICITROOT
Definition: ddrawi.h:1506
struct _DDHAL_DDEXEBUFCALLBACKS * LPDDHAL_DDEXEBUFCALLBACKS
#define DDRAWISURF_ATTACHED_FROM
Definition: ddrawi.h:1505
struct _VIDMEM VIDMEM
struct _DDHAL_DDCALLBACKS * LPDDHAL_DDCALLBACKS
#define DDRAWISURF_BACKBUFFER
Definition: ddrawi.h:1529
#define DDRAWISURFGBL_ISGDISURFACE
Definition: ddrawi.h:1363
#define DDRAWISURF_IMPLICITCREATE
Definition: ddrawi.h:1503
struct _DDHAL_DDPALETTECALLBACKS * LPDDHAL_DDPALETTECALLBACKS
#define DDRAWISURF_PARTOFPRIMARYCHAIN
Definition: ddrawi.h:1507
#define DDRAWISURF_ATTACHED
Definition: ddrawi.h:1502
#define DDRAWISURF_HASOVERLAYDATA
Definition: ddrawi.h:1516
struct _DDHAL_DDSURFACECALLBACKS * LPDDHAL_DDSURFACECALLBACKS
#define DDRAWISURF_HASPIXELFORMAT
Definition: ddrawi.h:1515
#define DDRAWISURF_FRONTBUFFER
Definition: ddrawi.h:1528
struct _DDRAWI_DDRAWSURFACE_MORE DDRAWI_DDRAWSURFACE_MORE
#define DDHAL_DRIVER_NOTHANDLED
Definition: ddrawi.h:320
void * LPDDSURFACEDESC
Definition: ddstream.idl:23
const CHAR * DDErrorString(HRESULT hResult)
Definition: debug.cpp:4
#define free
Definition: debug_ros.c:5
#define NULL
Definition: types.h:112
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
static const WCHAR dwWidth[]
Definition: provider.c:62
static const WCHAR dwHeight[]
Definition: provider.c:63
#define APIENTRY
Definition: api.h:79
#define GetProcessHeap()
Definition: compat.h:736
HANDLE HWND
Definition: compat.h:19
#define GetProcAddress(x, y)
Definition: compat.h:753
#define HeapAlloc
Definition: compat.h:733
#define HeapFree(x, y, z)
Definition: compat.h:735
#define HEAP_ZERO_MEMORY
Definition: compat.h:134
struct _VIDMEM * LPVIDMEM
Definition: dmemmgr.h:33
#define ULONG_PTR
Definition: config.h:101
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned short WORD
Definition: ntddk_ex.h:93
#define printf
Definition: freeldr.h:97
pKey DeleteObject()
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint j
Definition: glfuncs.h:250
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
#define BI_BITFIELDS
Definition: mmreg.h:507
DWORD * mpFourCC
Definition: main.c:26
DDRAWI_DIRECTDRAW_GBL mDDrawGlobal
Definition: main.c:10
DDHAL_CALLBACKS mCallbacks
Definition: main.c:14
DDSURFACEDESC * mpTextures
Definition: main.c:29
DDHAL_BLTDATA mDdBlt
Definition: main.c:47
UINT mcvmList
Definition: main.c:22
UINT mcTextures
Definition: main.c:28
DDRAWI_DDRAWSURFACE_MORE mPrimaryMore
Definition: main.c:33
DDRAWI_DDRAWCLIPPER_LCL mPrimaryClipperLocal
Definition: main.c:36
DDSURFACEDESC mddsdOverlay
Definition: main.c:40
UINT mcFourCC
Definition: main.c:25
DDRAWI_DDRAWSURFACE_LCL * mpPrimaryLocals[1]
Definition: main.c:35
DDHALMODEINFO * mpModeInfos
Definition: main.c:20
DDHALINFO mHALInfo
Definition: main.c:12
DDRAWI_DDRAWSURFACE_LCL * mpOverlayLocals[6]
Definition: main.c:44
DDRAWI_DDRAWSURFACE_LCL mOverlayLocal[6]
Definition: main.c:43
DDRAWI_DDRAWSURFACE_GBL mPrimaryGlobal
Definition: main.c:32
VIDMEM * mpvmList
Definition: main.c:23
HDC hdc
Definition: main.c:9
UINT mcModeInfos
Definition: main.c:19
DDHAL_DDEXEBUFCALLBACKS mD3dBufferCallbacks
Definition: main.c:15
DDSURFACEDESC mddsdPrimary
Definition: main.c:39
DDRAWI_DDRAWSURFACE_GBL mOverlayGlobal
Definition: main.c:42
DDRAWI_DDRAWSURFACE_MORE mOverlayMore[6]
Definition: main.c:45
DDRAWI_DIRECTDRAW_LCL mDDrawLocal
Definition: main.c:11
D3DHAL_CALLBACKS mD3dCallbacks
Definition: main.c:16
D3DHAL_GLOBALDRIVERDATA mD3dDriverData
Definition: main.c:17
DDRAWI_DDRAWCLIPPER_GBL mPrimaryClipperGlobal
Definition: main.c:37
DDRAWI_DDRAWSURFACE_LCL mPrimaryLocal
Definition: main.c:34
static HBITMAP
Definition: button.c:44
static HDC
Definition: imagelist.c:92
unsigned int UINT
Definition: ndis.h:50
#define BOOL
Definition: nt_native.h:43
#define LPDWORD
Definition: nt_native.h:46
#define DWORD
Definition: nt_native.h:44
_In_ HBITMAP _In_ UINT _In_ UINT _Inout_ LPBITMAPINFO pbmi
Definition: ntgdi.h:2780
#define L(x)
Definition: ntvdm.h:50
#define DDBLT_COLORFILL
Definition: ddraw.h:555
#define DDSD_WIDTH
Definition: ddraw.h:210
#define DDSD_PIXELFORMAT
Definition: ddraw.h:216
#define DDSCAPS_OVERLAY
Definition: ddraw.h:256
#define DDSCAPS_VISIBLE
Definition: ddraw.h:265
struct _DDBLTFX DDBLTFX
#define DDSD_HEIGHT
Definition: ddraw.h:209
#define DDSCAPS_PRIMARYSURFACE
Definition: ddraw.h:258
struct _DDPIXELFORMAT DDPIXELFORMAT
#define DDOVER_SHOW
Definition: ddraw.h:608
#define DDERR_NOTINITIALIZED
Definition: ddraw.h:185
#define DDPF_RGB
Definition: ddraw.h:507
#define DD_OK
Definition: ddraw.h:186
#define DDSCAPS_FLIP
Definition: ddraw.h:253
#define DDBLT_WAIT
Definition: ddraw.h:569
#define DDERR_UNSUPPORTED
Definition: ddraw.h:127
#define DD_FALSE
Definition: ddraw.h:187
#define DDSCAPS_VIDEOMEMORY
Definition: ddraw.h:264
#define DDSCAPS_LOCALVIDMEM
Definition: ddraw.h:276
#define DDSD_CAPS
Definition: ddraw.h:208
#define DDSD_BACKBUFFERCOUNT
Definition: ddraw.h:212
#define DDSCAPS_COMPLEX
Definition: ddraw.h:252
#define memset(x, y, z)
Definition: compat.h:39
long bottom
Definition: polytest.cpp:53
long right
Definition: polytest.cpp:53
long top
Definition: polytest.cpp:53
long left
Definition: polytest.cpp:53
LPDDSURFACEDESC lpTextureFormats
Definition: d3dhal.h:79
DWORD dwSize
Definition: ddraw.h:1272
DWORD dwFillColor
Definition: ddraw.h:1310
DWORD dwNumFourCCCodes
Definition: ddrawi.h:270
DWORD dwModeIndex
Definition: ddrawi.h:615
LPDWORD lpdwFourCC
Definition: ddrawi.h:616
VIDMEMINFO vmiData
Definition: ddrawi.h:611
LPDDHALMODEINFO lpModeInfo
Definition: ddrawi.h:618
LPDDHAL_DDCALLBACKS lpDDCallbacks
Definition: ddrawi.h:608
DWORD hInstance
Definition: ddrawi.h:621
DWORD dwMonitorFrequency
Definition: ddrawi.h:613
DDCORECAPS ddCaps
Definition: ddrawi.h:612
DWORD dwNumModes
Definition: ddrawi.h:617
LONG lPitch
Definition: ddrawi.h:173
DWORD dwBBitMask
Definition: ddrawi.h:179
DWORD dwWidth
Definition: ddrawi.h:171
DWORD dwHeight
Definition: ddrawi.h:172
DWORD dwGBitMask
Definition: ddrawi.h:178
DWORD dwBPP
Definition: ddrawi.h:174
DWORD dwAlphaBitMask
Definition: ddrawi.h:180
WORD wRefreshRate
Definition: ddrawi.h:176
DWORD dwRBitMask
Definition: ddrawi.h:177
LPDDRAWI_DDRAWSURFACE_LCL lpDDSrcSurface
Definition: ddrawi.h:849
LPDDRAWI_DIRECTDRAW_GBL lpDD
Definition: ddrawi.h:846
DDBLTFX bltFX
Definition: ddrawi.h:853
DWORD dwFlags
Definition: ddrawi.h:851
HRESULT ddRVal
Definition: ddrawi.h:854
LPDDRAWI_DDRAWSURFACE_LCL lpDDDestSurface
Definition: ddrawi.h:847
RECTL rDest
Definition: ddrawi.h:848
BOOL IsClipped
Definition: ddrawi.h:856
LPDDHALSURFCB_BLT Blt
Definition: ddrawi.h:855
DDHAL_DDEXEBUFCALLBACKS HALDDExeBuf
Definition: ddrawi.h:742
DDHAL_DDSURFACECALLBACKS HALDDSurface
Definition: ddrawi.h:736
DDHAL_DDCALLBACKS HALDD
Definition: ddrawi.h:735
DDHAL_DDPALETTECALLBACKS HALDDPalette
Definition: ddrawi.h:737
LPDDRAWI_DIRECTDRAW_GBL lpDD
Definition: ddrawi.h:784
LPDDSURFACEDESC lpDDSurfaceDesc
Definition: ddrawi.h:785
LPDDHAL_CANCREATESURFACE CanCreateSurface
Definition: ddrawi.h:788
LPDDSURFACEDESC lpDDSurfaceDesc
Definition: ddrawi.h:776
LPDDRAWI_DIRECTDRAW_GBL lpDD
Definition: ddrawi.h:775
LPDDRAWI_DDRAWSURFACE_LCL * lplpSList
Definition: ddrawi.h:777
LPDDHAL_CREATESURFACE CreateSurface
Definition: ddrawi.h:780
LPDDHAL_CREATESURFACE CreateSurface
Definition: ddrawi.h:350
LPDDHAL_CANCREATESURFACE CanCreateSurface
Definition: ddrawi.h:354
LPDDHALSURFCB_BLT Blt
Definition: ddrawi.h:398
LPDDHALSURFCB_UPDATEOVERLAY UpdateOverlay
Definition: ddrawi.h:403
LPDDRAWI_DIRECTDRAW_GBL lpDD
Definition: ddrawi.h:1869
LPDDHALSURFCB_UPDATEOVERLAY UpdateOverlay
Definition: ddrawi.h:1877
LPDDRAWI_DDRAWSURFACE_LCL lpDDDestSurface
Definition: ddrawi.h:1870
LPDDRAWI_DDRAWSURFACE_LCL lpDDSrcSurface
Definition: ddrawi.h:1872
LPDDRAWI_DIRECTDRAW_GBL lpDD
Definition: ddrawi.h:2016
LPRGNDATA lpStaticClipList
Definition: ddrawi.h:2020
LPDDRAWI_DDRAWCLIPPER_GBL lpGbl
Definition: ddrawi.h:1996
DDPIXELFORMAT ddpfSurface
Definition: ddrawi.h:1358
LPDDRAWI_DIRECTDRAW_GBL lpDD
Definition: ddrawi.h:1346
LPDDRAWI_DDRAWCLIPPER_LCL lpDDClipper
Definition: ddrawi.h:1481
LPDDRAWI_DDRAWSURFACE_GBL lpGbl
Definition: ddrawi.h:1468
LPDDRAWI_DDRAWSURFACE_MORE lpSurfMore
Definition: ddrawi.h:1467
LPDDHALMODEINFO lpModeInfo
Definition: ddrawi.h:1244
LPDDRAWI_DIRECTDRAW_LCL lpExclusiveOwner
Definition: ddrawi.h:1238
DDCORECAPS ddCaps
Definition: ddrawi.h:1221
VIDMEMINFO vmiData
Definition: ddrawi.h:1236
LPDDRAWI_DIRECTDRAW_GBL lp16DD
Definition: ddrawi.h:1228
LPDDHAL_CALLBACKS lpDDCBtmp
Definition: ddrawi.h:1224
LPDDRAWI_DIRECTDRAW_GBL lpGbl
Definition: ddrawi.h:1155
LPDDHAL_CALLBACKS lpDDCB
Definition: ddrawi.h:1179
DWORD dwCaps
Definition: ddraw.h:727
LPVIDMEM pvmList
Definition: ddrawi.h:228
DWORD dwNumHeaps
Definition: ddrawi.h:227
DWORD dmBitsPerPel
Definition: wingdi.h:1647
DWORD dmPelsWidth
Definition: wingdi.h:1648
DWORD dmPelsHeight
Definition: wingdi.h:1649
DWORD dmDisplayFrequency
Definition: wingdi.h:1654
USHORT biBitCount
Definition: precomp.h:46
ULONG biCompression
Definition: precomp.h:47
BITMAPINFOHEADER bmiHeader
Definition: wingdi.h:1476
#define LoadLibrary
Definition: winbase.h:3862
DWORD WINAPI GetCurrentProcessId(void)
Definition: proc.c:1158
int WINAPI GetDIBits(_In_ HDC hdc, _In_ HBITMAP hbm, _In_ UINT start, _In_ UINT cLines, _Out_opt_ LPVOID lpvBits, _At_((LPBITMAPINFOHEADER) lpbmi, _Inout_) LPBITMAPINFO lpbmi, _In_ UINT usage)
HBITMAP WINAPI CreateCompatibleBitmap(_In_ HDC hdc, _In_ INT cx, _In_ INT cy)
BOOL WINAPI DeleteDC(_In_ HDC)
HDC WINAPI CreateDCW(_In_opt_ LPCWSTR pszDriver, _In_opt_ LPCWSTR pszDevice, _In_opt_ LPCWSTR psz, _In_opt_ const DEVMODEW *pdmInit)
HWND WINAPI GetDesktopWindow(void)
Definition: window.c:628
#define ENUM_CURRENT_SETTINGS
Definition: winuser.h:179
HDC WINAPI GetDC(_In_opt_ HWND)
unsigned char UCHAR
Definition: xmlstorage.h:181

Variable Documentation

◆ hdc

HDC hdc

Definition at line 9 of file main.c.

Referenced by _check_txgetnaturalsize(), _find_font_for_range(), _GdiGetCharDimensions(), CMenuDeskBar::_OnNcPaint(), CMenuDeskBar::_OnPaint(), _Success_(), _test_color(), _test_shape_ok(), ABCWidths_helper(), AbortDoc(), AbortPath(), AboutDlgProc(), add_mf_comment(), add_ruler_units(), Icon::add_to_imagelist(), add_with_alpha(), AddFonts(), AddFontStyle(), QuickLaunchBar::AddShortcuts(), Airbrush(), alpha_blend_hdc_pixels(), alpha_blend_image(), AngleArc(), ANIMATE_EraseBackground(), ANIMATE_OpenW(), apply_GSUB_feature(), apply_GSUB_feature_to_glyph(), Apply_Indic_PostBase(), Apply_Indic_PreBase(), Apply_Indic_Rphf(), Arc(), ArcTo(), AtlCreateTargetDC(), BeginPath(), Bezier(), BITMAP_LoadImageW(), BitmapFromIcon(), CDimmedWindow::Blt(), BltCard(), Brush(), brush_fill_path(), BUTTON_CalcLabelRect(), BUTTON_DrawLabel(), BUTTON_DrawTextCallback(), BUTTON_WindowProc(), ButtonWndProc_common(), Pane::calc_single_width(), Pane::calc_widths(), ProgressDlg::CalcTextRect(), CardBlt(), CardImageWndProc(), CardWindow::CardWindow(), CBPaintBorder(), CBPaintButton(), CBPaintText(), CC_DrawCurrentFocusRect(), CC_DrawFocusRect(), CC_PaintPredefColorArray(), CC_PaintSelectedColor(), CC_PaintUserColorArray(), CC_PrepareColorGraph(), CC_WMCommand(), cdtAnimate(), cdtDraw(), cdtDrawExt(), CFn_ReleaseDC(), CFn_WMCommand(), CFn_WMInitDialog(), CFn_WMMeasureItem(), CFn_WMPaint(), check_alpha_draw(), check_bits(), check_color_table(), check_cursor_data(), check_dc_state(), check_DrawIcon(), check_DrawIconEx(), check_DrawState_Color(), check_DrawState_Size(), check_height_family_enumproc(), check_height_font_enumproc(), check_ImageList_DrawIndirect_broken(), check_ImageList_DrawIndirect_fState(), check_ImageList_DrawIndirect_fStyle(), check_ImageList_DrawIndirect_ILD_ROP(), check_item_height(), check_metafile(), check_system_palette_entries(), check_vertical_font(), check_vertical_metrics(), CheckBitmapBitsWithLine(), CheckListWndProc(), Child_OnPaint(), ChildWndProc(), ChoosePixelFormat(), Chord(), CardButton::Clip(), CardRegion::Clip(), clip_emf_enum_proc(), ClipCard(), ClockWndProc(), CloseEnhMetaFile(), CloseFigure(), CloseMetaFile(), co_IntDrawCaret(), co_IntInitializeDesktopGraphics(), co_UserGetUpdateRect(), COMBO_Paint(), COMBO_ThemedPaint(), COMBO_WindowProc(), COMCTL32_GetFontMetrics(), compare_bitmap_bits_(), compare_bounds(), compare_hash(), compare_hash_broken_todo(), ConfigDlgProc(), ConfirmMsgBox_Init(), ConfirmMsgBox_Paint(), Consonant_is_below_base_form(), Consonant_is_post_base_form(), Consonant_is_pre_base_form(), Consonant_is_ralf(), context_choose_pixel_format(), context_create_wgl_attribs(), ContextualShape_Arabic(), ContextualShape_Bengali(), ContextualShape_Devanagari(), ContextualShape_Gujarati(), ContextualShape_Gurmukhi(), ContextualShape_Hebrew(), ContextualShape_Kannada(), ContextualShape_Khmer(), ContextualShape_Lao(), ContextualShape_Malayalam(), ContextualShape_Mongolian(), ContextualShape_Oriya(), ContextualShape_Phags_pa(), ContextualShape_Sinhala(), ContextualShape_Syriac(), ContextualShape_Tamil(), ContextualShape_Telugu(), ContextualShape_Thaana(), ContextualShape_Thai(), SEALED_::ControlWindowProc(), ConvertToBlackAndWhite(), Create32BitHBITMAP(), create_alpha_bitmap(), Icon::create_bitmap(), create_bitmap(), create_emf(), create_metafile(), create_mf(), create_mfpict(), create_picture(), create_printer_dc(), create_taskdialog_template(), create_test_bitmap(), create_test_icon(), CreateColorDIB(), CreateCompatibleDC(), CreateDCA(), CreateEnhMetaFileA(), CreateEnhMetaFileW(), CCharMapWindow::CreateFontComboBox(), CreateICA(), CreateLayoutIcon(), CreateMatrix(), CreateMetaFileA(), CreateMetaFileW(), CreateMonoBitmap(), CreateSinkBmp(), CreateTitleFont(), CreateTrayIcon(), ctrl_resize(), CURSORICON_GetCursorDataFromBMI(), customdraw_fill(), D3DXCreateTextA(), D3DXCreateTextTest(), D3DXCreateTextW(), DataCache_GetExtent(), DATETIME_EraseBackground(), DATETIME_GetFieldWidth(), DATETIME_GetIdealSize(), DATETIME_Paint(), DATETIME_Refresh(), DC_LockDc(), DceGetDceFromDC(), DCICreatePrimary(), DdCreateDirectDrawObject(), ddraw_surface7_ReleaseDC(), DDRedrawFrame(), DdSetGammaRamp(), DDUpdateFrame(), DECLARE_INTERFACE_(), DecodeMatrix(), DecomposeVowels(), default_page_paint_hook(), DEFDLG_Proc(), DefWndDoSizeMove(), DefWndPrint(), DefWndScreenshot(), DeleteDC(), DescribePixelFormat(), DesktopWndProcW(), RdpClientUI::DisplayWindowProc(), DlgProc(), DocumentEvent(), DocumentEventEx(), DoEntry(), DoMatrixMessage(), DPtoLP(), TextTool::draw(), CardButton::Draw(), Icon::draw(), draw_diag_edge(), draw_graphics(), draw_margin_lines(), draw_rect_edge(), draw_space(), draw_splitbar(), draw_string_callback(), draw_text(), draw_text_2(), CToolSettingsWindow::drawAirBrush(), StartMenu::DrawArrows(), CTrayClockWnd::DrawBackground(), DrawBoard(), CToolSettingsWindow::drawBox(), CToolSettingsWindow::drawBrush(), DrawCaptionTempA(), DrawCard(), DrawCardCorner(), DrawCheckedRect(), DrawClock(), BackgroundWindow::DrawDesktopBkgnd(), DrawDibBegin(), DrawDibDraw(), DrawDibRealize(), DrawFace(), StartMenu::DrawFloatingButton(), DrawFocusRect(), DrawGlyph(), DrawGrayText(), DrawHands(), DrawHorzCardStrip(), DrawIconEx(), DrawInsert(), DrawLeds(), CToolSettingsWindow::drawLine(), DrawMatrixMessage(), DrawMine(), DrawMines(), CardButton::DrawRect(), CToolSettingsWindow::drawRubber(), DrawShadowText(), CTrayWindow::DrawShowDesktopButton(), drawSizeBoxes(), CTrayWindow::DrawSizerWithTheme(), DrawStatusTextA(), DrawStatusTextW(), DrawTest(), DrawTextA(), DrawTextExA(), DrawTextExW(), DrawTextExWorker(), DrawTextW(), DrawThemeBackground(), DrawThemeBackgroundEx(), DrawThemeEdge(), DrawThemeParentBackground(), DrawThemeText(), CToolSettingsWindow::drawTrans(), DrawVertCardStrip(), DrawXorRect(), DxEngCleanDC(), DxEngDeleteDC(), DxEngSelectBitmap(), EDIT_NotifyCtlColor(), EDIT_WM_Paint(), EDIT_WM_SetFocus(), Ellipse(), Ellp(), EMF_FixIsotropic(), EMF_PlayEnhMetaFileCallback(), EMF_SetMapMode(), EMF_Update_MF_Xform(), emfdc_delete_object(), EMFDC_GdiComment(), EmfEnumProc(), EndDoc(), EndFormPage(), EndPage(), EndPath(), EngpRegisterGraphicsDevice(), enum_emf_WorldTransform(), EnumDisplayMonitors(), EnumEnhMetaFile(), EnumFontFamiliesA(), EnumFontFamiliesExA(), EnumFontFamiliesExW(), EnumFontFamiliesW(), EnumMetaFile(), EnumObjects(), Erase(), CTrayWindow::EraseBackgroundWithTheme(), Escape(), eto_emf_enum_proc(), ExcludeClipRect(), ExtFloodFill(), ExtractOneBitmap(), ExtSelectClipRgn(), ExtTextOutA(), ExtTextOutW(), FancyLogoffOnInit(), FILEDLG95_LOOKIN_Init(), FileMenu_MeasureItem(), Fill(), FillFontStyleComboList(), FillPath(), FillRgn(), find_installed_font(), FindBaseConsonant(), FlattenPath(), FloodFill(), fnIMLangFontLink2_GetFontCodePages(), fnIMLangFontLink_GetFontCodePages(), Font::Font(), FONT_GetCharsByRangeA(), FONT_mbtowc(), FrameRgn(), free_image_data(), Graphics::FromHDC(), gdi_alpha_blend(), gdi_get_font_metrics(), GDI_hdc_not_using_object(), GDI_hdc_using_object(), GdiAddGlsBounds(), GdiAllocBatchCommand(), GdiCleanCacheDC(), GdiComment(), GdiConvertAndCheckDC(), GdiConvertDC(), GdiGetCharDimensions(), GdiGetCodePage(), GdiGetDcAttr(), GdiGetLDC(), GdiGetLocalDC(), GdiGradientFill(), GdiIsMetaFileDC(), GdiIsMetaPrintDC(), GdiIsPlayMetafileDC(), gdip_format_string(), GdipCreateBitmapFromHBITMAP(), GdipCreateFont(), GdipCreateFontFromDC(), GdipCreateFontFromLogfontA(), GdipCreateFontFromLogfontW(), GdipCreateFromHDC(), GdipCreateFromHDC2(), GdipCreateFromHWND(), GdipDrawImagePointsRect(), GdipDrawString(), GdipGetDC(), GdipGetImageGraphicsContext(), GdipIsStyleAvailable(), GdipMeasureCharacterRanges(), GdipMeasureDriverString(), GdipMeasureString(), GdipNewInstalledFontCollection(), GdipPrivateAddMemoryFont(), GdipRecordMetafile(), GdipRecordMetafileFileName(), GdipRecordMetafileFileNameI(), GdipRecordMetafileI(), GdipRecordMetafileStream(), GdipReleaseDC(), GdiRealizationInfo(), GdiSelectBitmap(), GdiSelectBrush(), GdiSelectFont(), GdiSelectPen(), GdiSelectVisRgn(), GdiSetLDC(), get_16bpp_format(), get_bitmap_info(), get_bitsperpixel(), get_brush_bitmap_info(), get_cjk_font_margins(), get_color_format(), get_current_font_height(), get_dc(), get_dc_data(), get_dc_data_ex(), get_dc_ptr(), get_dc_region(), get_default_color_table(), get_display_dc(), get_dpiy(), get_first_last_from_cmap(), get_font_dpi(), get_font_fsselection(), get_font_hfont(), get_font_metrics(), get_format(), get_glyph_indices(), get_image_part_size(), get_metadc_ptr(), get_opentype_script(), get_pixelsperxlogicalinch(), get_points_bounds(), get_print_rect(), get_stgdef(), get_text_metr_size(), get_tmheight(), get_tmheightW(), get_ttf_nametable_entry(), GetAndSetDCDWord(), GetArcDirection(), GetAspectRatioFilterEx(), GetBitmapPixelBuffer(), GetBkColor(), GetBkMode(), GetBoundsRect(), GetBoundsRectAlt(), GetBrushOrgEx(), GetCharABCWidthsA(), GetCharABCWidthsFloatA(), GetCharABCWidthsFloatW(), GetCharABCWidthsI(), GetCharABCWidthsW(), GetCharacterPlacementA(), GetCharacterPlacementW(), GetCharWidth32A(), GetCharWidth32W(), GetCharWidthA(), GetCharWidthFloatA(), GetCharWidthFloatW(), GetCharWidthI(), GetCharWidthW(), GetClipBox(), GetClipRgn(), GetControlBrush(), GetControlColor(), GetCurrentObject(), GetCurrentPositionEx(), GetDCBrushColor(), GetDCDWord(), GetDCOrg(), GetDCOrgEx(), GetDCPenColor(), GetDeviceCaps(), GetDeviceGammaRamp(), GetDialogBaseUnits(), GetDiaogTextureBrush(), GetETM(), GetExpected(), GetFontAssocStatus(), GetFontData(), GetGlyphIndicesA(), GetGlyphOutlineA(), GetGlyphOutlineW(), GetGraphicsMode(), Graphics::GetHDC(), GetHFONT(), GetICMProfileA(), GetICMProfileW(), GetIdealItemHeight(), GetKerningPairsW(), GetLayout(), GetMapMode(), GetMetaRgn(), GetOutlineTextMetricsA(), GetOutlineTextMetricsW(), GetPath(), GetPixel(), GetPixelFormat(), GetPolyFillMode(), GetPrintingRect(), GetRealColorDepth(), GetRelAbs(), GetROP2(), GetScreenDPI(), GetStartMenuBtnTextWidth(), GetStretchBltMode(), GetStringBitmapA(), GetStringBitmapW(), GetTextAlign(), GetTextCharacterExtra(), GetTextCharset(), GetTextColor(), GetTextExtentExPointA(), GetTextExtentExPointI(), GetTextExtentExPointW(), GetTextExtentExPointWPri(), GetTextExtentPoint32A(), GetTextExtentPoint32W(), GetTextExtentPointA(), GetTextExtentPointI(), GetTextExtentPointW(), GetTextFaceA(), GetTextFaceAliasW(), GetTextFaceW(), GetTextMetricsA(), GetTextMetricsW(), GetThemeBackgroundContentRect(), GetThemeBackgroundExtent(), GetThemeBackgroundRegion(), GetThemeFont(), GetThemePartSize(), GetThemeSysFont(), GetThemeTextExtent(), GetThemeTextMetrics(), GetViewportExtEx(), GetViewportOrgEx(), GetWindowExtEx(), GetWindowOrgEx(), GetWorldTransform(), Ghost_OnDraw(), Ghost_OnNCPaint(), Ghost_OnPaint(), Graph_WndProc(), GraphCtrl_Create(), GraphCtrl_RedrawOnHeightChange(), GraphCtrl_WndProc(), Graphics::Graphics(), GreCreateCompatibleDC(), GreDPtoLP(), GreGetBkColor(), GreGetBkMode(), GreGetDCOrgEx(), GreGetGraphicsMode(), GreGetMapMode(), GreGetSetColorTable(), GreGetTextColor(), GreGetTextMetricsW(), GreGetViewportExtEx(), GreGetWindowExtEx(), GreGradientFill(), GreLPtoDP(), GreMovePointer(), GreMoveTo(), GreOpenDCW(), GreSetBrushOrg(), GreSetDCOrg(), GreSetDCOwner(), GreSetPointerShape(), GreTextOutW(), HackFillStaticBg(), HandlePrintPasswdChar(), HDropFromClipboard(), HEADER_Create(), HEADER_DrawHotDivider(), HEADER_DrawItem(), HEADER_DrawItemFrame(), HEADER_DrawTrackLine(), HEADER_FillItemFrame(), HEADER_LButtonDown(), HEADER_LButtonUp(), HEADER_MouseLeave(), HEADER_MouseMove(), HEADER_Paint(), HEADER_Refresh(), HEADER_SendCtrlCustomDraw(), HEADER_SetFont(), HLPFILE_RtfAddTransparentBitmap(), HOTKEY_DrawHotKey(), HOTKEY_EraseBackground(), HOTKEY_Paint(), HOTKEY_Refresh(), HOTKEY_SetFont(), ICDrawBegin(), COpenWithMenu::IconToBitmap(), if(), ImageList_CreateImage(), ImageList_Draw(), ImageList_DrawEx(), ImageList_InternalDragDraw(), ImagingFactory_CreateBitmapFromHBITMAP(), ImagingFactory_CreateBitmapFromHICON(), Imm32DrawBitmap(), Indic_ParseSyllables(), Indic_ReorderCharacters(), init(), init_custom_controls(), init_script_cache(), InitInstance(), TrayNotifyDlg::InsertItem(), IntCreate32BppBitmap(), IntCreateDICW(), IntDrawDiagEdge(), IntDrawRectEdge(), IntDrawState(), IntEndPage(), IntEndPaint(), IntersectClipRect(), IntGdiCreateDC(), IntGetCharDimensions(), IntGetDialogBaseUnits(), IntGetIcdData(), IntGetWindowBitmap(), IntMakeCurrent(), IntPolygon(), IntRefeshScrollInterior(), IntSetDCBrushColor(), IntSetDCPenColor(), IntSynthesizeBitmap(), IntSynthesizeDib(), IntUpdateLayeredWindowI(), InvertRgn(), SelectionModel::InvertSelection(), IPADDRESS_Draw(), IPADDRESS_Paint(), is_font_available(), is_font_enumerated(), is_font_installed(), is_font_installed_fullname(), is_meta_dc(), is_postscript_printer(), is_truetype_font_installed(), IsBitmapBlackAndWhite(), iterator_visibleitems(), ITextHostImpl_TxReleaseDC(), Line(), LineTo(), LISTBOX_DrawFocusRect(), LISTBOX_NCPaint(), LISTBOX_Paint(), LISTBOX_PaintItem(), LISTBOX_RepaintItem(), LISTBOX_SetFont(), LISTBOX_WindowProc(), ListBoxWndProc_common(), LISTVIEW_Command(), LISTVIEW_CreateCheckBoxIL(), LISTVIEW_CreateDragImage(), LISTVIEW_DrawFocusRect(), LISTVIEW_DrawItem(), LISTVIEW_DrawTrackLine(), LISTVIEW_EditLabelT(), LISTVIEW_EraseBkgnd(), LISTVIEW_FillBkgnd(), LISTVIEW_GetItemMetrics(), LISTVIEW_GetStringWidthT(), LISTVIEW_IsItemVisible(), LISTVIEW_Paint(), LISTVIEW_PrintClient(), LISTVIEW_Refresh(), LISTVIEW_RefreshList(), LISTVIEW_RefreshOwnerDraw(), LISTVIEW_RefreshReport(), LISTVIEW_RefreshReportGrid(), LISTVIEW_SaveTextMetrics(), LISTVIEW_SetColumnWidth(), LISTVIEW_ShowFocusRect(), LISTVIEW_WMPaint(), load_CMAP_format12_table(), load_dib(), load_gdef_table(), load_gpos_table(), load_gsub_table(), load_OT_feature(), load_ot_tables(), LoadCardBitmapsFromLibrary(), LPK_DrawUnderscore(), LpkExtTextOut(), LpkGetCharacterPlacement(), LpkGetTextExtentExPoint(), LpkPSMTextOut(), LPtoDP(), LrgCellWndProc(), MainProc(), MainWndProc(), map_font(), mark_invalid_combinations(), MD_OnCtlColor(), MD_OnEraseBkgnd(), MD_OnIconEraseBkgnd(), MDI_AugmentFrameMenu(), ME_RTFReadPictGroup(), measure_ranges_callback(), MENU_CalcItemSize(), MENU_DrawBitmapItem(), MENU_DrawMenuItem(), MENU_DrawPopupMenu(), MENU_DrawScrollArrows(), MENU_EnsureMenuItemVisible(), MENU_MenuBarCalcSize(), MENU_PopupMenuCalcSize(), MENU_SelectItem(), METADC_Arc(), METADC_BitBlt(), METADC_Chord(), METADC_DeleteDC(), METADC_DeleteObject(), METADC_Ellipse(), METADC_ExcludeClipRect(), METADC_ExtEscape(), METADC_ExtFloodFill(), METADC_ExtSelectClipRgn(), METADC_ExtTextOut(), METADC_FillRgn(), METADC_FrameRgn(), METADC_GetDeviceCaps(), METADC_IntersectClipRect(), METADC_InvertRgn(), METADC_LineTo(), METADC_MoveTo(), METADC_OffsetClipRgn(), METADC_OffsetViewportOrgEx(), METADC_OffsetWindowOrgEx(), METADC_PaintRgn(), metadc_param0(), metadc_param1(), metadc_param2(), metadc_param4(), metadc_param5(), metadc_param6(), metadc_param8(), METADC_PatBlt(), METADC_Pie(), metadc_poly(), METADC_Polygon(), METADC_Polyline(), METADC_PolyPolygon(), METADC_RealizePalette(), metadc_record(), METADC_Rectangle(), METADC_RestoreDC(), METADC_RosGlueDeleteDC(), METADC_RosGlueDeleteObject(), METADC_RoundRect(), METADC_SaveDC(), METADC_ScaleViewportExtEx(), METADC_ScaleWindowExtEx(), metadc_select_object(), METADC_SelectBrush(), METADC_SelectFont(), METADC_SelectObject(), METADC_SelectPalette(), METADC_SelectPen(), METADC_SetBkColor(), METADC_SetBkMode(), METADC_SetD(), METADC_SetDIBitsToDevice(), METADC_SetLayout(), METADC_SetMapMode(), METADC_SetMapperFlags(), METADC_SetPixel(), METADC_SetPolyFillMode(), METADC_SetRelAbs(), METADC_SetROP2(), METADC_SetStretchBltMode(), METADC_SetTextAlign(), METADC_SetTextCharacterExtra(), METADC_SetTextColor(), METADC_SetTextJustification(), METADC_SetViewportExtEx(), METADC_SetViewportOrgEx(), METADC_SetWindowExtEx(), METADC_SetWindowOrgEx(), metadc_stretchblt(), METADC_StretchDIBits(), metadc_text(), METAFILE_GetDC(), METAFILE_ReleaseDC(), METAFILE_WriteHeader(), mf_enum_proc(), MF_Play_MetaExtTextOut(), MFDRV_CloseMetaFile(), MirrorRgnDC(), ModifyWorldTransform(), MONTHCAL_Circle(), MONTHCAL_CircleDay(), MONTHCAL_EraseBkgnd(), MONTHCAL_Paint(), MONTHCAL_PaintCalendar(), MONTHCAL_PaintFocusAndCircle(), MONTHCAL_PaintLeadTrailMonths(), MONTHCAL_PaintTitle(), MONTHCAL_PaintTodayTitle(), MONTHCAL_PrintClient(), MONTHCAL_UpdateSize(), CardRegion::MoveCard(), CardRegion::MoveDragCardTo(), MoveToEx(), msi_dialog_add_font(), msi_dialog_get_sans_serif_height(), MSSTYLES_GetFont(), mstsc_WndProc(), MyDrawCaptionButtons(), MyDrawCaptionTemp(), MyDrawFrameButton(), MyDrawScrollbar(), MyDrawText(), MyIntDrawRectEdge(), MyTextOut(), NewGetCharacterPlacementW(), NtGdiCreateCompatibleDC(), NtGdiCreateMetafileDC(), NtGdiDdCreateDirectDrawObject(), NtGdiDdSetGammaRamp(), NtGdiExcludeClipRect(), NtGdiFillRgn(), NtGdiFrameRgn(), NtGdiGetBoundsRect(), NtGdiGetCharacterPlacementW(), NtGdiGetDCforBitmap(), NtGdiGetDeviceCaps(), NtGdiGetDeviceWidth(), NtGdiGetFontUnicodeRanges(), NtGdiGetGlyphIndicesW(), NtGdiGetGlyphOutline(), NtGdiGetPixel(), NtGdiGetRandomRgn(), NtGdiGetRealizationInfo(), NtGdiGetTextCharsetInfo(), NtGdiGetTextExtent(), NtGdiGetTransform(), NtGdiGradientFill(), NtGdiIntersectClipRect(), NtGdiInvertRgn(), NtGdiMakeInfoDC(), NtGdiMirrorWindowOrg(), NtGdiModifyWorldTransform(), NtGdiOffsetClipRgn(), NtGdiOpenDCW(), NtGdiPolyDraw(), NtGdiRestoreDC(), NtGdiSelectBitmap(), NtGdiSelectFont(), NtGdiSetBoundsRect(), NtGdiSetColorSpace(), NtGdiSetLayout(), NtGdiSetMiterLimit(), NtGdiSetPixel(), NtGdiSetPixelFormat(), NtGdiSetSizeDevice(), NtGdiSetVirtualResolution(), NtGdiStretchDIBitsInternal(), NtGdiSwapBuffers(), NtUserBitBltSysBmp(), NtUserCalcMenuBar(), NtUserDrawIconEx(), NtUserEnumDisplayMonitors(), NtUserGetControlBrush(), NtUserGetControlColor(), OffsetClipRgn(), OffsetViewportOrgEx(), OffsetWindowOrgEx(), ok_path(), OleCreatePropertyFrameIndirect(), OLEFontImpl_SetHdc(), OleIsDcMeta(), OleMetafilePictFromIconAndLabel(), OLEPictureImpl_Render(), on_wm_initdialog(), CMenuToolbarBase::OnCustomDraw(), RubberTool::OnDraw(), PenTool::OnDraw(), BrushTool::OnDraw(), AirBrushTool::OnDraw(), CTrayShowDesktopButton::OnDraw(), ToolsModel::OnDrawOverlayOnCanvas(), SelectionBaseTool::OnDrawOverlayOnCanvas(), ZoomTool::OnDrawOverlayOnCanvas(), BezierTool::OnDrawOverlayOnImage(), ShapeTool::OnDrawOverlayOnImage(), ToolsModel::OnDrawOverlayOnImage(), SmoothDrawTool::OnDrawOverlayOnImage(), SelectionBaseTool::OnDrawOverlayOnImage(), FreeSelTool::OnDrawOverlayOnImage(), RectSelTool::OnDrawOverlayOnImage(), AirBrushTool::OnDrawOverlayOnImage(), TextTool::OnDrawOverlayOnImage(), LineTool::OnDrawOverlayOnImage(), RectTool::OnDrawOverlayOnImage(), EllipseTool::OnDrawOverlayOnImage(), RRectTool::OnDrawOverlayOnImage(), CSysPagerWnd::OnEraseBackground(), CTaskSwitchWnd::OnEraseBackground(), CTrayClockWnd::OnEraseBackground(), CTrayNotifyWnd::OnEraseBackground(), CTrayWindow::OnEraseBackground(), OnInitDialog(), CardRegion::OnLButtonUp(), CardRegion::OnMouseMove(), CGridView::OnPaint(), Window::OnPaint(), OnPaint(), CToolSettingsWindow::OnPaint(), CTrayShowDesktopButton::OnPaint(), CGridView::OnSize(), OpenType_CMAP_GetGlyphIndex(), OSK_Paint(), OwnerTestProc(), PAGER_DrawButton(), PAGER_EraseBackground(), PAGER_MouseMove(), PAGER_NCPaint(), CardWindow::Paint(), paint_button(), paint_document(), paint_ruler(), PaintBanner(), CardWindow::PaintCardRgn(), PaintDesktop(), PAINTING_DrawStateJam(), CAppScrnshotPreview::PaintOnDC(), PaintRect(), PaintRgn(), PatBlt(), PathCompactPathW(), PathSetDlgItemPathW(), PathToRegion(), picture_render(), Pie(), PlayEnhMetaFile(), PlayEnhMetaFileFromClipboard(), PlayEnhMetaFileRecord(), PlayMetaFile(), PlayMetaFileFromClipboard(), PlayMetaFileRecord(), Poly(), PolyBezier(), PolyBezierTo(), PolyDraw(), Polygon(), PolygonTest(), Polyline(), PolylineTo(), PolyPatBlt(), PolyPolygon(), PolyPolyline(), PolyTextOutA(), PolyTextOutW(), populate_font_list(), populate_size_list(), prepaint_setup(), CardRegion::PrepareDragBitmaps(), CardRegion::PrepareDragBitmapsThreed(), PressBox(), preview_proc(), print_preview(), print_something(), PRINTDLG_PagePaintProc(), PrintTextXY(), CAppScrnshotPreview::ProcessWindowMessage(), PROGRESS_Draw(), PROGRESS_Paint(), PROPSHEET_Paint(), read_line(), realize_font(), RealizeClipboardPalette(), RealizePalette(), REBAR_DrawBand(), REBAR_DrawChevron(), REBAR_EraseBkGnd(), REBAR_NCPaint(), REBAR_Paint(), REBAR_Refresh(), REBAR_ValidateBand(), Rect(), Rectangle(), RectSel(), CardButton::Redraw(), CardRegion::Redraw(), RedrawMatrixColumn(), Graphics::ReleaseHDC(), CardRegion::Render(), render_masked_bitmap(), Replace(), requires_fallback(), reset_bounds(), ResetDCA(), ResetDCW(), RestoreDC(), RestorePalette(), RichEditWndProc_common(), RosImageProc(), RoundRect(), RRect(), save_dib(), save_emf(), SaveDC(), savedc_emf_enum_proc(), SB_OnPaint(), ScaleViewportExtEx(), ScaleWindowExtEx(), ScreenSaverProc(), ScriptCacheGetHeight(), ScriptGetCMap(), ScriptGetFontFeatureTags(), ScriptGetFontLanguageTags(), ScriptGetFontProperties(), ScriptGetFontScriptTags(), ScriptGetGlyphABCWidth(), ScriptPlace(), ScriptPlaceOpenType(), ScriptShape(), ScriptShapeOpenType(), ScriptStringAnalyse(), ScriptTextOut(), SCROLL_RefreshScrollBar(), SelectClipPath(), SelectClipRgn(), SelectObject(), SelectPalette(), set_cache_font_properties(), set_control_clipping(), set_window(), SetAbortProc(), SetArcDirection(), CardWindow::SetBackColor(), SetBkColor(), SetBkMode(), SetBoundsRect(), SetBoundsRectAlt(), SetBrushOrgEx(), SetDCBrushColor(), SetDCPenColor(), SetDeviceGammaRamp(), SetDIBitsToDevice(), CGridView::SetFont(), SetFont(), SetFontStylesToCombo2(), SetGraphicsMode(), SetLayout(), SetLayoutWidth(), SetLrgFont(), SetMapMode(), SetMatrixMessage(), SetMessageFont(), SetMiterLimit(), SetPixel(), SetPixelFormat(), SetPixelV(), SetPolyFillMode(), SetRelAbs(), SetROP2(), SetSpecialDCState(), SetSpecialDCState2(), SetStretchBltMode(), SetTextAlign(), SetTextCharacterExtra(), SetTextColor(), SetTextJustification(), SetViewportExtEx(), SetViewportOrgEx(), SetVirtualResolution(), SetWindowExtEx(), SetWindowOrgEx(), SetWinMetaFileBits(), SetWorldTransform(), SHAPE_ApplyDefaultOpentypeFeatures(), SHAPE_ApplyOpenTypeFeatures(), SHAPE_ApplyOpenTypePositions(), SHAPE_CharGlyphProp(), SHAPE_CheckFontForRequiredFeatures(), SHAPE_ContextualShaping(), SHAPE_does_GSUB_feature_apply_to_chars(), SHAPE_GetFontFeatureTags(), SHAPE_GetFontLanguageTags(), SHAPE_GetFontScriptTags(), ShapeCharGlyphProp_BaseIndic(), ShapeCharGlyphProp_Bengali(), ShapeCharGlyphProp_Devanagari(), ShapeCharGlyphProp_Gujarati(), ShapeCharGlyphProp_Gurmukhi(), ShapeCharGlyphProp_Kannada(), ShapeCharGlyphProp_Khmer(), ShapeCharGlyphProp_Malayalam(), ShapeCharGlyphProp_Oriya(), ShapeCharGlyphProp_Sinhala(), ShapeCharGlyphProp_Tamil(), ShapeCharGlyphProp_Telugu(), ShapeIndicSyllables(), shaptest(), SHAreIconsEqual(), SHCreateShellPalette(), SHGetCurColorRes(), show_image(), ShutdownOnFriendlyInit(), SnapWindow(), SOFTWARE_GdipDrawDriverString(), solid_patblt(), START_TEST(), StartDocA(), StartDocW(), StartFormPage(), StartPage(), STATIC_PaintBitmapfn(), STATIC_PaintEnhMetafn(), STATIC_PaintEtchedfn(), STATIC_PaintIconfn(), STATIC_PaintOwnerDrawfn(), STATIC_PaintRectfn(), STATIC_PaintTextfn(), STATIC_SendWmCtlColorStatic(), STATIC_TryPaintFcn(), STATIC_WindowProc(), StaticWndProc_common(), STATUSBAR_ComputeHeight(), STATUSBAR_DrawPart(), STATUSBAR_DrawSizeGrip(), STATUSBAR_Refresh(), STATUSBAR_RefreshPart(), STATUSBAR_WMPaint(), stretch_blt_icon(), StretchDIBits(), string_width(), StrokeAndFillPath(), StrokePath(), sw_SetContext(), sw_SetPixelFormat(), SwapBuffers(), synthesize_bitmap(), synthesize_dib(), SYSLINK_Draw(), SYSLINK_GetIdealHeight(), SYSLINK_GetIdealSize(), SYSLINK_Paint(), SYSLINK_Render(), SYSLINK_SetFont(), SYSLINK_SetText(), SysLinkWindowProc(), TAB_Create(), TAB_DrawBorder(), TAB_DrawItem(), TAB_DrawItemInterior(), TAB_DrawLoneItemInterior(), TAB_EraseTabInterior(), TAB_Paint(), TAB_Refresh(), TAB_SetItemBounds(), target_device(), taskdialog_get_text_extent(), TaskManagerWndProc(), test_acceleration(), test_all_functions(), test_alpha_hdc(), test_anglearc(), test_arcto(), test_bcm_get_ideal_size(), test_begin_paint(), test_BeginContainer2(), Test_BeginPath(), test_bitmap(), test_bitmap_colors(), test_bitmap_font(), test_bitmap_font_glyph_index(), test_bitmap_font_metrics(), test_bitmap_formats(), test_bitmapfromgraphics(), test_bitmapinfoheadersize(), test_bm_get_set_image(), test_boundsrect(), test_brush_org(), test_buffer_dc_props(), test_buffered_paint(), Test_bug3481(), test_button_bm_get_set_image(), test_button_messages(), test_child_process(), test_clear(), test_clip_xform(), test_cliphrgn_transform(), test_clipping(), test_clipping_2(), test_closefigure(), test_color_table(), test_colorbits(), Test_CompatBitmap(), Test_CompatBitmapEntry(), test_constructor_destructor(), test_container_rects(), test_containers(), test_converttoemfplus(), test_CreateBitmap(), Test_CreateCompatibleDC(), test_CreateCompatibleDC(), test_createdibitmap(), Test_CreateDIBitmap1(), Test_CreateDIBitmap_CBM_CREATDIB(), Test_CreateDIBitmap_DIB_PAL_COLORS(), Test_CreateDIBitmap_Params(), Test_CreateDIBitmap_RLE8(), Test_CreateDIBPatternBrushPt_RLE8(), test_createhbitmap(), test_CreateIcon(), test_createtext(), test_CreateWindow(), test_data_cache_dib_contents_stream(), test_dc(), test_dc_attributes(), test_DC_bitmap(), test_dc_layout(), test_dc_values(), test_dc_visrgn(), test_deletecontext(), test_DeleteDC(), test_desktop_colorres(), test_DestroyCursor(), test_device_caps(), test_dib_bits_access(), test_dib_formats(), test_DIB_PAL_COLORS(), Test_DIBSection(), Test_DIBSectionEntry(), test_dibsections(), test_DispatchMessage(), test_dpi_context(), test_dpi_mapping(), test_dpi_stock_objects(), test_DrawDib_sizeimage(), test_drawimage(), test_DrawIndirect(), test_drawpath(), test_DrawState(), test_DrawTextCalcRect(), test_dtm_get_ideal_size(), test_east_asian_font_selection(), test_ellipse(), test_EM_FORMATRANGE(), test_emf_clipping(), test_emf_WorldTransform(), test_emfonly(), test_empty(), test_enumdisplaydevices_adapter(), test_EnumDisplaySettings(), test_EnumFontFamilies(), test_EnumFontFamiliesEx_default_charset(), test_EnumFonts(), test_EnumFonts_subst(), Test_ExcludeClipRect(), test_fake_bold_font(), test_fillpath(), test_fillrect(), test_FillRect(), test_font_caps(), test_font_height_scaling(), test_font_metrics(), test_font_substitution(), test_font_transform(), test_format(), test_frameunit(), test_fromhrgn(), test_fromMemoryBitmap(), test_fstype_fixup(), test_fullname(), test_fullname2_helper(), test_gamma(), test_gdi_dbuf(), test_gdi_objects(), Test_GdiGetCharDimensions(), test_GdiGetCharDimensions(), test_GdiGetCodePage(), test_GdiGradientFill(), test_gdiis(), test_GdipCreateBitmapFromHBITMAP(), test_GdipCreateRegionRgnData(), test_GdipDrawArc(), test_GdipDrawArcI(), test_GdipDrawBezierI(), test_GdipDrawCurve(), test_GdipDrawCurve2(), test_GdipDrawCurve2I(), test_GdipDrawCurve3(), test_GdipDrawCurve3I(), test_GdipDrawCurveI(), test_GdipDrawImagePointsRect(), test_GdipDrawImagePointsRectOnMemoryDC(), test_GdipDrawLineI(), test_GdipDrawLinesI(), test_GdipDrawString(), test_GdipFillClosedCurve(), test_GdipFillClosedCurve2(), test_GdipFillClosedCurve2I(), test_GdipFillClosedCurveI(), test_GdipFillPath(), test_GdipFillRectangles(), test_GdipFillRectanglesOnMemoryDCSolidBrush(), test_GdipFillRectanglesOnMemoryDCTextureBrush(), test_GdipGetNearestColor(), test_GdipGetVisibleClipBounds(), test_GdipGetVisibleClipBounds_memoryDC(), test_GdipGetVisibleClipBounds_screen(), test_GdipGetVisibleClipBounds_window(), test_GdipGraphicsSetAbort(), test_GdipIsVisiblePoint(), test_GdipIsVisibleRect(), test_gditransform(), test_Get_Release_DC(), test_get_set_clip(), test_get_set_imagelist(), test_get_set_interpolation(), test_get_set_textrenderinghint(), test_getbounds(), test_GetCharABCWidths(), test_GetCharacterPlacement(), test_GetCharWidth32(), test_GetCharWidthI(), Test_GetClipBox(), test_GetClipRgn(), test_GetCurrentObject(), test_GetCursorFrameInfo(), test_getdc(), test_getdc_scaled(), Test_GetDIBColorTable(), test_GetDIBits(), test_GetDIBits_BI_BITFIELDS(), test_GetDIBits_scanlines(), test_GetDIBits_top_down(), Test_GetDIBits_xBpp(), test_GetFontUnicodeRanges(), test_GetGlyphIndices(), test_GetGlyphOutline(), test_GetGlyphOutline_empty_contour(), test_GetGlyphOutline_metric_clipping(), test_gethrgn(), Test_GetIdealSizeNoThemes(), test_GetKerningPairs(), test_GetOutlineTextMetrics(), Test_GetPixel_1bpp(), test_getprocaddress(), test_GetRandomRgn(), Test_GetRandomRgn_CLIPRGN(), Test_GetRandomRgn_Params(), Test_GetRandomRgn_RGN5(), Test_GetRandomRgn_SYSRGN(), test_GetSetDIBits_rtl(), test_GetSystemMetrics(), test_GetTextMetrics(), test_GetTextMetrics2(), test_gettransform(), test_halftone_palette(), test_hdc_caching(), test_height(), test_height_selection(), test_height_selection_vdmx(), test_himetric(), test_icon_info_dbg(), test_ID3DXFont(), test_ifont_sizes(), test_IImageList_Draw(), test_Image_StretchMode(), test_Invoke(), test_isempty(), test_isequal(), test_isinfinite(), test_isotropic_mapping(), Test_IsSpecialState(), test_isvisible(), test_isvisiblepoint(), test_isvisiblerect(), test_item_count(), test_item_height(), test_layered_window(), test_load_save_emf(), test_LoadImageBitmap(), test_logfont(), test_LVS_EX_TRANSPARENTBKGND(), test_make_current_read(), test_MapFont(), test_margins_default(), test_margins_usefontinfo(), test_marshal_HDC(), test_max_height(), test_mbs_help(), test_measure_string(), test_measured_extra_space(), test_memory_dc_clipping(), Test_Messages(), test_mf_clipping(), test_mf_GetPath(), Test_Misc(), test_modify_world_transform(), test_mono_bitmap(), test_mono_dibsection(), test_negative_width(), test_nonexistent_font(), test_NtGdiDdCreateDirectDrawObject(), Test_NtGdiDoPalette_SetDIBColorTable(), test_nullframerect(), test_oemcharset(), Test_OffsetClipRgn(), Test_OffsetRgn(), test_OleLoad(), test_opengl3(), test_orientation(), test_outline_font(), test_pack_PAINTSTRUCT(), test_pagetransform(), test_palette_brush(), test_parameters(), Test_Params(), Test_PatBlt_Params(), test_path_state(), test_pbuffers(), test_pfd(), test_polydraw(), test_printer_dc(), test_properties(), test_ps_alternate(), test_pscript_printer_dc(), test_RealizationInfo(), Test_Rectangle(), test_rectangle(), test_redraw(), test_Render(), test_roundrect(), test_save_restore(), test_savedc(), test_savedc_2(), Test_SaveRestore(), test_screen(), test_screen_colors(), test_ScriptCacheGetHeight(), test_ScriptGetCMap(), test_ScriptGetFontFunctions(), test_ScriptGetFontProperties(), test_ScriptGetGlyphABCWidth(), test_ScriptItemIzeShapePlace(), test_ScriptPlace(), test_ScriptShape(), test_ScriptShapeOpenType(), test_ScriptString(), test_ScriptString_pSize(), test_ScriptStringXtoCP_CPtoX(), test_ScriptTextOut(), test_ScriptTextOut2(), test_ScriptTextOut3(), test_scroll_window(), test_scrolldc(), test_scrollvalidate(), test_scrollwindow(), test_select_object(), Test_SelectDIBSection(), Test_Set(), Test_SetBrushOrgEx(), test_SetCursor(), test_SetDIBits(), Test_SetDIBits_1bpp(), test_SetDIBits_RLE4(), test_SetDIBits_RLE8(), test_SetDIBitsToDevice(), test_SetDIBitsToDevice_RLE8(), Test_SetPixel_PAL(), Test_SetPixel_Params(), test_setpixelformat(), test_setredraw(), test_SetTextJustification(), test_SetViewportExt(), test_setvirtualresolution(), test_SetWindowExt(), Test_SetWorldTransform(), test_string_functions(), test_system_palette_entries(), test_tab(), test_TabbedText(), test_text_extents(), test_text_metrics(), test_textcontrast(), test_texturewrap(), test_transform(), test_transformpoints(), test_translate(), test_updates(), test_vertical_order(), test_vis_rgn(), test_widenpath(), test_window_dc_clipping(), test_WM_PAINT(), test_world_transform(), test_worldtransform(), TestEnumFontFamilies(), testJustification(), Text(), TEXT_DrawUnderscore(), TEXT_Ellipsify(), TEXT_NextLineW(), TEXT_PathEllipsify(), TEXT_TabbedTextOut(), TEXT_WordBreak(), TextOutA(), TextOutW(), ThemeDlgPostWindowProc(), ThunkDirectDraw4_GetSurfaceFromDC(), TOOLBAR_CalcStrings(), TOOLBAR_DrawArrow(), TOOLBAR_DrawButton(), TOOLBAR_DrawFlatHorizontalSeparator(), TOOLBAR_DrawFlatSeparator(), TOOLBAR_DrawFrame(), TOOLBAR_DrawMasked(), TOOLBAR_DrawPattern(), TOOLBAR_DrawSepDDArrow(), TOOLBAR_DrawString(), TOOLBAR_EraseBackground(), TOOLBAR_LayoutToolbar(), TOOLBAR_MeasureString(), TOOLBAR_NCPaint(), TOOLBAR_Paint(), TOOLBAR_Refresh(), TOOLTIPS_CalcTipSize(), TOOLTIPS_customdraw_fill(), TOOLTIPS_Paint(), TOOLTIPS_Refresh(), TRACKBAR_DrawChannel(), TRACKBAR_DrawOneTic(), TRACKBAR_DrawThumb(), TRACKBAR_DrawTic(), TRACKBAR_DrawTics(), TRACKBAR_FillThumb(), TRACKBAR_Paint(), TRACKBAR_Refresh(), TREEVIEW_Command(), TREEVIEW_ComputeTextWidth(), TREEVIEW_CreateDragImage(), TREEVIEW_DrawItem(), TREEVIEW_DrawItemLines(), TREEVIEW_EditLabel(), TREEVIEW_EnsureVisible(), TREEVIEW_EraseBackground(), TREEVIEW_FillBkgnd(), TREEVIEW_InitCheckboxes(), TREEVIEW_NaturalHeight(), TREEVIEW_Paint(), TREEVIEW_PrintClient(), TREEVIEW_Refresh(), TREEVIEW_SendCustomDrawItemNotify(), TREEVIEW_SendCustomDrawNotify(), TREEVIEW_UpdateSubTree(), UITOOLS95_DrawFrameButton(), UnpressBox(), update_caret(), update_preview(), UpdateColors(), CTextEditWindow::UpdateFont(), UPDOWN_Draw(), UPDOWN_DrawBuddyBackground(), UPDOWN_Paint(), UseNicePalette(), UserDrawMovingFrame(), UserDrawWindowFrame(), UserGethWnd(), UserLoadImage(), UserLpkPSMTextOut(), UserRealizePalette(), UXTHEME_DrawBackgroundFill(), UXTHEME_DrawBorderBackground(), UXTHEME_DrawBorderRectangle(), UXTHEME_DrawGlyph(), UXTHEME_DrawImageBackground(), UXTHEME_DrawImageGlyph(), UXTHEME_GetImageBackBackgroundRegion(), UXTHEME_LoadImage(), UXTHEME_SelectImage(), WebBrowser_OleObject_Init(), wgl_thread(), wglChoosePixelFormat(), wglCreateContext(), wglCreateLayerContext(), wglDescribeLayerPlane(), wglDescribePixelFormat(), wglGetLayerPaletteEntries(), wglGetPixelFormat(), wglMakeCurrent(), wglRealizeLayerPalette(), wglSetLayerPaletteEntries(), wglSetPixelFormat(), wglSwapBuffers(), wglUseFontBitmaps_common(), wglUseFontBitmapsA(), wglUseFontBitmapsW(), wglUseFontOutlines_common(), wglUseFontOutlinesA(), wglUseFontOutlinesW(), WidenPath(), anonymous_namespace{activex.cpp}::win32_create_dib(), wined3d_adapter_init(), wined3d_adapter_init_gl_caps(), WinGCreateBitmap(), WinGCreateHalftonePalette(), WinGGetDIBColorTable(), WinGSetDIBColorTable(), WinMain(), CardWindow::WndProc(), WndProc(), WebChildWindow::WndProc(), ColorStatic::WndProc(), HyperlinkCtrl::WndProc(), WndProc_wave(), word_break(), WrapEnumFontFamiliesA(), WrapEnumFontFamiliesExA(), WrapEnumFontFamiliesExW(), WrapEnumFontFamiliesW(), xpixels_to_himetric(), ypixels_to_himetric(), CardRegion::ZoomCard(), and ZoomWnd_OnDraw().

◆ mCallbacks

DDHAL_CALLBACKS mCallbacks

Definition at line 14 of file main.c.

Referenced by WinMain().

◆ mcFourCC

UINT mcFourCC

Definition at line 25 of file main.c.

Referenced by WinMain().

◆ mcModeInfos

UINT mcModeInfos

Definition at line 19 of file main.c.

Referenced by WinMain().

◆ mcTextures

UINT mcTextures

Definition at line 28 of file main.c.

Referenced by WinMain().

◆ mcvmList

UINT mcvmList

Definition at line 22 of file main.c.

Referenced by WinMain().

◆ mD3dBufferCallbacks

DDHAL_DDEXEBUFCALLBACKS mD3dBufferCallbacks

Definition at line 15 of file main.c.

Referenced by StartDirectDrawHal(), and WinMain().

◆ mD3dCallbacks

D3DHAL_CALLBACKS mD3dCallbacks

Definition at line 16 of file main.c.

Referenced by StartDirectDrawHal(), and WinMain().

◆ mD3dDriverData

D3DHAL_GLOBALDRIVERDATA mD3dDriverData

Definition at line 17 of file main.c.

Referenced by StartDirectDrawHal(), and WinMain().

◆ mDdBlt

DDHAL_BLTDATA mDdBlt

Definition at line 47 of file main.c.

Referenced by Main_DDrawSurface_Blt(), and WinMain().

◆ mDDrawGlobal

DDRAWI_DIRECTDRAW_GBL mDDrawGlobal

Definition at line 10 of file main.c.

Referenced by WinMain().

◆ mDDrawLocal

DDRAWI_DIRECTDRAW_LCL mDDrawLocal

Definition at line 11 of file main.c.

Referenced by WinMain().

◆ mddsdOverlay

DDSURFACEDESC mddsdOverlay

Definition at line 40 of file main.c.

Referenced by WinMain().

◆ mddsdPrimary

DDSURFACEDESC mddsdPrimary

Definition at line 39 of file main.c.

Referenced by WinMain().

◆ mHALInfo

DDHALINFO mHALInfo

Definition at line 12 of file main.c.

Referenced by StartDirectDrawHal(), and WinMain().

◆ mOverlayGlobal

DDRAWI_DDRAWSURFACE_GBL mOverlayGlobal

Definition at line 42 of file main.c.

Referenced by WinMain().

◆ mOverlayLocal

DDRAWI_DDRAWSURFACE_LCL mOverlayLocal[6]

Definition at line 43 of file main.c.

Referenced by WinMain().

◆ mOverlayMore

DDRAWI_DDRAWSURFACE_MORE mOverlayMore[6]

Definition at line 45 of file main.c.

Referenced by WinMain().

◆ mpFourCC

DWORD* mpFourCC

Definition at line 26 of file main.c.

Referenced by StartDirectDrawHal(), and WinMain().

◆ mpModeInfos

DDHALMODEINFO* mpModeInfos

Definition at line 20 of file main.c.

Referenced by WinMain().

◆ mpOverlayLocals

DDRAWI_DDRAWSURFACE_LCL* mpOverlayLocals[6]

Definition at line 44 of file main.c.

Referenced by WinMain().

◆ mpPrimaryLocals

DDRAWI_DDRAWSURFACE_LCL* mpPrimaryLocals[1]

Definition at line 35 of file main.c.

Referenced by WinMain().

◆ mPrimaryClipperGlobal

DDRAWI_DDRAWCLIPPER_GBL mPrimaryClipperGlobal

Definition at line 37 of file main.c.

Referenced by WinMain().

◆ mPrimaryClipperLocal

DDRAWI_DDRAWCLIPPER_LCL mPrimaryClipperLocal

Definition at line 36 of file main.c.

Referenced by WinMain().

◆ mPrimaryGlobal

DDRAWI_DDRAWSURFACE_GBL mPrimaryGlobal

Definition at line 32 of file main.c.

Referenced by WinMain().

◆ mPrimaryLocal

DDRAWI_DDRAWSURFACE_LCL mPrimaryLocal

Definition at line 34 of file main.c.

Referenced by WinMain().

◆ mPrimaryMore

Definition at line 33 of file main.c.

Referenced by WinMain().

◆ mpTextures

DDSURFACEDESC* mpTextures

Definition at line 29 of file main.c.

Referenced by StartDirectDrawHal(), and WinMain().

◆ mpvmList

VIDMEM* mpvmList

Definition at line 23 of file main.c.

Referenced by WinMain().