#include <windows.h>
#include <stdio.h>
LRESULT CALLBACK _HookWndProc(HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam)
{
return DefWindowProc(hWnd, nMsg, wParam, lParam);
}
int _stdcall WinMain(HINSTANCE g_hInstance, HINSTANCE v2, char *v3, int v4)
{
HANDLE h;
MSG msg;
MessageBox(0, "", "", 0);
h = CreateWindow("Dialog", "My First Button", 0x14ce0844, 75, 70, 140, 25, 0, 0, g_hInstance, NULL);
SetWindowLong(h, GWL_WNDPROC, (LONG)_HookWndProc);
ShowWindow(h, SW_SHOWNORMAL);
UpdateWindow(h);
while(GetMessage(&msg, 0, 0, 0))
{
TranslateMessage(&msg);
DispatchMessage(&msg, 0, 0, 0);
}
}
[招生]科锐逆向工程师培训(2024年11月15日实地,远程教学同时开班, 第51期)