mirror of
https://github.com/narzoul/DDrawCompat
synced 2024-12-30 08:55:36 +01:00
23 lines
473 B
C++
23 lines
473 B
C++
#pragma once
|
|
|
|
#include "CompatVtable.h"
|
|
#include "DirectDrawPaletteVtblVisitor.h"
|
|
|
|
namespace DDraw
|
|
{
|
|
class DirectDrawPalette : public CompatVtable<DirectDrawPalette, IDirectDrawPalette>
|
|
{
|
|
public:
|
|
static void setCompatVtable(IDirectDrawPaletteVtbl& vtable);
|
|
|
|
static HRESULT STDMETHODCALLTYPE SetEntries(
|
|
IDirectDrawPalette* This,
|
|
DWORD dwFlags,
|
|
DWORD dwStartingEntry,
|
|
DWORD dwCount,
|
|
LPPALETTEENTRY lpEntries);
|
|
|
|
static void waitForNextUpdate();
|
|
};
|
|
}
|