ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

ddrawgdi.h
Go to the documentation of this file.
00001 /*
00002  *  DirectDraw GDI32.dll interface definitions
00003  *  Copyright (C) 2003 ReactOS Team
00004  *
00005  *  This program is free software; you can redistribute it and/or modify
00006  *  it under the terms of the GNU General Public License as published by
00007  *  the Free Software Foundation; either version 2 of the License, or
00008  *  (at your option) any later version.
00009  *
00010  *  This program is distributed in the hope that it will be useful,
00011  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  *  GNU General Public License for more details.
00014  *
00015  *  You should have received a copy of the GNU General Public License
00016  *  along with this program; if not, write to the Free Software
00017  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00018  */
00019 
00020 #ifndef _DDRAWGDI_
00021 #define _DDRAWGDI_
00022 
00023 /* Define the real export names */
00024 #define DdCreateDirectDrawObject            GdiEntry1
00025 #define DdQueryDirectDrawObject             GdiEntry2
00026 #define DdDeleteDirectDrawObject            GdiEntry3
00027 #define DdCreateSurfaceObject               GdiEntry4
00028 #define DdDeleteSurfaceObject               GdiEntry5
00029 #define DdResetVisrgn                       GdiEntry6
00030 #define DdGetDC                             GdiEntry7
00031 #define DdReleaseDC                         GdiEntry8
00032 #define DdCreateDIBSection                  GdiEntry9
00033 #define DdReenableDirectDrawObject          GdiEntry10
00034 #define DdAttachSurface                     GdiEntry11
00035 #define DdUnattachSurface                   GdiEntry12
00036 #define DdQueryDisplaySettingsUniqueness    GdiEntry13
00037 #define DdGetDxHandle                       GdiEntry14
00038 #define DdSetGammaRamp                      GdiEntry15
00039 #define DdSwapTextureHandles                GdiEntry16
00040 
00041 #ifndef D3DHAL_CALLBACKS_DEFINED
00042 typedef struct _D3DHAL_CALLBACKS FAR *LPD3DHAL_CALLBACKS;
00043 #define D3DHAL_CALLBACKS_DEFINED
00044 #endif
00045 
00046 #ifndef D3DHAL_GLOBALDRIVERDATA_DEFINED
00047 typedef struct _D3DHAL_GLOBALDRIVERDATA FAR *LPD3DHAL_GLOBALDRIVERDATA;
00048 #define D3DHAL_GLOBALDRIVERDATA_DEFINED
00049 #endif
00050 
00051 BOOL
00052 WINAPI
00053 DdCreateDirectDrawObject(
00054     LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal,
00055     HDC hdc
00056 );
00057 
00058 BOOL
00059 WINAPI
00060 DdQueryDirectDrawObject(
00061     LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal,
00062     LPDDHALINFO pHalInfo,
00063     LPDDHAL_DDCALLBACKS pDDCallbacks,
00064     LPDDHAL_DDSURFACECALLBACKS pDDSurfaceCallbacks,
00065     LPDDHAL_DDPALETTECALLBACKS pDDPaletteCallbacks,
00066     LPD3DHAL_CALLBACKS pD3dCallbacks,
00067     LPD3DHAL_GLOBALDRIVERDATA pD3dDriverData,
00068     LPDDHAL_DDEXEBUFCALLBACKS pD3dBufferCallbacks,
00069     LPDDSURFACEDESC pD3dTextureFormats,
00070     LPDWORD pdwFourCC,
00071     LPVIDMEM pvmList
00072 );
00073 
00074 BOOL
00075 WINAPI
00076 DdDeleteDirectDrawObject(
00077     LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal
00078 );
00079 
00080 BOOL
00081 WINAPI
00082 DdCreateSurfaceObject(
00083     LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal,
00084     BOOL bPrimarySurface
00085 );
00086 
00087 BOOL
00088 WINAPI
00089 DdDeleteSurfaceObject(
00090     LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal
00091 );
00092 
00093 BOOL
00094 WINAPI
00095 DdResetVisrgn(
00096     LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal,
00097     HWND hWnd
00098 );
00099 
00100 HDC
00101 WINAPI
00102 DdGetDC(
00103     LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal,
00104     LPPALETTEENTRY pColorTable
00105 );
00106 
00107 BOOL
00108 WINAPI
00109 DdReleaseDC(
00110     LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal
00111 );
00112 
00113 HBITMAP
00114 WINAPI
00115 DdCreateDIBSection(
00116     HDC hdc,
00117     CONST BITMAPINFO *pbmi,
00118     UINT iUsage,
00119     VOID **ppvBits,
00120     HANDLE hSectionApp,
00121     DWORD dwOffset
00122 );
00123 
00124 BOOL
00125 WINAPI
00126 DdReenableDirectDrawObject(
00127     LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal,
00128     BOOL *pbNewMode
00129 );
00130 
00131 BOOL
00132 WINAPI
00133 DdAttachSurface(
00134     LPDDRAWI_DDRAWSURFACE_LCL pSurfaceFrom,
00135     LPDDRAWI_DDRAWSURFACE_LCL pSurfaceTo
00136 );
00137 
00138 VOID
00139 WINAPI
00140 DdUnattachSurface(
00141     LPDDRAWI_DDRAWSURFACE_LCL pSurface,
00142     LPDDRAWI_DDRAWSURFACE_LCL pSurfaceAttached
00143 );
00144 
00145 ULONG
00146 WINAPI
00147 DdQueryDisplaySettingsUniqueness(VOID);
00148 
00149 HANDLE
00150 WINAPI
00151 DdGetDxHandle(
00152     LPDDRAWI_DIRECTDRAW_LCL pDDraw,
00153     LPDDRAWI_DDRAWSURFACE_LCL pSurface,
00154     BOOL bRelease
00155 );
00156 
00157 BOOL
00158 WINAPI
00159 DdSetGammaRamp(
00160     LPDDRAWI_DIRECTDRAW_LCL pDDraw,
00161     HDC hdc,
00162     LPVOID lpGammaRamp
00163 );
00164 
00165 DWORD
00166 WINAPI
00167 DdSwapTextureHandles(
00168     LPDDRAWI_DIRECTDRAW_LCL pDDraw,
00169     LPDDRAWI_DDRAWSURFACE_LCL pDDSLcl1,
00170     LPDDRAWI_DDRAWSURFACE_LCL pDDSLcl2
00171 );
00172 #endif

Generated on Sat May 26 2012 04:30:01 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.