Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
1859dde8
Commit
1859dde8
authored
Mar 19, 2001
by
Ove Kaaven
Committed by
Alexandre Julliard
Mar 19, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added IDirectDrawGammaControl interface declaration.
parent
f7e7cd4a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
0 deletions
+27
-0
ddraw.h
include/ddraw.h
+27
-0
No files found.
include/ddraw.h
View file @
1859dde8
...
...
@@ -1016,6 +1016,12 @@ typedef struct {
DWORD
dwReserved1
;
}
DDCOLORCONTROL
,
*
LPDDCOLORCONTROL
;
typedef
struct
{
WORD
red
[
256
];
WORD
green
[
256
];
WORD
blue
[
256
];
}
DDGAMMARAMP
,
*
LPDDGAMMARAMP
;
typedef
BOOL
CALLBACK
(
*
LPDDENUMCALLBACKA
)(
GUID
*
,
LPSTR
,
LPSTR
,
LPVOID
);
typedef
BOOL
CALLBACK
(
*
LPDDENUMCALLBACKW
)(
GUID
*
,
LPWSTR
,
LPWSTR
,
LPVOID
);
DECL_WINELIB_TYPE_AW
(
LPDDENUMCALLBACK
)
...
...
@@ -2042,6 +2048,27 @@ ICOM_DEFINE(IDirectDrawColorControl,IUnknown)
#define IDirectDrawColorControl_GetColorControls(p,a) ICOM_CALL(GetColorControls,p,a)
#define IDirectDrawColorControl_SetColorControls(p,a) ICOM_CALL(SetColorControls,p,a)
/*****************************************************************************
* IDirectDrawGammaControl interface
*/
#define ICOM_INTERFACE IDirectDrawGammaControl
#define IDirectDrawGammaControl_METHODS \
ICOM_METHOD2(HRESULT,GetGammaRamp, DWORD,dwFlags, LPDDGAMMARAMP,lpGammaRamp) \
ICOM_METHOD2(HRESULT,SetGammaRamp, DWORD,dwFlags, LPDDGAMMARAMP,lpGammaRamp)
#define IDirectDrawGammaControl_IMETHODS \
IUnknown_IMETHODS \
IDirectDrawGammaControl_METHODS
ICOM_DEFINE
(
IDirectDrawGammaControl
,
IUnknown
)
#undef ICOM_INTERFACE
/*** IUnknown methods ***/
#define IDirectDrawGammaControl_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
#define IDirectDrawGammaControl_AddRef(p) ICOM_CALL (AddRef,p)
#define IDirectDrawGammaControl_Release(p) ICOM_CALL (Release,p)
/*** IDirectDrawGammaControl methods ***/
#define IDirectDrawGammaControl_GetGammaRamp(p,a,b) ICOM_CALL(GetGammaRamp,p,a,b)
#define IDirectDrawGammaControl_SetGammaRamp(p,a,b) ICOM_CALL(SetGammaRamp,p,a,b)
HRESULT
WINAPI
DirectDrawCreate
(
LPGUID
,
LPDIRECTDRAW
*
,
LPUNKNOWN
);
HRESULT
WINAPI
DirectDrawCreateEx
(
LPGUID
,
LPVOID
*
,
REFIID
,
LPUNKNOWN
);
...
...
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