Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
6eaf601d
Commit
6eaf601d
authored
Nov 06, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Nov 07, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Avoid LPDIRECTDRAWPALETTE.
parent
42557724
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
15 deletions
+20
-15
ddraw.h
include/ddraw.h
+20
-15
No files found.
include/ddraw.h
View file @
6eaf601d
...
...
@@ -1323,7 +1323,8 @@ DECLARE_INTERFACE_(IDirectDraw,IUnknown)
/*** IDirectDraw methods ***/
STDMETHOD
(
Compact
)(
THIS
)
PURE
;
STDMETHOD
(
CreateClipper
)(
THIS_
DWORD
dwFlags
,
LPDIRECTDRAWCLIPPER
*
lplpDDClipper
,
IUnknown
*
pUnkOuter
)
PURE
;
STDMETHOD
(
CreatePalette
)(
THIS_
DWORD
dwFlags
,
LPPALETTEENTRY
lpColorTable
,
LPDIRECTDRAWPALETTE
*
lplpDDPalette
,
IUnknown
*
pUnkOuter
)
PURE
;
STDMETHOD
(
CreatePalette
)(
THIS_
DWORD
flags
,
PALETTEENTRY
*
color_table
,
IDirectDrawPalette
**
palette
,
IUnknown
*
outer
)
PURE
;
STDMETHOD
(
CreateSurface
)(
THIS_
DDSURFACEDESC
*
surface_desc
,
struct
IDirectDrawSurface
**
surface
,
IUnknown
*
outer
)
PURE
;
STDMETHOD
(
DuplicateSurface
)(
THIS_
struct
IDirectDrawSurface
*
src_surface
,
...
...
@@ -1432,7 +1433,8 @@ DECLARE_INTERFACE_(IDirectDraw2,IUnknown)
/*** IDirectDraw2 methods ***/
/*0c*/
STDMETHOD
(
Compact
)(
THIS
)
PURE
;
/*10*/
STDMETHOD
(
CreateClipper
)(
THIS_
DWORD
dwFlags
,
LPDIRECTDRAWCLIPPER
*
lplpDDClipper
,
IUnknown
*
pUnkOuter
)
PURE
;
/*14*/
STDMETHOD
(
CreatePalette
)(
THIS_
DWORD
dwFlags
,
LPPALETTEENTRY
lpColorTable
,
LPDIRECTDRAWPALETTE
*
lplpDDPalette
,
IUnknown
*
pUnkOuter
)
PURE
;
/*14*/
STDMETHOD
(
CreatePalette
)(
THIS_
DWORD
flags
,
PALETTEENTRY
*
color_table
,
IDirectDrawPalette
**
palette
,
IUnknown
*
outer
)
PURE
;
/*18*/
STDMETHOD
(
CreateSurface
)(
THIS_
DDSURFACEDESC
*
surface_desc
,
struct
IDirectDrawSurface
**
surface
,
IUnknown
*
outer
)
PURE
;
/*1c*/
STDMETHOD
(
DuplicateSurface
)(
THIS_
struct
IDirectDrawSurface
*
src_surface
,
...
...
@@ -1529,7 +1531,8 @@ DECLARE_INTERFACE_(IDirectDraw3,IUnknown)
/*** IDirectDraw2 methods ***/
/*0c*/
STDMETHOD
(
Compact
)(
THIS
)
PURE
;
/*10*/
STDMETHOD
(
CreateClipper
)(
THIS_
DWORD
dwFlags
,
LPDIRECTDRAWCLIPPER
*
lplpDDClipper
,
IUnknown
*
pUnkOuter
)
PURE
;
/*14*/
STDMETHOD
(
CreatePalette
)(
THIS_
DWORD
dwFlags
,
LPPALETTEENTRY
lpColorTable
,
LPDIRECTDRAWPALETTE
*
lplpDDPalette
,
IUnknown
*
pUnkOuter
)
PURE
;
/*14*/
STDMETHOD
(
CreatePalette
)(
THIS_
DWORD
flags
,
PALETTEENTRY
*
color_table
,
IDirectDrawPalette
**
lplpDDPalette
,
IUnknown
*
outer
)
PURE
;
/*18*/
STDMETHOD
(
CreateSurface
)(
THIS_
DDSURFACEDESC
*
surface_desc
,
struct
IDirectDrawSurface
**
surface
,
IUnknown
*
outer
)
PURE
;
/*1c*/
STDMETHOD
(
DuplicateSurface
)(
THIS_
struct
IDirectDrawSurface
*
src_surface
,
...
...
@@ -1632,7 +1635,8 @@ DECLARE_INTERFACE_(IDirectDraw4,IUnknown)
/*** IDirectDraw4 methods ***/
/*0c*/
STDMETHOD
(
Compact
)(
THIS
)
PURE
;
/*10*/
STDMETHOD
(
CreateClipper
)(
THIS_
DWORD
dwFlags
,
LPDIRECTDRAWCLIPPER
*
lplpDDClipper
,
IUnknown
*
pUnkOuter
)
PURE
;
/*14*/
STDMETHOD
(
CreatePalette
)(
THIS_
DWORD
dwFlags
,
LPPALETTEENTRY
lpColorTable
,
LPDIRECTDRAWPALETTE
*
lplpDDPalette
,
IUnknown
*
pUnkOuter
)
PURE
;
/*14*/
STDMETHOD
(
CreatePalette
)(
THIS_
DWORD
flags
,
PALETTEENTRY
*
color_table
,
IDirectDrawPalette
**
palette
,
IUnknown
*
outer
)
PURE
;
/*18*/
STDMETHOD
(
CreateSurface
)(
THIS_
DDSURFACEDESC2
*
surface_desc
,
struct
IDirectDrawSurface4
**
surface
,
IUnknown
*
outer
)
PURE
;
/*1c*/
STDMETHOD
(
DuplicateSurface
)(
THIS_
struct
IDirectDrawSurface4
*
src_surface
,
...
...
@@ -1747,7 +1751,8 @@ DECLARE_INTERFACE_(IDirectDraw7,IUnknown)
/*** IDirectDraw7 methods ***/
/*0c*/
STDMETHOD
(
Compact
)(
THIS
)
PURE
;
/*10*/
STDMETHOD
(
CreateClipper
)(
THIS_
DWORD
dwFlags
,
LPDIRECTDRAWCLIPPER
*
lplpDDClipper
,
IUnknown
*
pUnkOuter
)
PURE
;
/*14*/
STDMETHOD
(
CreatePalette
)(
THIS_
DWORD
dwFlags
,
LPPALETTEENTRY
lpColorTable
,
LPDIRECTDRAWPALETTE
*
lplpDDPalette
,
IUnknown
*
pUnkOuter
)
PURE
;
/*14*/
STDMETHOD
(
CreatePalette
)(
THIS_
DWORD
flags
,
PALETTEENTRY
*
color_table
,
IDirectDrawPalette
**
palette
,
IUnknown
*
outer
)
PURE
;
/*18*/
STDMETHOD
(
CreateSurface
)(
THIS_
DDSURFACEDESC2
*
surface_desc
,
struct
IDirectDrawSurface7
**
surface
,
IUnknown
*
outer
)
PURE
;
/*1c*/
STDMETHOD
(
DuplicateSurface
)(
THIS_
struct
IDirectDrawSurface7
*
src_surface
,
...
...
@@ -1885,7 +1890,7 @@ DECLARE_INTERFACE_(IDirectDrawSurface,IUnknown)
/*44*/
STDMETHOD
(
GetDC
)(
THIS_
HDC
*
lphDC
)
PURE
;
/*48*/
STDMETHOD
(
GetFlipStatus
)(
THIS_
DWORD
dwFlags
)
PURE
;
/*4c*/
STDMETHOD
(
GetOverlayPosition
)(
THIS_
LPLONG
lplX
,
LPLONG
lplY
)
PURE
;
/*50*/
STDMETHOD
(
GetPalette
)(
THIS_
LPDIRECTDRAWPALETTE
*
lplpDDP
alette
)
PURE
;
/*50*/
STDMETHOD
(
GetPalette
)(
THIS_
IDirectDrawPalette
**
p
alette
)
PURE
;
/*54*/
STDMETHOD
(
GetPixelFormat
)(
THIS_
LPDDPIXELFORMAT
lpDDPixelFormat
)
PURE
;
/*58*/
STDMETHOD
(
GetSurfaceDesc
)(
THIS_
LPDDSURFACEDESC
lpDDSurfaceDesc
)
PURE
;
/*5c*/
STDMETHOD
(
Initialize
)(
THIS_
LPDIRECTDRAW
lpDD
,
LPDDSURFACEDESC
lpDDSurfaceDesc
)
PURE
;
...
...
@@ -1896,7 +1901,7 @@ DECLARE_INTERFACE_(IDirectDrawSurface,IUnknown)
/*70*/
STDMETHOD
(
SetClipper
)(
THIS_
LPDIRECTDRAWCLIPPER
lpDDClipper
)
PURE
;
/*74*/
STDMETHOD
(
SetColorKey
)(
THIS_
DWORD
dwFlags
,
LPDDCOLORKEY
lpDDColorKey
)
PURE
;
/*78*/
STDMETHOD
(
SetOverlayPosition
)(
THIS_
LONG
lX
,
LONG
lY
)
PURE
;
/*7c*/
STDMETHOD
(
SetPalette
)(
THIS_
LPDIRECTDRAWPALETTE
lpDDP
alette
)
PURE
;
/*7c*/
STDMETHOD
(
SetPalette
)(
THIS_
IDirectDrawPalette
*
p
alette
)
PURE
;
/*80*/
STDMETHOD
(
Unlock
)(
THIS_
LPVOID
lpSurfaceData
)
PURE
;
/*84*/
STDMETHOD
(
UpdateOverlay
)(
THIS_
RECT
*
src_rect
,
IDirectDrawSurface
*
dst_surface
,
RECT
*
dst_rect
,
DWORD
flags
,
DDOVERLAYFX
*
fx
)
PURE
;
...
...
@@ -2019,7 +2024,7 @@ DECLARE_INTERFACE_(IDirectDrawSurface2,IUnknown)
STDMETHOD
(
GetDC
)(
THIS_
HDC
*
lphDC
)
PURE
;
STDMETHOD
(
GetFlipStatus
)(
THIS_
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
GetOverlayPosition
)(
THIS_
LPLONG
lplX
,
LPLONG
lplY
)
PURE
;
STDMETHOD
(
GetPalette
)(
THIS_
LPDIRECTDRAWPALETTE
*
lplpDDP
alette
)
PURE
;
STDMETHOD
(
GetPalette
)(
THIS_
IDirectDrawPalette
**
p
alette
)
PURE
;
STDMETHOD
(
GetPixelFormat
)(
THIS_
LPDDPIXELFORMAT
lpDDPixelFormat
)
PURE
;
STDMETHOD
(
GetSurfaceDesc
)(
THIS_
LPDDSURFACEDESC
lpDDSurfaceDesc
)
PURE
;
STDMETHOD
(
Initialize
)(
THIS_
LPDIRECTDRAW
lpDD
,
LPDDSURFACEDESC
lpDDSurfaceDesc
)
PURE
;
...
...
@@ -2030,7 +2035,7 @@ DECLARE_INTERFACE_(IDirectDrawSurface2,IUnknown)
STDMETHOD
(
SetClipper
)(
THIS_
LPDIRECTDRAWCLIPPER
lpDDClipper
)
PURE
;
STDMETHOD
(
SetColorKey
)(
THIS_
DWORD
dwFlags
,
LPDDCOLORKEY
lpDDColorKey
)
PURE
;
STDMETHOD
(
SetOverlayPosition
)(
THIS_
LONG
lX
,
LONG
lY
)
PURE
;
STDMETHOD
(
SetPalette
)(
THIS_
LPDIRECTDRAWPALETTE
lpDDP
alette
)
PURE
;
STDMETHOD
(
SetPalette
)(
THIS_
IDirectDrawPalette
*
p
alette
)
PURE
;
STDMETHOD
(
Unlock
)(
THIS_
LPVOID
lpSurfaceData
)
PURE
;
STDMETHOD
(
UpdateOverlay
)(
THIS_
RECT
*
src_rect
,
IDirectDrawSurface2
*
dst_surface
,
RECT
*
dst_rect
,
DWORD
flags
,
DDOVERLAYFX
*
fx
)
PURE
;
...
...
@@ -2165,7 +2170,7 @@ DECLARE_INTERFACE_(IDirectDrawSurface3,IUnknown)
STDMETHOD
(
GetDC
)(
THIS_
HDC
*
lphDC
)
PURE
;
STDMETHOD
(
GetFlipStatus
)(
THIS_
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
GetOverlayPosition
)(
THIS_
LPLONG
lplX
,
LPLONG
lplY
)
PURE
;
STDMETHOD
(
GetPalette
)(
THIS_
LPDIRECTDRAWPALETTE
*
lplpDDP
alette
)
PURE
;
STDMETHOD
(
GetPalette
)(
THIS_
IDirectDrawPalette
**
p
alette
)
PURE
;
STDMETHOD
(
GetPixelFormat
)(
THIS_
LPDDPIXELFORMAT
lpDDPixelFormat
)
PURE
;
STDMETHOD
(
GetSurfaceDesc
)(
THIS_
LPDDSURFACEDESC
lpDDSurfaceDesc
)
PURE
;
STDMETHOD
(
Initialize
)(
THIS_
LPDIRECTDRAW
lpDD
,
LPDDSURFACEDESC
lpDDSurfaceDesc
)
PURE
;
...
...
@@ -2176,7 +2181,7 @@ DECLARE_INTERFACE_(IDirectDrawSurface3,IUnknown)
STDMETHOD
(
SetClipper
)(
THIS_
LPDIRECTDRAWCLIPPER
lpDDClipper
)
PURE
;
STDMETHOD
(
SetColorKey
)(
THIS_
DWORD
dwFlags
,
LPDDCOLORKEY
lpDDColorKey
)
PURE
;
STDMETHOD
(
SetOverlayPosition
)(
THIS_
LONG
lX
,
LONG
lY
)
PURE
;
STDMETHOD
(
SetPalette
)(
THIS_
LPDIRECTDRAWPALETTE
lpDDP
alette
)
PURE
;
STDMETHOD
(
SetPalette
)(
THIS_
IDirectDrawPalette
*
p
alette
)
PURE
;
STDMETHOD
(
Unlock
)(
THIS_
LPVOID
lpSurfaceData
)
PURE
;
STDMETHOD
(
UpdateOverlay
)(
THIS_
RECT
*
src_rect
,
IDirectDrawSurface3
*
dst_surface
,
RECT
*
dst_rect
,
DWORD
flags
,
DDOVERLAYFX
*
fx
)
PURE
;
...
...
@@ -2316,7 +2321,7 @@ DECLARE_INTERFACE_(IDirectDrawSurface4,IUnknown)
STDMETHOD
(
GetDC
)(
THIS_
HDC
*
lphDC
)
PURE
;
STDMETHOD
(
GetFlipStatus
)(
THIS_
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
GetOverlayPosition
)(
THIS_
LPLONG
lplX
,
LPLONG
lplY
)
PURE
;
STDMETHOD
(
GetPalette
)(
THIS_
LPDIRECTDRAWPALETTE
*
lplpDDP
alette
)
PURE
;
STDMETHOD
(
GetPalette
)(
THIS_
IDirectDrawPalette
**
p
alette
)
PURE
;
STDMETHOD
(
GetPixelFormat
)(
THIS_
LPDDPIXELFORMAT
lpDDPixelFormat
)
PURE
;
STDMETHOD
(
GetSurfaceDesc
)(
THIS_
LPDDSURFACEDESC2
lpDDSurfaceDesc
)
PURE
;
STDMETHOD
(
Initialize
)(
THIS_
LPDIRECTDRAW
lpDD
,
LPDDSURFACEDESC2
lpDDSurfaceDesc
)
PURE
;
...
...
@@ -2327,7 +2332,7 @@ DECLARE_INTERFACE_(IDirectDrawSurface4,IUnknown)
STDMETHOD
(
SetClipper
)(
THIS_
LPDIRECTDRAWCLIPPER
lpDDClipper
)
PURE
;
STDMETHOD
(
SetColorKey
)(
THIS_
DWORD
dwFlags
,
LPDDCOLORKEY
lpDDColorKey
)
PURE
;
STDMETHOD
(
SetOverlayPosition
)(
THIS_
LONG
lX
,
LONG
lY
)
PURE
;
STDMETHOD
(
SetPalette
)(
THIS_
LPDIRECTDRAWPALETTE
lpDDP
alette
)
PURE
;
STDMETHOD
(
SetPalette
)(
THIS_
IDirectDrawPalette
*
p
alette
)
PURE
;
STDMETHOD
(
Unlock
)(
THIS_
LPRECT
lpSurfaceData
)
PURE
;
STDMETHOD
(
UpdateOverlay
)(
THIS_
RECT
*
src_rect
,
IDirectDrawSurface4
*
dst_surface
,
RECT
*
dst_rect
,
DWORD
flags
,
DDOVERLAYFX
*
fx
)
PURE
;
...
...
@@ -2483,7 +2488,7 @@ DECLARE_INTERFACE_(IDirectDrawSurface7,IUnknown)
STDMETHOD
(
GetDC
)(
THIS_
HDC
*
lphDC
)
PURE
;
STDMETHOD
(
GetFlipStatus
)(
THIS_
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
GetOverlayPosition
)(
THIS_
LPLONG
lplX
,
LPLONG
lplY
)
PURE
;
STDMETHOD
(
GetPalette
)(
THIS_
LPDIRECTDRAWPALETTE
*
lplpDDP
alette
)
PURE
;
STDMETHOD
(
GetPalette
)(
THIS_
IDirectDrawPalette
**
p
alette
)
PURE
;
STDMETHOD
(
GetPixelFormat
)(
THIS_
LPDDPIXELFORMAT
lpDDPixelFormat
)
PURE
;
STDMETHOD
(
GetSurfaceDesc
)(
THIS_
LPDDSURFACEDESC2
lpDDSurfaceDesc
)
PURE
;
STDMETHOD
(
Initialize
)(
THIS_
LPDIRECTDRAW
lpDD
,
LPDDSURFACEDESC2
lpDDSurfaceDesc
)
PURE
;
...
...
@@ -2494,7 +2499,7 @@ DECLARE_INTERFACE_(IDirectDrawSurface7,IUnknown)
STDMETHOD
(
SetClipper
)(
THIS_
LPDIRECTDRAWCLIPPER
lpDDClipper
)
PURE
;
STDMETHOD
(
SetColorKey
)(
THIS_
DWORD
dwFlags
,
LPDDCOLORKEY
lpDDColorKey
)
PURE
;
STDMETHOD
(
SetOverlayPosition
)(
THIS_
LONG
lX
,
LONG
lY
)
PURE
;
STDMETHOD
(
SetPalette
)(
THIS_
LPDIRECTDRAWPALETTE
lpDDP
alette
)
PURE
;
STDMETHOD
(
SetPalette
)(
THIS_
IDirectDrawPalette
*
p
alette
)
PURE
;
STDMETHOD
(
Unlock
)(
THIS_
LPRECT
lpSurfaceData
)
PURE
;
STDMETHOD
(
UpdateOverlay
)(
THIS_
RECT
*
src_rect
,
IDirectDrawSurface7
*
dst_surface
,
RECT
*
dst_rect
,
DWORD
flags
,
DDOVERLAYFX
*
fx
)
PURE
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment