mirror of
https://github.com/narzoul/DDrawCompat
synced 2024-12-30 08:55:36 +01:00
22 lines
468 B
C++
22 lines
468 B
C++
#pragma once
|
|
|
|
#include <Windows.h>
|
|
|
|
const LONG DCX_USESTYLE = 0x10000;
|
|
|
|
namespace Gdi
|
|
{
|
|
const ATOM MENU_ATOM = 0x8000;
|
|
|
|
typedef void(*WindowPosChangeNotifyFunc)();
|
|
|
|
void checkDesktopComposition();
|
|
void dllThreadDetach();
|
|
void installHooks();
|
|
bool isDisplayDc(HDC dc);
|
|
void redraw(HRGN rgn);
|
|
void redrawWindow(HWND hwnd, HRGN rgn);
|
|
void unhookWndProc(LPCSTR className, WNDPROC oldWndProc);
|
|
void watchWindowPosChanges(WindowPosChangeNotifyFunc notifyFunc);
|
|
};
|