No longer directly accessing debuggee memory.
[wine] / dlls / setupx / setupx_main.c
1 /*
2  *      SETUPX library
3  *
4  *      Copyright 1998  Andreas Mohr
5  *
6  * FIXME: Rather non-functional functions for now.
7  */
8
9 #include "windows.h"
10 #include "debugtools.h"
11
12 DEFAULT_DEBUG_CHANNEL(setupx)
13
14 DWORD WINAPI SURegOpenKey( HKEY hkey, LPCSTR lpszSubKey, LPHKEY retkey )
15 {
16     FIXME("(%x,%s,%p), semi-stub.\n",hkey,debugstr_a(lpszSubKey),retkey);
17     return RegOpenKeyA( hkey, lpszSubKey, retkey );
18 }
19
20 DWORD WINAPI SURegQueryValueEx( HKEY hkey, LPSTR lpszValueName,
21                                 LPDWORD lpdwReserved, LPDWORD lpdwType,
22                                 LPBYTE lpbData, LPDWORD lpcbData )
23 {
24     FIXME("(%x,%s,%p,%p,%p,%ld), semi-stub.\n",hkey,debugstr_a(lpszValueName),
25           lpdwReserved,lpdwType,lpbData,lpcbData?*lpcbData:0);
26     return RegQueryValueExA( hkey, lpszValueName, lpdwReserved, lpdwType,
27                                lpbData, lpcbData );
28 }