Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygendciddi.h
Go to the documentation of this file.
00001 00006 #ifndef _INC_DCIDDI 00007 #define _INC_DCIDDI 00008 00009 #ifdef __cplusplus 00010 extern "C" { 00011 #endif 00012 00013 #define DCICOMMAND 3075 00014 #define DCI_VERSION 0x0100 00015 00016 #define DCICREATEPRIMARYSURFACE 1 00017 #define DCICREATEOFFSCREENSURFACE 2 00018 #define DCICREATEOVERLAYSURFACE 3 00019 #define DCIENUMSURFACE 4 00020 #define DCIESCAPE 5 00021 00022 #define DCI_OK 0 00023 #define DCI_FAIL_GENERIC -1 00024 #define DCI_FAIL_UNSUPPORTEDVERSION -2 00025 #define DCI_FAIL_INVALIDSURFACE -3 00026 #define DCI_FAIL_UNSUPPORTED -4 00027 00028 #define DCI_ERR_CURRENTLYNOTAVAIL -5 00029 #define DCI_ERR_INVALIDRECT -6 00030 #define DCI_ERR_UNSUPPORTEDFORMAT -7 00031 #define DCI_ERR_UNSUPPORTEDMASK -8 00032 #define DCI_ERR_TOOBIGHEIGHT -9 00033 #define DCI_ERR_TOOBIGWIDTH -10 00034 #define DCI_ERR_TOOBIGSIZE -11 00035 #define DCI_ERR_OUTOFMEMORY -12 00036 #define DCI_ERR_INVALIDPOSITION -13 00037 #define DCI_ERR_INVALIDSTRETCH -14 00038 #define DCI_ERR_INVALIDCLIPLIST -15 00039 #define DCI_ERR_SURFACEISOBSCURED -16 00040 #define DCI_ERR_XALIGN -17 00041 #define DCI_ERR_YALIGN -18 00042 #define DCI_ERR_XYALIGN -19 00043 #define DCI_ERR_WIDTHALIGN -20 00044 #define DCI_ERR_HEIGHTALIGN -21 00045 00046 #define DCI_STATUS_POINTERCHANGED 1 00047 #define DCI_STATUS_STRIDECHANGED 2 00048 #define DCI_STATUS_FORMATCHANGED 4 00049 #define DCI_STATUS_SURFACEINFOCHANGED 8 00050 #define DCI_STATUS_CHROMAKEYCHANGED 16 00051 #define DCI_STATUS_WASSTILLDRAWING 32 00052 00053 #define DCI_SUCCESS(error) (((DCIRVAL)error) >= 0) 00054 00055 #define DCI_SURFACE_TYPE 0x0000000F 00056 #define DCI_PRIMARY 0x00000000 00057 #define DCI_OFFSCREEN 0x00000001 00058 #define DCI_OVERLAY 0x00000002 00059 #define DCI_VISIBLE 0x00000010 00060 #define DCI_CHROMAKEY 0x00000020 00061 #define DCI_1632_ACCESS 0x00000040 00062 #define DCI_DWORDSIZE 0x00000080 00063 #define DCI_DWORDALIGN 0x00000100 00064 #define DCI_WRITEONLY 0x00000200 00065 #define DCI_ASYNC 0x00000400 00066 00067 #define DCI_CAN_STRETCHX 0x00001000 00068 #define DCI_CAN_STRETCHY 0x00002000 00069 #define DCI_CAN_STRETCHXY (DCI_CAN_STRETCHX | DCI_CAN_STRETCHY) 00070 00071 #define DCI_CAN_STRETCHXN 0x00004000 00072 #define DCI_CAN_STRETCHYN 0x00008000 00073 #define DCI_CAN_STRETCHXYN (DCI_CAN_STRETCHXN | DCI_CAN_STRETCHYN) 00074 00075 #define DCI_CANOVERLAY 0x00010000 00076 00077 typedef int DCIRVAL; 00078 00079 typedef struct _DCICMD { 00080 DWORD dwCommand; 00081 DWORD dwParam1; 00082 DWORD dwParam2; 00083 DWORD dwVersion; 00084 DWORD dwReserved; 00085 } DCICMD; 00086 00087 typedef struct _DCICREATEINPUT { 00088 DCICMD cmd; 00089 DWORD dwCompression; 00090 DWORD dwMask[3]; 00091 DWORD dwWidth; 00092 DWORD dwHeight; 00093 DWORD dwDCICaps; 00094 DWORD dwBitCount; 00095 LPVOID lpSurface; 00096 } DCICREATEINPUT,*LPDCICREATEINPUT; 00097 00098 typedef struct _DCISURFACEINFO { 00099 DWORD dwSize; 00100 DWORD dwDCICaps; 00101 DWORD dwCompression; 00102 DWORD dwMask[3]; 00103 DWORD dwWidth; 00104 DWORD dwHeight; 00105 LONG lStride; 00106 DWORD dwBitCount; 00107 ULONG_PTR dwOffSurface; 00108 WORD wSelSurface; 00109 WORD wReserved; 00110 DWORD dwReserved1; 00111 DWORD dwReserved2; 00112 DWORD dwReserved3; 00113 DCIRVAL (CALLBACK *BeginAccess) (LPVOID,LPRECT); 00114 void (CALLBACK *EndAccess) (LPVOID); 00115 void (CALLBACK *DestroySurface) (LPVOID); 00116 } DCISURFACEINFO,*LPDCISURFACEINFO; 00117 00118 typedef void (*ENUM_CALLBACK)(LPDCISURFACEINFO lpSurfaceInfo,LPVOID lpContext); 00119 00120 typedef struct _DCIENUMINPUT { 00121 DCICMD cmd; 00122 RECT rSrc; 00123 RECT rDst; 00124 void (CALLBACK *EnumCallback)(LPDCISURFACEINFO,LPVOID); 00125 LPVOID lpContext; 00126 } DCIENUMINPUT,*LPDCIENUMINPUT; 00127 00128 typedef DCISURFACEINFO DCIPRIMARY,*LPDCIPRIMARY; 00129 00130 typedef struct _DCIOFFSCREEN { 00131 DCISURFACEINFO dciInfo; 00132 DCIRVAL (CALLBACK *Draw) (LPVOID); 00133 DCIRVAL (CALLBACK *SetClipList) (LPVOID,LPRGNDATA); 00134 DCIRVAL (CALLBACK *SetDestination) (LPVOID,LPRECT,LPRECT); 00135 } DCIOFFSCREEN,*LPDCIOFFSCREEN; 00136 00137 typedef struct _DCIOVERLAY { 00138 DCISURFACEINFO dciInfo; 00139 DWORD dwChromakeyValue; 00140 DWORD dwChromakeyMask; 00141 } DCIOVERLAY,*LPDCIOVERLAY; 00142 00143 #ifndef YVU9 00144 #define YVU9 mmioFOURCC('Y','V','U','9') 00145 #endif 00146 #ifndef Y411 00147 #define Y411 mmioFOURCC('Y','4','1','1') 00148 #endif 00149 #ifndef YUY2 00150 #define YUY2 mmioFOURCC('Y','U','Y','2') 00151 #endif 00152 #ifndef YVYU 00153 #define YVYU mmioFOURCC('Y','V','Y','U') 00154 #endif 00155 #ifndef UYVY 00156 #define UYVY mmioFOURCC('U','Y','V','Y') 00157 #endif 00158 #ifndef Y211 00159 #define Y211 mmioFOURCC('Y','2','1','1') 00160 #endif 00161 00162 #ifdef __cplusplus 00163 } 00164 #endif 00165 #endif Generated on Fri May 25 2012 04:28:27 for ReactOS by
1.7.6.1
|