Files
hwr2023_a/GDP/D3D9/Window.h
T
2025-09-03 14:55:06 +02:00

17 lines
259 B
C++

#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
};