|
DirectX 5 Redocumentation
A redocumentation of DirectX 5, brought to you by a bunch of Infomaniacs.
|
Go to the source code of this file.
Data Structures | |
| struct | _DDCOLORKEY |
| struct | _DDBLTFX |
| Used to pass override information to the DIRECTDRAWSURFACE callback Blt. More... | |
| struct | _DDSCAPS |
| struct | _DDCAPS_DX3 |
| struct | _DDCAPS |
| struct | _DDPIXELFORMAT |
| struct | _DDOVERLAYFX |
| struct | _DDBLTBATCH |
| struct | _DDSURFACEDESC |
| struct | _DDCOLORCONTROL |
Typedefs | |
| typedef struct IDirectDraw FAR * | LPDIRECTDRAW |
| typedef struct IDirectDraw2 FAR * | LPDIRECTDRAW2 |
| typedef struct IDirectDrawSurface FAR * | LPDIRECTDRAWSURFACE |
| typedef struct IDirectDrawSurface2 FAR * | LPDIRECTDRAWSURFACE2 |
| typedef struct IDirectDrawSurface3 FAR * | LPDIRECTDRAWSURFACE3 |
| typedef struct IDirectDrawPalette FAR * | LPDIRECTDRAWPALETTE |
| typedef struct IDirectDrawClipper FAR * | LPDIRECTDRAWCLIPPER |
| typedef struct IDirectDrawColorControl FAR * | LPDIRECTDRAWCOLORCONTROL |
| typedef struct _DDFXROP FAR * | LPDDFXROP |
| typedef struct _DDSURFACEDESC FAR * | LPDDSURFACEDESC |
| typedef struct _DDCOLORCONTROL FAR * | LPDDCOLORCONTROL |
| typedef long | HRESULT |
| typedef struct _DDCOLORKEY | DDCOLORKEY |
| typedef DDCOLORKEY FAR * | LPDDCOLORKEY |
| typedef struct _DDBLTFX | DDBLTFX |
| Used to pass override information to the DIRECTDRAWSURFACE callback Blt. More... | |
| typedef DDBLTFX FAR * | LPDDBLTFX |
| typedef struct _DDSCAPS | DDSCAPS |
| typedef DDSCAPS FAR * | LPDDSCAPS |
| typedef struct _DDCAPS_DX3 | DDCAPS_DX3 |
| typedef DDCAPS_DX3 FAR * | LPDDCAPS_DX3 |
| typedef struct _DDCAPS | DDCAPS |
| typedef DDCAPS FAR * | LPDDCAPS |
| typedef struct _DDPIXELFORMAT | DDPIXELFORMAT |
| typedef DDPIXELFORMAT FAR * | LPDDPIXELFORMAT |
| typedef struct _DDOVERLAYFX | DDOVERLAYFX |
| typedef DDOVERLAYFX FAR * | LPDDOVERLAYFX |
| typedef struct _DDBLTBATCH | DDBLTBATCH |
| typedef DDBLTBATCH FAR * | LPDDBLTBATCH |
| typedef HWND | hWnd |
| typedef HWND DWORD | code |
| typedef HWND DWORD LPVOID | lpContext |
| typedef struct _DDSURFACEDESC | DDSURFACEDESC |
| typedef struct _DDCOLORCONTROL | DDCOLORCONTROL |
Functions | |
| typedef | HRESULT (FAR PASCAL *LPDDENUMMODESCALLBACK)(LPDDSURFACEDESC |
| typedef | DWORD (FAR PASCAL *LPCLIPPERCALLBACK)(LPDIRECTDRAWCLIPPER lpDDClipper |
Variables | |
| typedef | LPVOID |
| #define _FACDD 0x876 |
| #define CO_E_NOTINITIALIZED 0x800401F0L |
| #define DD_OK 0 |
| #define DD_ROP_SPACE (256/32) |
| #define DDBD_1 0x00004000l |
| #define DDBD_16 0x00000400l |
| #define DDBD_2 0x00002000l |
| #define DDBD_24 0X00000200l |
| #define DDBD_32 0x00000100l |
| #define DDBD_4 0x00001000l |
| #define DDBD_8 0x00000800l |
| #define DDBLT_ALPHADEST 0x00000001l |
| #define DDBLT_ALPHADESTCONSTOVERRIDE 0x00000002l |
| #define DDBLT_ALPHADESTNEG 0x00000004l |
| #define DDBLT_ALPHADESTSURFACEOVERRIDE 0x00000008l |
| #define DDBLT_ALPHAEDGEBLEND 0x00000010l |
| #define DDBLT_ALPHASRC 0x00000020l |
| #define DDBLT_ALPHASRCCONSTOVERRIDE 0x00000040l |
| #define DDBLT_ALPHASRCNEG 0x00000080l |
| #define DDBLT_ALPHASRCSURFACEOVERRIDE 0x00000100l |
| #define DDBLT_ASYNC 0x00000200l |
| #define DDBLT_COLORFILL 0x00000400l |
| #define DDBLT_DDFX 0x00000800l |
| #define DDBLT_DDROPS 0x00001000l |
| #define DDBLT_DEPTHFILL 0x02000000l |
| #define DDBLT_KEYDEST 0x00002000l |
| #define DDBLT_KEYDESTOVERRIDE 0x00004000l |
| #define DDBLT_KEYSRC 0x00008000l |
| #define DDBLT_KEYSRCOVERRIDE 0x00010000l |
| #define DDBLT_ROP 0x00020000l |
| #define DDBLT_ROTATIONANGLE 0x00040000l |
| #define DDBLT_WAIT 0x01000000l |
| #define DDBLT_ZBUFFER 0x00080000l |
| #define DDBLT_ZBUFFERDESTCONSTOVERRIDE 0x00100000l |
| #define DDBLT_ZBUFFERDESTOVERRIDE 0x00200000l |
| #define DDBLT_ZBUFFERSRCCONSTOVERRIDE 0x00400000l |
| #define DDBLT_ZBUFFERSRCOVERRIDE 0x00800000l |
| #define DDBLTFAST_DESTCOLORKEY 0x00000002 |
| #define DDBLTFAST_NOCOLORKEY 0x00000000 |
| #define DDBLTFAST_SRCCOLORKEY 0x00000001 |
| #define DDBLTFAST_WAIT 0x00000010 |
| #define DDBLTFX_ARITHSTRETCHY 0x00000001l |
| #define DDBLTFX_MIRRORLEFTRIGHT 0x00000002l |
| #define DDBLTFX_MIRRORUPDOWN 0x00000004l |
| #define DDBLTFX_NOTEARING 0x00000008l |
| #define DDBLTFX_ROTATE180 0x00000010l |
| #define DDBLTFX_ROTATE270 0x00000020l |
| #define DDBLTFX_ROTATE90 0x00000040l |
| #define DDBLTFX_ZBUFFERBASEDEST 0x00000100l |
| #define DDBLTFX_ZBUFFERRANGE 0x00000080l |
| #define DDCAPS2_AUTOFLIPOVERLAY 0x00000008l |
| #define DDCAPS2_CANBOBINTERLEAVED 0x00000010l |
| #define DDCAPS2_CANBOBNONINTERLEAVED 0x00000020l |
| #define DDCAPS2_CANDROPZ16BIT 0x00000100l |
| #define DDCAPS2_CANFLIPODDEVEN 0x00002000l |
| #define DDCAPS2_CERTIFIED 0x00000001l |
| #define DDCAPS2_COLORCONTROLOVERLAY 0x00000040l |
| #define DDCAPS2_COLORCONTROLPRIMARY 0x00000080l |
| #define DDCAPS2_NO2DDURING3DSCENE 0x00000002l |
| #define DDCAPS2_NONLOCALVIDMEM 0x00000200l |
| #define DDCAPS2_NONLOCALVIDMEMCAPS 0x00000400l |
| #define DDCAPS2_NOPAGELOCKREQUIRED 0x00000800l |
| #define DDCAPS2_VIDEOPORT 0x00000004l |
| #define DDCAPS2_WIDESURFACES 0x00001000l |
| #define DDCAPS_3D 0x00000001l |
| #define DDCAPS_ALIGNBOUNDARYDEST 0x00000002l |
| #define DDCAPS_ALIGNBOUNDARYSRC 0x00000008l |
| #define DDCAPS_ALIGNSIZEDEST 0x00000004l |
| #define DDCAPS_ALIGNSIZESRC 0x00000010l |
| #define DDCAPS_ALIGNSTRIDE 0x00000020l |
| #define DDCAPS_ALPHA 0x00800000l |
| #define DDCAPS_BANKSWITCHED 0x08000000l |
| #define DDCAPS_BLT 0x00000040l |
| #define DDCAPS_BLTCOLORFILL 0x04000000l |
| #define DDCAPS_BLTDEPTHFILL 0x10000000l |
| #define DDCAPS_BLTFOURCC 0x00000100l |
| #define DDCAPS_BLTQUEUE 0x00000080l |
| #define DDCAPS_BLTSTRETCH 0x00000200l |
| #define DDCAPS_CANBLTSYSMEM 0x80000000l |
| #define DDCAPS_CANCLIP 0x20000000l |
| #define DDCAPS_CANCLIPSTRETCHED 0x40000000l |
| #define DDCAPS_COLORKEY 0x00400000l |
| #define DDCAPS_COLORKEYHWASSIST 0x01000000l |
| #define DDCAPS_GDI 0x00000400l |
| #define DDCAPS_NOHARDWARE 0x02000000l |
| #define DDCAPS_OVERLAY 0x00000800l |
| #define DDCAPS_OVERLAYCANTCLIP 0x00001000l |
| #define DDCAPS_OVERLAYFOURCC 0x00002000l |
| #define DDCAPS_OVERLAYSTRETCH 0x00004000l |
| #define DDCAPS_PALETTE 0x00008000l |
| #define DDCAPS_PALETTEVSYNC 0x00010000l |
| #define DDCAPS_READSCANLINE 0x00020000l |
| #define DDCAPS_STEREOVIEW 0x00040000l |
| #define DDCAPS_VBI 0x00080000l |
| #define DDCAPS_ZBLTS 0x00100000l |
| #define DDCAPS_ZOVERLAYS 0x00200000l |
| #define DDCKEY_COLORSPACE 0x00000001l |
| #define DDCKEY_DESTBLT 0x00000002l |
| #define DDCKEY_DESTOVERLAY 0x00000004l |
| #define DDCKEY_SRCBLT 0x00000008l |
| #define DDCKEY_SRCOVERLAY 0x00000010l |
| #define DDCKEYCAPS_DESTBLT 0x00000001l |
| #define DDCKEYCAPS_DESTBLTCLRSPACE 0x00000002l |
| #define DDCKEYCAPS_DESTBLTCLRSPACEYUV 0x00000004l |
| #define DDCKEYCAPS_DESTBLTYUV 0x00000008l |
| #define DDCKEYCAPS_DESTOVERLAY 0x00000010l |
| #define DDCKEYCAPS_DESTOVERLAYCLRSPACE 0x00000020l |
| #define DDCKEYCAPS_DESTOVERLAYCLRSPACEYUV 0x00000040l |
| #define DDCKEYCAPS_DESTOVERLAYONEACTIVE 0x00000080l |
| #define DDCKEYCAPS_DESTOVERLAYYUV 0x00000100l |
| #define DDCKEYCAPS_NOCOSTOVERLAY 0x00040000l |
| #define DDCKEYCAPS_SRCBLT 0x00000200l |
| #define DDCKEYCAPS_SRCBLTCLRSPACE 0x00000400l |
| #define DDCKEYCAPS_SRCBLTCLRSPACEYUV 0x00000800l |
| #define DDCKEYCAPS_SRCBLTYUV 0x00001000l |
| #define DDCKEYCAPS_SRCOVERLAY 0x00002000l |
| #define DDCKEYCAPS_SRCOVERLAYCLRSPACE 0x00004000l |
| #define DDCKEYCAPS_SRCOVERLAYCLRSPACEYUV 0x00008000l |
| #define DDCKEYCAPS_SRCOVERLAYONEACTIVE 0x00010000l |
| #define DDCKEYCAPS_SRCOVERLAYYUV 0x00020000l |
| #define DDCOLOR_BRIGHTNESS 0x00000001l |
| #define DDCOLOR_COLORENABLE 0x00000040l |
| #define DDCOLOR_CONTRAST 0x00000002l |
| #define DDCOLOR_GAMMA 0x00000020l |
| #define DDCOLOR_HUE 0x00000004l |
| #define DDCOLOR_SATURATION 0x00000008l |
| #define DDCOLOR_SHARPNESS 0x00000010l |
| #define DDCREATE_EMULATIONONLY 0x00000002l |
| #define DDCREATE_HARDWAREONLY 0x00000001l |
| #define DDEDM_REFRESHRATES 0x00000001l |
| #define DDEDM_STANDARDVGAMODES 0x00000002L |
| #define DDENUMOVERLAYZ_BACKTOFRONT 0x00000000l |
| #define DDENUMOVERLAYZ_FRONTTOBACK 0x00000001l |
| #define DDENUMRET_CANCEL 0 |
| #define DDENUMRET_OK 1 |
| #define DDENUMSURFACES_ALL 0x00000001l |
| #define DDENUMSURFACES_CANBECREATED 0x00000008l |
| #define DDENUMSURFACES_DOESEXIST 0x00000010l |
| #define DDENUMSURFACES_MATCH 0x00000002l |
| #define DDENUMSURFACES_NOMATCH 0x00000004l |
| #define DDERR_ALREADYINITIALIZED MAKE_DDHRESULT( 5 ) |
| #define DDERR_BLTFASTCANTCLIP MAKE_DDHRESULT( 574 ) |
| #define DDERR_CANNOTATTACHSURFACE MAKE_DDHRESULT( 10 ) |
| #define DDERR_CANNOTDETACHSURFACE MAKE_DDHRESULT( 20 ) |
| #define DDERR_CANTCREATEDC MAKE_DDHRESULT( 585 ) |
| #define DDERR_CANTDUPLICATE MAKE_DDHRESULT( 583 ) |
| #define DDERR_CANTLOCKSURFACE MAKE_DDHRESULT( 435 ) |
| #define DDERR_CANTPAGELOCK MAKE_DDHRESULT( 640 ) |
| #define DDERR_CANTPAGEUNLOCK MAKE_DDHRESULT( 660 ) |
| #define DDERR_CLIPPERISUSINGHWND MAKE_DDHRESULT( 567 ) |
| #define DDERR_COLORKEYNOTSET MAKE_DDHRESULT( 400 ) |
| #define DDERR_CURRENTLYNOTAVAIL MAKE_DDHRESULT( 40 ) |
| #define DDERR_DCALREADYCREATED MAKE_DDHRESULT( 620 ) |
| #define DDERR_DEVICEDOESNTOWNSURFACE MAKE_DDHRESULT( 699 ) |
| #define DDERR_DIRECTDRAWALREADYCREATED MAKE_DDHRESULT( 562 ) |
| #define DDERR_EXCEPTION MAKE_DDHRESULT( 55 ) |
| #define DDERR_EXCLUSIVEMODEALREADYSET MAKE_DDHRESULT( 581 ) |
| #define DDERR_GENERIC E_FAIL |
| #define DDERR_HEIGHTALIGN MAKE_DDHRESULT( 90 ) |
| #define DDERR_HWNDALREADYSET MAKE_DDHRESULT( 571 ) |
| #define DDERR_HWNDSUBCLASSED MAKE_DDHRESULT( 570 ) |
| #define DDERR_IMPLICITLYCREATED MAKE_DDHRESULT( 588 ) |
| #define DDERR_INCOMPATIBLEPRIMARY MAKE_DDHRESULT( 95 ) |
| #define DDERR_INVALIDCAPS MAKE_DDHRESULT( 100 ) |
| #define DDERR_INVALIDCLIPLIST MAKE_DDHRESULT( 110 ) |
| #define DDERR_INVALIDDIRECTDRAWGUID MAKE_DDHRESULT( 561 ) |
| #define DDERR_INVALIDMODE MAKE_DDHRESULT( 120 ) |
| #define DDERR_INVALIDOBJECT MAKE_DDHRESULT( 130 ) |
| #define DDERR_INVALIDPARAMS E_INVALIDARG |
| #define DDERR_INVALIDPIXELFORMAT MAKE_DDHRESULT( 145 ) |
| #define DDERR_INVALIDPOSITION MAKE_DDHRESULT( 579 ) |
| #define DDERR_INVALIDRECT MAKE_DDHRESULT( 150 ) |
| #define DDERR_INVALIDSURFACETYPE MAKE_DDHRESULT( 592 ) |
| #define DDERR_LOCKEDSURFACES MAKE_DDHRESULT( 160 ) |
| #define DDERR_MOREDATA MAKE_DDHRESULT( 690 ) |
| #define DDERR_NO3D MAKE_DDHRESULT( 170 ) |
| #define DDERR_NOALPHAHW MAKE_DDHRESULT( 180 ) |
| #define DDERR_NOBLTHW MAKE_DDHRESULT( 575 ) |
| #define DDERR_NOCLIPLIST MAKE_DDHRESULT( 205 ) |
| #define DDERR_NOCLIPPERATTACHED MAKE_DDHRESULT( 568 ) |
| #define DDERR_NOCOLORCONVHW MAKE_DDHRESULT( 210 ) |
| #define DDERR_NOCOLORKEY MAKE_DDHRESULT( 215 ) |
| #define DDERR_NOCOLORKEYHW MAKE_DDHRESULT( 220 ) |
| #define DDERR_NOCOOPERATIVELEVELSET MAKE_DDHRESULT( 212 ) |
| #define DDERR_NODC MAKE_DDHRESULT( 586 ) |
| #define DDERR_NODDROPSHW MAKE_DDHRESULT( 576 ) |
| #define DDERR_NODIRECTDRAWHW MAKE_DDHRESULT( 563 ) |
| #define DDERR_NODIRECTDRAWSUPPORT MAKE_DDHRESULT( 222 ) |
| #define DDERR_NOEMULATION MAKE_DDHRESULT( 565 ) |
| #define DDERR_NOEXCLUSIVEMODE MAKE_DDHRESULT( 225 ) |
| #define DDERR_NOFLIPHW MAKE_DDHRESULT( 230 ) |
| #define DDERR_NOGDI MAKE_DDHRESULT( 240 ) |
| #define DDERR_NOHWND MAKE_DDHRESULT( 569 ) |
| #define DDERR_NOMIPMAPHW MAKE_DDHRESULT( 591 ) |
| #define DDERR_NOMIRRORHW MAKE_DDHRESULT( 250 ) |
| #define DDERR_NONONLOCALVIDMEM MAKE_DDHRESULT( 630 ) |
| #define DDERR_NOOPTIMIZEHW MAKE_DDHRESULT( 600 ) |
| #define DDERR_NOOVERLAYDEST MAKE_DDHRESULT( 578 ) |
| #define DDERR_NOOVERLAYHW MAKE_DDHRESULT( 260 ) |
| #define DDERR_NOPALETTEATTACHED MAKE_DDHRESULT( 572 ) |
| #define DDERR_NOPALETTEHW MAKE_DDHRESULT( 573 ) |
| #define DDERR_NORASTEROPHW MAKE_DDHRESULT( 280 ) |
| #define DDERR_NOROTATIONHW MAKE_DDHRESULT( 290 ) |
| #define DDERR_NOSTRETCHHW MAKE_DDHRESULT( 310 ) |
| #define DDERR_NOT4BITCOLOR MAKE_DDHRESULT( 316 ) |
| #define DDERR_NOT4BITCOLORINDEX MAKE_DDHRESULT( 317 ) |
| #define DDERR_NOT8BITCOLOR MAKE_DDHRESULT( 320 ) |
| #define DDERR_NOTAOVERLAYSURFACE MAKE_DDHRESULT( 580 ) |
| #define DDERR_NOTEXTUREHW MAKE_DDHRESULT( 330 ) |
| #define DDERR_NOTFLIPPABLE MAKE_DDHRESULT( 582 ) |
| #define DDERR_NOTFOUND MAKE_DDHRESULT( 255 ) |
| #define DDERR_NOTINITIALIZED CO_E_NOTINITIALIZED |
| #define DDERR_NOTLOADED MAKE_DDHRESULT( 601 ) |
| #define DDERR_NOTLOCKED MAKE_DDHRESULT( 584 ) |
| #define DDERR_NOTPAGELOCKED MAKE_DDHRESULT( 680 ) |
| #define DDERR_NOTPALETTIZED MAKE_DDHRESULT( 589 ) |
| #define DDERR_NOVSYNCHW MAKE_DDHRESULT( 335 ) |
| #define DDERR_NOZBUFFERHW MAKE_DDHRESULT( 340 ) |
| #define DDERR_NOZOVERLAYHW MAKE_DDHRESULT( 350 ) |
| #define DDERR_OUTOFCAPS MAKE_DDHRESULT( 360 ) |
| #define DDERR_OUTOFMEMORY E_OUTOFMEMORY |
| #define DDERR_OUTOFVIDEOMEMORY MAKE_DDHRESULT( 380 ) |
| #define DDERR_OVERLAYCANTCLIP MAKE_DDHRESULT( 382 ) |
| #define DDERR_OVERLAYCOLORKEYONLYONEACTIVE MAKE_DDHRESULT( 384 ) |
| #define DDERR_OVERLAYNOTVISIBLE MAKE_DDHRESULT( 577 ) |
| #define DDERR_PALETTEBUSY MAKE_DDHRESULT( 387 ) |
| #define DDERR_PRIMARYSURFACEALREADYEXISTS MAKE_DDHRESULT( 564 ) |
| #define DDERR_REGIONTOOSMALL MAKE_DDHRESULT( 566 ) |
| #define DDERR_SURFACEALREADYATTACHED MAKE_DDHRESULT( 410 ) |
| #define DDERR_SURFACEALREADYDEPENDENT MAKE_DDHRESULT( 420 ) |
| #define DDERR_SURFACEBUSY MAKE_DDHRESULT( 430 ) |
| #define DDERR_SURFACEISOBSCURED MAKE_DDHRESULT( 440 ) |
| #define DDERR_SURFACELOST MAKE_DDHRESULT( 450 ) |
| #define DDERR_SURFACENOTATTACHED MAKE_DDHRESULT( 460 ) |
| #define DDERR_TOOBIGHEIGHT MAKE_DDHRESULT( 470 ) |
| #define DDERR_TOOBIGSIZE MAKE_DDHRESULT( 480 ) |
| #define DDERR_TOOBIGWIDTH MAKE_DDHRESULT( 490 ) |
| #define DDERR_UNSUPPORTED E_NOTIMPL |
| #define DDERR_UNSUPPORTEDFORMAT MAKE_DDHRESULT( 510 ) |
| #define DDERR_UNSUPPORTEDMASK MAKE_DDHRESULT( 520 ) |
| #define DDERR_UNSUPPORTEDMODE MAKE_DDHRESULT( 590 ) |
| #define DDERR_VERTICALBLANKINPROGRESS MAKE_DDHRESULT( 537 ) |
| #define DDERR_VIDEONOTACTIVE MAKE_DDHRESULT( 695 ) |
| #define DDERR_WASSTILLDRAWING MAKE_DDHRESULT( 540 ) |
| #define DDERR_WRONGMODE MAKE_DDHRESULT( 587 ) |
| #define DDERR_XALIGN MAKE_DDHRESULT( 560 ) |
| #define DDFLIP_EVEN 0x00000002l |
| #define DDFLIP_ODD 0x00000004l |
| #define DDFLIP_WAIT 0x00000001l |
| #define DDFXALPHACAPS_BLTALPHAEDGEBLEND 0x00000001l |
| #define DDFXALPHACAPS_BLTALPHAPIXELS 0x00000002l |
| #define DDFXALPHACAPS_BLTALPHAPIXELSNEG 0x00000004l |
| #define DDFXALPHACAPS_BLTALPHASURFACES 0x00000008l |
| #define DDFXALPHACAPS_BLTALPHASURFACESNEG 0x00000010l |
| #define DDFXALPHACAPS_OVERLAYALPHAEDGEBLEND 0x00000020l |
| #define DDFXALPHACAPS_OVERLAYALPHAPIXELS 0x00000040l |
| #define DDFXALPHACAPS_OVERLAYALPHAPIXELSNEG 0x00000080l |
| #define DDFXALPHACAPS_OVERLAYALPHASURFACES 0x00000100l |
| #define DDFXALPHACAPS_OVERLAYALPHASURFACESNEG 0x00000200l |
| #define DDFXCAPS_BLTARITHSTRETCHY 0x00000020l |
| #define DDFXCAPS_BLTARITHSTRETCHYN 0x00000010l |
| #define DDFXCAPS_BLTMIRRORLEFTRIGHT 0x00000040l |
| #define DDFXCAPS_BLTMIRRORUPDOWN 0x00000080l |
| #define DDFXCAPS_BLTROTATION 0x00000100l |
| #define DDFXCAPS_BLTROTATION90 0x00000200l |
| #define DDFXCAPS_BLTSHRINKX 0x00000400l |
| #define DDFXCAPS_BLTSHRINKXN 0x00000800l |
| #define DDFXCAPS_BLTSHRINKY 0x00001000l |
| #define DDFXCAPS_BLTSHRINKYN 0x00002000l |
| #define DDFXCAPS_BLTSTRETCHX 0x00004000l |
| #define DDFXCAPS_BLTSTRETCHXN 0x00008000l |
| #define DDFXCAPS_BLTSTRETCHY 0x00010000l |
| #define DDFXCAPS_BLTSTRETCHYN 0x00020000l |
| #define DDFXCAPS_OVERLAYARITHSTRETCHY 0x00040000l |
| #define DDFXCAPS_OVERLAYARITHSTRETCHYN 0x00000008l |
| #define DDFXCAPS_OVERLAYMIRRORLEFTRIGHT 0x08000000l |
| #define DDFXCAPS_OVERLAYMIRRORUPDOWN 0x10000000l |
| #define DDFXCAPS_OVERLAYSHRINKX 0x00080000l |
| #define DDFXCAPS_OVERLAYSHRINKXN 0x00100000l |
| #define DDFXCAPS_OVERLAYSHRINKY 0x00200000l |
| #define DDFXCAPS_OVERLAYSHRINKYN 0x00400000l |
| #define DDFXCAPS_OVERLAYSTRETCHX 0x00800000l |
| #define DDFXCAPS_OVERLAYSTRETCHXN 0x01000000l |
| #define DDFXCAPS_OVERLAYSTRETCHY 0x02000000l |
| #define DDFXCAPS_OVERLAYSTRETCHYN 0x04000000l |
| #define DDGBS_CANBLT 0x00000001l |
| #define DDGBS_ISBLTDONE 0x00000002l |
| #define DDGFS_CANFLIP 0x00000001l |
| #define DDGFS_ISFLIPDONE 0x00000002l |
| #define DDLOCK_EVENT 0x00000002L |
| #define DDLOCK_NOSYSLOCK 0x00000800L |
| #define DDLOCK_READONLY 0x00000010L |
| #define DDLOCK_SURFACEMEMORYPTR 0x00000000L |
| #define DDLOCK_WAIT 0x00000001L |
| #define DDLOCK_WRITEONLY 0x00000020L |
| #define DDOVER_ADDDIRTYRECT 0x00008000l |
| #define DDOVER_ALPHADEST 0x00000001l |
| #define DDOVER_ALPHADESTCONSTOVERRIDE 0x00000002l |
| #define DDOVER_ALPHADESTNEG 0x00000004l |
| #define DDOVER_ALPHADESTSURFACEOVERRIDE 0x00000008l |
| #define DDOVER_ALPHAEDGEBLEND 0x00000010l |
| #define DDOVER_ALPHASRC 0x00000020l |
| #define DDOVER_ALPHASRCCONSTOVERRIDE 0x00000040l |
| #define DDOVER_ALPHASRCNEG 0x00000080l |
| #define DDOVER_ALPHASRCSURFACEOVERRIDE 0x00000100l |
| #define DDOVER_AUTOFLIP 0x00100000l |
| #define DDOVER_BOB 0x00200000l |
| #define DDOVER_DDFX 0x00080000l |
| #define DDOVER_HIDE 0x00000200l |
| #define DDOVER_INTERLEAVED 0x00800000l |
| #define DDOVER_KEYDEST 0x00000400l |
| #define DDOVER_KEYDESTOVERRIDE 0x00000800l |
| #define DDOVER_KEYSRC 0x00001000l |
| #define DDOVER_KEYSRCOVERRIDE 0x00002000l |
| #define DDOVER_OVERRIDEBOBWEAVE 0x00400000l |
| #define DDOVER_REFRESHALL 0x00020000l |
| #define DDOVER_REFRESHDIRTYRECTS 0x00010000l |
| #define DDOVER_SHOW 0x00004000l |
| #define DDOVERFX_ARITHSTRETCHY 0x00000001l |
| #define DDOVERFX_MIRRORLEFTRIGHT 0x00000002l |
| #define DDOVERFX_MIRRORUPDOWN 0x00000004l |
| #define DDOVERZ_INSERTINBACKOF 0x00000005l |
| #define DDOVERZ_INSERTINFRONTOF 0x00000004l |
| #define DDOVERZ_MOVEBACKWARD 0x00000003l |
| #define DDOVERZ_MOVEFORWARD 0x00000002l |
| #define DDOVERZ_SENDTOBACK 0x00000001l |
| #define DDOVERZ_SENDTOFRONT 0x00000000l |
| #define DDPCAPS_1BIT 0x00000100l |
| #define DDPCAPS_2BIT 0x00000200l |
| #define DDPCAPS_4BIT 0x00000001l |
| #define DDPCAPS_8BIT 0x00000004l |
| #define DDPCAPS_8BITENTRIES 0x00000002l |
| #define DDPCAPS_ALLOW256 0x00000040l |
| #define DDPCAPS_INITIALIZE 0x00000008l |
| #define DDPCAPS_PRIMARYSURFACE 0x00000010l |
| #define DDPCAPS_PRIMARYSURFACELEFT 0x00000020l |
| #define DDPCAPS_VSYNC 0x00000080l |
| #define DDPF_ALPHA 0x00000002l |
| #define DDPF_ALPHAPIXELS 0x00000001l |
| #define DDPF_COMPRESSED 0x00000080l |
| #define DDPF_FOURCC 0x00000004l |
| #define DDPF_PALETTEINDEXED1 0x00000800l |
| #define DDPF_PALETTEINDEXED2 0x00001000l |
| #define DDPF_PALETTEINDEXED4 0x00000008l |
| #define DDPF_PALETTEINDEXED8 0x00000020l |
| #define DDPF_PALETTEINDEXEDTO8 0x00000010l |
| #define DDPF_RGB 0x00000040l |
| #define DDPF_RGBTOYUV 0x00000100l |
| #define DDPF_YUV 0x00000200l |
| #define DDPF_ZBUFFER 0x00000400l |
| #define DDPF_ZPIXELS 0x00002000l |
| #define DDSCAPS_3DDEVICE 0x00002000l |
| #define DDSCAPS_ALLOCONLOAD 0x04000000l |
| #define DDSCAPS_ALPHA 0x00000002l |
| #define DDSCAPS_BACKBUFFER 0x00000004l |
| #define DDSCAPS_COMPLEX 0x00000008l |
| #define DDSCAPS_FLIP 0x00000010l |
| #define DDSCAPS_FRONTBUFFER 0x00000020l |
| #define DDSCAPS_HWCODEC 0x00100000l |
| #define DDSCAPS_LIVEVIDEO 0x00080000l |
| #define DDSCAPS_LOCALVIDMEM 0x10000000l |
| #define DDSCAPS_MIPMAP 0x00400000l |
| #define DDSCAPS_MODEX 0x00200000l |
| #define DDSCAPS_NONLOCALVIDMEM 0x20000000l |
| #define DDSCAPS_OFFSCREENPLAIN 0x00000040l |
| #define DDSCAPS_OPTIMIZED 0x80000000l |
| #define DDSCAPS_OVERLAY 0x00000080l |
| #define DDSCAPS_OWNDC 0x00040000l |
| #define DDSCAPS_PALETTE 0x00000100l |
| #define DDSCAPS_PRIMARYSURFACE 0x00000200l |
| #define DDSCAPS_PRIMARYSURFACELEFT 0x00000400l |
| #define DDSCAPS_RESERVED1 0x00000001l |
| #define DDSCAPS_RESERVED2 0x00800000l |
| #define DDSCAPS_STANDARDVGAMODE 0x40000000l |
| #define DDSCAPS_SYSTEMMEMORY 0x00000800l |
| #define DDSCAPS_TEXTURE 0x00001000l |
| #define DDSCAPS_VIDEOMEMORY 0x00004000l |
| #define DDSCAPS_VIDEOPORT 0x08000000l |
| #define DDSCAPS_VISIBLE 0x00008000l |
| #define DDSCAPS_WRITEONLY 0x00010000l |
| #define DDSCAPS_ZBUFFER 0x00020000l |
| #define DDSCL_ALLOWMODEX 0x00000040l |
| #define DDSCL_ALLOWREBOOT 0x00000002l |
| #define DDSCL_EXCLUSIVE 0x00000010l |
| #define DDSCL_FULLSCREEN 0x00000001l |
| #define DDSCL_NORMAL 0x00000008l |
| #define DDSCL_NOWINDOWCHANGES 0x00000004l |
| #define DDSD_ALL 0x000ff9eel |
All input fields are valid.
| #define DDSD_ALPHABITDEPTH 0x00000080l |
dwAlphaBitDepth is valid.
| #define DDSD_BACKBUFFERCOUNT 0x00000020l |
dwBackBufferCount is valid.
| #define DDSD_CAPS 0x00000001l |
ddsCaps field is valid.
| #define DDSD_CKDESTBLT 0x00004000l |
ddckCKDestBlt is valid.
| #define DDSD_CKDESTOVERLAY 0x00002000l |
ddckCKDestOverlay is valid.
| #define DDSD_CKSRCBLT 0x00010000l |
ddckCKSrcBlt is valid.
| #define DDSD_CKSRCOVERLAY 0x00008000l |
ddckCKSrcOverlay is valid.
| #define DDSD_HEIGHT 0x00000002l |
dwHeight field is valid.
| #define DDSD_LINEARSIZE 0x00080000l |
dwLinearSize is valid
| #define DDSD_LPSURFACE 0x00000800l |
lpSurface is valid.
| #define DDSD_MIPMAPCOUNT 0x00020000l |
dwMipMapCount is valid.
| #define DDSD_PITCH 0x00000008l |
lPitch is valid.
| #define DDSD_PIXELFORMAT 0x00001000l |
ddpfPixelFormat is valid.
| #define DDSD_REFRESHRATE 0x00040000l |
dwRefreshRate is valid
| #define DDSD_WIDTH 0x00000004l |
dwWidth field is valid.
| #define DDSD_ZBUFFERBITDEPTH 0x00000040l |
dwZBufferBitDepth is valid.
| #define DDSDM_STANDARDVGAMODE 0x00000001l |
| #define DDSVCAPS_ENIGMA 0x00000001l |
| #define DDSVCAPS_FLICKER 0x00000002l |
| #define DDSVCAPS_REDBLUE 0x00000004l |
| #define DDSVCAPS_SPLIT 0x00000008l |
| #define DDWAITVB_BLOCKBEGIN 0x00000001l |
| #define DDWAITVB_BLOCKBEGINEVENT 0x00000002l |
| #define DDWAITVB_BLOCKEND 0x00000004l |
| #define DIRECTDRAW_VERSION 0x0500 |
If you wish an application built against the newest version of DirectDraw to run against an older DirectDraw run time then define DIRECTDRAW_VERSION to be the earlies version of DirectDraw you wish to run against. For, example if you wish an application to run against a DX 3 runtime define DIRECTDRAW_VERSION to be 0x0300.
| #define IUnknown void |
| #define REGSTR_KEY_DDHW_DESCRIPTION "Description" |
| #define REGSTR_KEY_DDHW_DRIVERNAME "DriverName" |
| #define REGSTR_PATH_DDHW "Hardware\\DirectDrawDrivers" |
| typedef struct _DDBLTBATCH DDBLTBATCH |
Used to pass override information to the DIRECTDRAWSURFACE callback Blt.
| typedef struct _DDCAPS_DX3 DDCAPS_DX3 |
This structure is the DDCAPS structure as it was in version 2 and 3 of Direct X. It is present for back compatability.
| typedef struct _DDCOLORCONTROL DDCOLORCONTROL |
| typedef struct _DDCOLORKEY DDCOLORKEY |
| typedef struct _DDOVERLAYFX DDOVERLAYFX |
| typedef struct _DDPIXELFORMAT DDPIXELFORMAT |
| typedef struct _DDSURFACEDESC DDSURFACEDESC |
| typedef HRESULT |
| typedef HWND hWnd |
| typedef DDBLTBATCH FAR* LPDDBLTBATCH |
| typedef DDCAPS_DX3 FAR* LPDDCAPS_DX3 |
| typedef struct _DDCOLORCONTROL FAR* LPDDCOLORCONTROL |
| typedef DDCOLORKEY FAR* LPDDCOLORKEY |
| typedef struct _DDFXROP FAR* LPDDFXROP |
| typedef DDOVERLAYFX FAR* LPDDOVERLAYFX |
| typedef DDPIXELFORMAT FAR* LPDDPIXELFORMAT |
| typedef LPDDSURFACEDESC |
| typedef struct IDirectDraw FAR* LPDIRECTDRAW |
| typedef struct IDirectDraw2 FAR* LPDIRECTDRAW2 |
| typedef struct IDirectDrawClipper FAR* LPDIRECTDRAWCLIPPER |
| typedef struct IDirectDrawColorControl FAR* LPDIRECTDRAWCOLORCONTROL |
| typedef struct IDirectDrawPalette FAR* LPDIRECTDRAWPALETTE |
| typedef struct IDirectDrawSurface FAR* LPDIRECTDRAWSURFACE |
| typedef struct IDirectDrawSurface2 FAR* LPDIRECTDRAWSURFACE2 |
| typedef struct IDirectDrawSurface3 FAR* LPDIRECTDRAWSURFACE3 |
| typedef DWORD | ( | FAR PASCAL * | LPCLIPPERCALLBACK | ) |
Referenced by DECLARE_INTERFACE_().
| typedef HRESULT | ( | FAR PASCAL * | LPDDENUMMODESCALLBACK | ) |
| typedef LPVOID |