mirror of
https://github.com/Blinue/Magpie.git
synced 2026-06-24 02:04:10 +00:00
24 lines
453 B
C++
24 lines
453 B
C++
#include "pch.h"
|
|
#include "KirikiriWindow.h"
|
|
#include "HungWindow.h"
|
|
#include "TopmostWindow.h"
|
|
|
|
int APIENTRY wWinMain(
|
|
_In_ HINSTANCE hInstance,
|
|
_In_opt_ HINSTANCE /*hPrevInstance*/,
|
|
_In_ LPWSTR /*lpCmdLine*/,
|
|
_In_ int /*nCmdShow*/
|
|
) {
|
|
TopmostWindow window;
|
|
if (!window.Create(hInstance)) {
|
|
return false;
|
|
}
|
|
|
|
MSG msg;
|
|
while (GetMessage(&msg, nullptr, 0, 0)) {
|
|
TranslateMessage(&msg);
|
|
DispatchMessage(&msg);
|
|
}
|
|
|
|
return (int)msg.wParam;
|
|
}
|