1
0
mirror of https://github.com/narzoul/DDrawCompat synced 2024-12-30 08:55:36 +01:00
DDrawCompat/DDrawCompat/DDraw/DirectDrawPalette.h

25 lines
550 B
C++

#pragma once
#include "Common/CompatVtable.h"
#include "DDraw/Visitors/DirectDrawPaletteVtblVisitor.h"
namespace DDraw
{
class DirectDrawPalette : public CompatVtable<IDirectDrawPaletteVtbl>
{
public:
static void setCompatVtable(IDirectDrawPaletteVtbl& vtable);
static HRESULT STDMETHODCALLTYPE SetEntries(
IDirectDrawPalette* This,
DWORD dwFlags,
DWORD dwStartingEntry,
DWORD dwCount,
LPPALETTEENTRY lpEntries);
static void waitForNextUpdate();
};
}
SET_COMPAT_VTABLE(IDirectDrawPaletteVtbl, DDraw::DirectDrawPalette);