mirror of
https://github.com/narzoul/DDrawCompat
synced 2024-12-30 08:55:36 +01:00
23 lines
499 B
C++
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();
|
|
}
|
|
}
|