4 * Copyright 1998 Andreas Mohr
6 * FIXME: Rather non-functional functions for now.
10 #include "debugtools.h"
12 DEFAULT_DEBUG_CHANNEL(setupx
);
14 /***********************************************************************
17 DWORD WINAPI
SURegOpenKey( HKEY hkey
, LPCSTR lpszSubKey
, LPHKEY retkey
)
19 FIXME("(%x,%s,%p), semi-stub.\n",hkey
,debugstr_a(lpszSubKey
),retkey
);
20 return RegOpenKeyA( hkey
, lpszSubKey
, retkey
);
23 /***********************************************************************
26 DWORD WINAPI
SURegQueryValueEx( HKEY hkey
, LPSTR lpszValueName
,
27 LPDWORD lpdwReserved
, LPDWORD lpdwType
,
28 LPBYTE lpbData
, LPDWORD lpcbData
)
30 FIXME("(%x,%s,%p,%p,%p,%ld), semi-stub.\n",hkey
,debugstr_a(lpszValueName
),
31 lpdwReserved
,lpdwType
,lpbData
,lpcbData
?*lpcbData
:0);
32 return RegQueryValueExA( hkey
, lpszValueName
, lpdwReserved
, lpdwType
,
37 * hwnd = parent window
38 * hinst = instance of SETUPX.DLL
39 * lpszCmdLine = e.g. "DefaultInstall 132 C:\MYINSTALL\MYDEV.INF"
40 * Here "DefaultInstall" is the .inf file section to be installed (optional).
41 * 132 is the standard parameter, it seems.
42 * 133 means don't prompt user for reboot.
44 * nCmdShow = nCmdShow of CreateProcess
45 * FIXME: is the return type correct ?
47 DWORD WINAPI
InstallHinfSection16( HWND16 hwnd
, HINSTANCE16 hinst
, LPCSTR lpszCmdLine
, INT16 nCmdShow
)
49 FIXME("(%04x, %04x, %s, %d), stub.\n", hwnd
, hinst
, lpszCmdLine
, nCmdShow
);