refactoring
This commit is contained in:
parent
95afd87656
commit
baaa87b18f
62 changed files with 7231 additions and 6636 deletions
40
inc/IDirectDrawClipper.h
Normal file
40
inc/IDirectDrawClipper.h
Normal file
|
@ -0,0 +1,40 @@
|
|||
#ifndef IDIRECTDRAWCLIPPER_H
|
||||
#define IDIRECTDRAWCLIPPER_H
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#include "ddraw.h"
|
||||
|
||||
|
||||
struct IDirectDrawClipperImpl;
|
||||
struct IDirectDrawClipperImplVtbl;
|
||||
|
||||
typedef struct IDirectDrawClipperImpl
|
||||
{
|
||||
struct IDirectDrawClipperImplVtbl *lpVtbl;
|
||||
|
||||
ULONG ref;
|
||||
|
||||
} IDirectDrawClipperImpl;
|
||||
|
||||
typedef struct IDirectDrawClipperImplVtbl IDirectDrawClipperImplVtbl;
|
||||
|
||||
struct IDirectDrawClipperImplVtbl
|
||||
{
|
||||
/* IUnknown */
|
||||
HRESULT (__stdcall *QueryInterface)(IDirectDrawClipperImpl *, REFIID, void **);
|
||||
ULONG (__stdcall *AddRef)(IDirectDrawClipperImpl *);
|
||||
ULONG (__stdcall *Release)(IDirectDrawClipperImpl *);
|
||||
|
||||
/* IDirectDrawClipper */
|
||||
HRESULT (__stdcall *GetClipList)(IDirectDrawClipperImpl *, LPRECT, LPRGNDATA, LPDWORD);
|
||||
HRESULT (__stdcall *GetHWnd)(IDirectDrawClipperImpl *, HWND FAR *);
|
||||
HRESULT (__stdcall *Initialize)(IDirectDrawClipperImpl *, LPDIRECTDRAW, DWORD);
|
||||
HRESULT (__stdcall *IsClipListChanged)(IDirectDrawClipperImpl *, BOOL FAR *);
|
||||
HRESULT (__stdcall *SetClipList)(IDirectDrawClipperImpl *, LPRGNDATA,DWORD);
|
||||
HRESULT (__stdcall *SetHWnd)(IDirectDrawClipperImpl *, DWORD, HWND );
|
||||
};
|
||||
|
||||
extern struct IDirectDrawClipperImplVtbl g_ddc_vtbl;
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue