Added InstallHinfSection stub.

This commit is contained in:
Andreas Mohr 2000-07-23 14:20:34 +00:00 committed by Alexandre Julliard
parent df96c97979
commit cf80f0ab11
2 changed files with 18 additions and 1 deletions

View file

@ -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

View file

@ -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;
}