mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 21:31:42 +00:00
[MSHTA] Implement MSHTA.exe (#577) CORE-12813
Implement mshta.exe. It links directly to the function RunHTMLApplication in mshtml and passes the file name and other optional arguments along. While the function is unimplemented in mshtml, it's a start. [MSHTML] Add ADD_IMPORTLIB to CMakeLists so mshta can link to mshtml. [BOOTDATA] Add the association information for mshta.exe to the registry.
This commit is contained in:
parent
1d398057a3
commit
76a73b4295
7 changed files with 39 additions and 1 deletions
18
base/applications/mshta/main.c
Normal file
18
base/applications/mshta/main.c
Normal file
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* PROJECT: ReactOS HTML Application Host
|
||||
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
|
||||
* PURPOSE: Forwards HTA application information to mshtml
|
||||
* COPYRIGHT: Copyright 2017-2018 Jared Smudde(computerwhiz02@hotmail.com)
|
||||
*/
|
||||
|
||||
#include <windef.h>
|
||||
#include <winbase.h>
|
||||
#include <winuser.h>
|
||||
#include <mshtml.h>
|
||||
|
||||
extern DWORD WINAPI RunHTMLApplication(HINSTANCE hinst, HINSTANCE hPrevInst, LPSTR szCmdLine, int nCmdShow);
|
||||
|
||||
int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR cmdline, int cmdshow)
|
||||
{
|
||||
return RunHTMLApplication(hInst, hPrevInst, cmdline, cmdshow);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue