Added: D3D9 project and Window creation

This commit is contained in:
2026-09-29 21:27:29 +02:00
parent f546f7cddd
commit dab9bff2ca
21 changed files with 1205 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
#pragma once
#include <Windows.h>
class Window
{
public:
INT init(HINSTANCE hInstance, UINT width, UINT height);
BOOL run();
void deInit();
HWND getWindowHandle() const { return _hWnd; }
private:
HWND _hWnd = nullptr; // handle to window instance
};
LRESULT CALLBACK WindowProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);