4 * Copyright 1998,2000 Andreas Mohr
6 * FIXME: Rather non-functional functions for now.
9 * http://www.geocities.com/SiliconValley/Network/5317/drivers.html
10 * http://www.microsoft.com/ddk/ddkdocs/win98ddk/devinst_12uw.htm
12 * http://mmatrix.tripod.com/customsystemfolder/infsysntaxfull.html
13 * http://www.rdrop.com/~cary/html/inf_faq.html
15 * Stuff tested with rs405deu.exe (German Acroread 4.05 setup)
19 #include "wine/winuser16.h"
21 #include "debugtools.h"
23 DEFAULT_DEBUG_CHANNEL(setupx);
25 /***********************************************************************
28 DWORD WINAPI SURegOpenKey( HKEY hkey, LPCSTR lpszSubKey, LPHKEY retkey )
30 FIXME("(%x,%s,%p), semi-stub.\n",hkey,debugstr_a(lpszSubKey),retkey);
31 return RegOpenKeyA( hkey, lpszSubKey, retkey );
34 /***********************************************************************
37 DWORD WINAPI SURegQueryValueEx( HKEY hkey, LPSTR lpszValueName,
38 LPDWORD lpdwReserved, LPDWORD lpdwType,
39 LPBYTE lpbData, LPDWORD lpcbData )
41 FIXME("(%x,%s,%p,%p,%p,%ld), semi-stub.\n",hkey,debugstr_a(lpszValueName),
42 lpdwReserved,lpdwType,lpbData,lpcbData?*lpcbData:0);
43 return RegQueryValueExA( hkey, lpszValueName, lpdwReserved, lpdwType,
48 * hwnd = parent window
49 * hinst = instance of SETUPX.DLL
50 * lpszCmdLine = e.g. "DefaultInstall 132 C:\MYINSTALL\MYDEV.INF"
51 * Here "DefaultInstall" is the .inf file section to be installed (optional).
52 * 132 is the standard parameter, it seems.
53 * 133 means don't prompt user for reboot.
55 * nCmdShow = nCmdShow of CreateProcess
56 * FIXME: is the return type correct ?
58 DWORD WINAPI InstallHinfSection16( HWND16 hwnd, HINSTANCE16 hinst, LPCSTR lpszCmdLine, INT16 nCmdShow)
60 FIXME("(%04x, %04x, %s, %d), stub.\n", hwnd, hinst, lpszCmdLine, nCmdShow);
66 * GenFormStrWithoutPlaceholders
70 void WINAPI GenFormStrWithoutPlaceHolders16( LPSTR szDst, LPCSTR szSrc, HINF16 hInf)
72 FIXME("(%p, '%s', %04x), stub.\n", szDst, szSrc, hInf);
76 RETERR16 WINAPI CtlGetLddPath16(LOGDISKID16 ldid, LPSTR szPath)
78 FIXME("(%04x, %p), stub.\n", ldid, szPath);
79 strcpy(szPath, "FIXME_BogusLddPath");
83 RETERR16 WINAPI CtlSetLddPath16(LOGDISKID16 ldid, LPSTR szPath)
85 FIXME("(%04x, '%s'), stub.\n", ldid, szPath);
89 RETERR16 WINAPI vcpOpen16(LPWORD p1, LPWORD p2)
91 FIXME("(%p, %p), stub.\n", p1, p2);
95 RETERR16 WINAPI vcpClose16(WORD w1, WORD w2, WORD w3)
97 FIXME("(%04x, %04x %04x), stub.\n", w1, w2, w3);
101 RETERR16 WINAPI GenInstall16(HINF16 hInfFile, LPCSTR szInstallSection, WORD wFlags)
103 FIXME("(%04x, '%s', %04x), stub. This doesn't install anything yet !\n", hInfFile, szInstallSection, wFlags);