/*1* Copyright 2004 Jacek Caban2*3* This library is free software; you can redistribute it and/or4* modify it under the terms of the GNU Lesser General Public5* License as published by the Free Software Foundation; either6* version 2.1 of the License, or (at your option) any later version.7*8* This library is distributed in the hope that it will be useful,9* but WITHOUT ANY WARRANTY; without even the implied warranty of10* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU11* Lesser General Public License for more details.12*13* You should have received a copy of the GNU Lesser General Public14* License along with this library; if not, write to the Free Software15* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA16*/1718#define WIN32_LEAN_AND_MEAN1920#include <windows.h>2122typedef int WINAPI DOWINMAIN(HMODULE hMod, LPSTR cmdline);2324int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR cmdline, int cmdshow)25{2627HMODULE hModule;28DOWINMAIN *doWinMain;2930hModule = LoadLibraryA("hhctrl.ocx");31doWinMain = (DOWINMAIN*) GetProcAddress(hModule, "doWinMain");3233return doWinMain(hInst, cmdline);34}353637