1
0
mirror of https://github.com/narzoul/DDrawCompat synced 2024-12-30 08:55:36 +01:00
DDrawCompat/DDrawCompat/D3dDdi/KernelModeThunks.h
narzoul 7068d282ff Improved palette handling
Fixes windowed-mode palette issues in SimCopter (issue #46)
2019-08-03 12:09:19 +02:00

23 lines
499 B
C++

#pragma once
#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
namespace D3dDdi
{
namespace KernelModeThunks
{
UINT getLastFlipInterval();
UINT getLastDisplayedFrameCount();
UINT getLastSubmittedFrameCount();
RECT getMonitorRect();
long long getQpcLastVerticalBlank();
void installHooks(HMODULE origDDrawModule);
void setFlipIntervalOverride(UINT flipInterval);
void setDcFormatOverride(UINT format);
void setDcPaletteOverride(bool enable);
void waitForVerticalBlank();
}
}