From cf80f0ab1129ebdf6ddb13245977aeba70131636 Mon Sep 17 00:00:00 2001 From: Andreas Mohr Date: Sun, 23 Jul 2000 14:20:34 +0000 Subject: [PATCH] Added InstallHinfSection stub. --- dlls/setupx/setupx.spec | 2 +- dlls/setupx/setupx_main.c | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/dlls/setupx/setupx.spec b/dlls/setupx/setupx.spec index c4343ce3420..6aa71b99e01 100644 --- a/dlls/setupx/setupx.spec +++ b/dlls/setupx/setupx.spec @@ -211,7 +211,7 @@ type win16 523 stub DICONVERTDRIVERINFOTODRIVERNODE 525 stub FIRSTBOOTMOVETODOSSTART 526 stub DOSOPTENABLECURCFG -527 stub INSTALLHINFSECTION +527 pascal InstallHinfSection(word word str word) InstallHinfSection16 528 stub SXMAKEUNCPATH 529 stub SXISSBSSERVERFILE 530 stub SXFINDBATCHFILES diff --git a/dlls/setupx/setupx_main.c b/dlls/setupx/setupx_main.c index 09ac298a9fc..52f06e9b979 100644 --- a/dlls/setupx/setupx_main.c +++ b/dlls/setupx/setupx_main.c @@ -32,3 +32,20 @@ DWORD WINAPI SURegQueryValueEx( HKEY hkey, LPSTR lpszValueName, return RegQueryValueExA( hkey, lpszValueName, lpdwReserved, lpdwType, lpbData, lpcbData ); } + +/* + * hwnd = parent window + * hinst = instance of SETUPX.DLL + * lpszCmdLine = e.g. "DefaultInstall 132 C:\MYINSTALL\MYDEV.INF" + * Here "DefaultInstall" is the .inf file section to be installed (optional). + * 132 is the standard parameter, it seems. + * 133 means don't prompt user for reboot. + * + * nCmdShow = nCmdShow of CreateProcess + * FIXME: is the return type correct ? + */ +DWORD WINAPI InstallHinfSection16( HWND16 hwnd, HINSTANCE16 hinst, LPCSTR lpszCmdLine, INT16 nCmdShow) +{ + FIXME("(%04x, %04x, %s, %d), stub.\n", hwnd, hinst, lpszCmdLine, nCmdShow); + return 0; +}