[*.h] #ifdef __cplusplus extern "C" { #endif BOOL WINAPI SetForegroundWindow(HWND); #ifdef __cplusplus } #endif [*.def] IMPORTS USER.SetForegroundWindow
SendMessage(WM_SYSCOMMAND, SC_HOTKEY, MAKELONG(hWnd, 0));