/usr/i686-w64-mingw32/include/dciddi.h is in mingw-w64-i686-dev 2.0.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 | /**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the w64 mingw-runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#ifndef _INC_DCIDDI
#define _INC_DCIDDI
#ifdef __cplusplus
extern "C" {
#endif
#define DCICOMMAND 3075
#define DCI_VERSION 0x0100
#define DCICREATEPRIMARYSURFACE 1
#define DCICREATEOFFSCREENSURFACE 2
#define DCICREATEOVERLAYSURFACE 3
#define DCIENUMSURFACE 4
#define DCIESCAPE 5
#define DCI_OK 0
#define DCI_FAIL_GENERIC -1
#define DCI_FAIL_UNSUPPORTEDVERSION -2
#define DCI_FAIL_INVALIDSURFACE -3
#define DCI_FAIL_UNSUPPORTED -4
#define DCI_ERR_CURRENTLYNOTAVAIL -5
#define DCI_ERR_INVALIDRECT -6
#define DCI_ERR_UNSUPPORTEDFORMAT -7
#define DCI_ERR_UNSUPPORTEDMASK -8
#define DCI_ERR_TOOBIGHEIGHT -9
#define DCI_ERR_TOOBIGWIDTH -10
#define DCI_ERR_TOOBIGSIZE -11
#define DCI_ERR_OUTOFMEMORY -12
#define DCI_ERR_INVALIDPOSITION -13
#define DCI_ERR_INVALIDSTRETCH -14
#define DCI_ERR_INVALIDCLIPLIST -15
#define DCI_ERR_SURFACEISOBSCURED -16
#define DCI_ERR_XALIGN -17
#define DCI_ERR_YALIGN -18
#define DCI_ERR_XYALIGN -19
#define DCI_ERR_WIDTHALIGN -20
#define DCI_ERR_HEIGHTALIGN -21
#define DCI_STATUS_POINTERCHANGED 1
#define DCI_STATUS_STRIDECHANGED 2
#define DCI_STATUS_FORMATCHANGED 4
#define DCI_STATUS_SURFACEINFOCHANGED 8
#define DCI_STATUS_CHROMAKEYCHANGED 16
#define DCI_STATUS_WASSTILLDRAWING 32
#define DCI_SUCCESS(error) (((DCIRVAL)error) >= 0)
#define DCI_SURFACE_TYPE 0x0000000F
#define DCI_PRIMARY 0x00000000
#define DCI_OFFSCREEN 0x00000001
#define DCI_OVERLAY 0x00000002
#define DCI_VISIBLE 0x00000010
#define DCI_CHROMAKEY 0x00000020
#define DCI_1632_ACCESS 0x00000040
#define DCI_DWORDSIZE 0x00000080
#define DCI_DWORDALIGN 0x00000100
#define DCI_WRITEONLY 0x00000200
#define DCI_ASYNC 0x00000400
#define DCI_CAN_STRETCHX 0x00001000
#define DCI_CAN_STRETCHY 0x00002000
#define DCI_CAN_STRETCHXY (DCI_CAN_STRETCHX | DCI_CAN_STRETCHY)
#define DCI_CAN_STRETCHXN 0x00004000
#define DCI_CAN_STRETCHYN 0x00008000
#define DCI_CAN_STRETCHXYN (DCI_CAN_STRETCHXN | DCI_CAN_STRETCHYN)
#define DCI_CANOVERLAY 0x00010000
typedef int DCIRVAL;
typedef struct _DCICMD {
DWORD dwCommand;
DWORD dwParam1;
DWORD dwParam2;
DWORD dwVersion;
DWORD dwReserved;
} DCICMD;
typedef struct _DCICREATEINPUT {
DCICMD cmd;
DWORD dwCompression;
DWORD dwMask[3];
DWORD dwWidth;
DWORD dwHeight;
DWORD dwDCICaps;
DWORD dwBitCount;
LPVOID lpSurface;
} DCICREATEINPUT,*LPDCICREATEINPUT;
typedef struct _DCISURFACEINFO {
DWORD dwSize;
DWORD dwDCICaps;
DWORD dwCompression;
DWORD dwMask[3];
DWORD dwWidth;
DWORD dwHeight;
LONG lStride;
DWORD dwBitCount;
ULONG_PTR dwOffSurface;
WORD wSelSurface;
WORD wReserved;
DWORD dwReserved1;
DWORD dwReserved2;
DWORD dwReserved3;
DCIRVAL (CALLBACK *BeginAccess) (LPVOID,LPRECT);
void (CALLBACK *EndAccess) (LPVOID);
void (CALLBACK *DestroySurface) (LPVOID);
} DCISURFACEINFO,*LPDCISURFACEINFO;
typedef void (*ENUM_CALLBACK)(LPDCISURFACEINFO lpSurfaceInfo,LPVOID lpContext);
typedef struct _DCIENUMINPUT {
DCICMD cmd;
RECT rSrc;
RECT rDst;
void (CALLBACK *EnumCallback)(LPDCISURFACEINFO,LPVOID);
LPVOID lpContext;
} DCIENUMINPUT,*LPDCIENUMINPUT;
typedef DCISURFACEINFO DCIPRIMARY,*LPDCIPRIMARY;
typedef struct _DCIOFFSCREEN {
DCISURFACEINFO dciInfo;
DCIRVAL (CALLBACK *Draw) (LPVOID);
DCIRVAL (CALLBACK *SetClipList) (LPVOID,LPRGNDATA);
DCIRVAL (CALLBACK *SetDestination) (LPVOID,LPRECT,LPRECT);
} DCIOFFSCREEN,*LPDCIOFFSCREEN;
typedef struct _DCIOVERLAY {
DCISURFACEINFO dciInfo;
DWORD dwChromakeyValue;
DWORD dwChromakeyMask;
} DCIOVERLAY,*LPDCIOVERLAY;
#ifndef YVU9
#define YVU9 mmioFOURCC('Y','V','U','9')
#endif
#ifndef Y411
#define Y411 mmioFOURCC('Y','4','1','1')
#endif
#ifndef YUY2
#define YUY2 mmioFOURCC('Y','U','Y','2')
#endif
#ifndef YVYU
#define YVYU mmioFOURCC('Y','V','Y','U')
#endif
#ifndef UYVY
#define UYVY mmioFOURCC('U','Y','V','Y')
#endif
#ifndef Y211
#define Y211 mmioFOURCC('Y','2','1','1')
#endif
#ifdef __cplusplus
}
#endif
#endif
|