xref: /reactos/base/applications/mshta/main.c (revision 76a73b42)
1*76a73b42SJared Smudde /*
2*76a73b42SJared Smudde  * PROJECT:     ReactOS HTML Application Host
3*76a73b42SJared Smudde  * LICENSE:     GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
4*76a73b42SJared Smudde  * PURPOSE:     Forwards HTA application information to mshtml
5*76a73b42SJared Smudde  * COPYRIGHT:   Copyright 2017-2018 Jared Smudde(computerwhiz02@hotmail.com)
6*76a73b42SJared Smudde  */
7*76a73b42SJared Smudde 
8*76a73b42SJared Smudde #include <windef.h>
9*76a73b42SJared Smudde #include <winbase.h>
10*76a73b42SJared Smudde #include <winuser.h>
11*76a73b42SJared Smudde #include <mshtml.h>
12*76a73b42SJared Smudde 
13*76a73b42SJared Smudde extern DWORD WINAPI RunHTMLApplication(HINSTANCE hinst, HINSTANCE hPrevInst, LPSTR szCmdLine, int nCmdShow);
14*76a73b42SJared Smudde 
WinMain(HINSTANCE hInst,HINSTANCE hPrevInst,LPSTR cmdline,int cmdshow)15*76a73b42SJared Smudde int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR cmdline, int cmdshow)
16*76a73b42SJared Smudde {
17*76a73b42SJared Smudde     return RunHTMLApplication(hInst, hPrevInst, cmdline, cmdshow);
18*76a73b42SJared Smudde }
19