102 Dalmatians: Puppies to the Rescue
Decompilation Source Reference | GitLab repository
Loading...
Searching...
No Matches
windows_entry.c
Go to the documentation of this file.
4
5#if !defined(__MINGW32__) || !defined(_UCRT)
6#error This adapter requires the validated MinGW UCRT startup
7#endif
8
9// Original pcdogs.exe: no direct counterpart (decomp helper)
10// Binds the image, then enters recovered CRT startup after MinGW initializes host TLS and UCRT. Host runtime dependencies require this initialization order.
11int WINAPI WinMain(HINSTANCE instance, HINSTANCE previous, LPSTR command_line, int show)
12{
13 (void)instance;
14 (void)previous;
15 (void)command_line;
16 (void)show;
17
18 if (!data_init())
19 {
20 MessageBoxA(NULL, data_error, "102 Dalmatians: runtime dependency", MB_OK | MB_ICONERROR);
21
22 return 1;
23 }
24
26}
void CRT_Startup()
const char * data_error
Definition image_data.c:17
int data_init(void)
Definition image_data.c:369
#define MB_ICONERROR
#define MB_OK
int WINAPI WinMain(HINSTANCE instance, HINSTANCE previous, LPSTR command_line, int show)