2021-01-09 19:51:26 +01:00
|
|
|
#ifndef IDIRECTDRAWGAMMACONTROL_H
|
|
|
|
#define IDIRECTDRAWGAMMACONTROL_H
|
|
|
|
|
|
|
|
#define WIN32_LEAN_AND_MEAN
|
|
|
|
#include <windows.h>
|
2021-06-14 09:57:26 +02:00
|
|
|
#include "ddraw.h"
|
2021-01-09 19:51:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
struct IDirectDrawGammaControlImpl;
|
|
|
|
struct IDirectDrawGammaControlImplVtbl;
|
|
|
|
|
|
|
|
typedef struct IDirectDrawGammaControlImpl
|
|
|
|
{
|
2021-06-11 20:30:43 +02:00
|
|
|
struct IDirectDrawGammaControlImplVtbl* lpVtbl;
|
2021-01-09 19:51:26 +01:00
|
|
|
|
|
|
|
ULONG ref;
|
|
|
|
|
|
|
|
} IDirectDrawGammaControlImpl;
|
|
|
|
|
|
|
|
typedef struct IDirectDrawGammaControlImplVtbl IDirectDrawGammaControlImplVtbl;
|
|
|
|
|
2021-06-11 20:30:43 +02:00
|
|
|
#undef INTERFACE
|
|
|
|
#define INTERFACE IDirectDrawGammaControlImpl
|
2021-01-09 19:51:26 +01:00
|
|
|
struct IDirectDrawGammaControlImplVtbl
|
|
|
|
{
|
2021-06-11 20:30:43 +02:00
|
|
|
/*** IUnknown methods ***/
|
|
|
|
STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
|
|
|
|
STDMETHOD_(ULONG, AddRef) (THIS) PURE;
|
|
|
|
STDMETHOD_(ULONG, Release) (THIS) PURE;
|
|
|
|
/*** IDirectDrawGammaControl methods ***/
|
|
|
|
STDMETHOD(GetGammaRamp)(THIS_ DWORD, LPDDGAMMARAMP) PURE;
|
|
|
|
STDMETHOD(SetGammaRamp)(THIS_ DWORD, LPDDGAMMARAMP) PURE;
|
2021-01-09 19:51:26 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
extern struct IDirectDrawGammaControlImplVtbl g_ddgc_vtbl;
|
|
|
|
|
|
|
|
#endif
|