26#if not defined(HI_CRT_NO_MAIN)
36#if HI_OPERATING_SYSTEM == HI_OS_WINDOWS
50 _In_ HINSTANCE hInstance,
51 [[maybe_unused]] _In_opt_ HINSTANCE hPrevInstance,
52 [[maybe_unused]] _In_ LPSTR lpCmdLine,
55 auto [argc, argv] = hi::crt_start(hInstance, nShowCmd);
57 return hi::crt_finish(argc, argv, r);
61#error "Need entry point for this architecture"
Utilities for starting and stopping a hikogui application.
Utilities used by the HikoGUI library itself.
#define hilet
Invariant should be the default for variables.
Definition utility.hpp:23
int hi_main(int argc, char *argv[])
Main entry-point.
int WINAPI WinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ LPSTR lpCmdLine, _In_ int nShowCmd)
Windows entry-point.
Definition crt.hpp:49
Rules for working with win32 headers.