2000-01-29 22:09:02 +01:00
|
|
|
/*
|
|
|
|
* SETUPX library
|
|
|
|
*
|
|
|
|
* Copyright 1998 Andreas Mohr
|
|
|
|
*
|
|
|
|
* FIXME: Rather non-functional functions for now.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "windows.h"
|
|
|
|
#include "debugtools.h"
|
|
|
|
|
2000-03-28 22:22:59 +02:00
|
|
|
DEFAULT_DEBUG_CHANNEL(setupx);
|
2000-01-29 22:09:02 +01:00
|
|
|
|
2000-03-28 22:22:59 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* SURegOpenKey
|
|
|
|
*/
|
2000-01-29 22:09:02 +01:00
|
|
|
DWORD WINAPI SURegOpenKey( HKEY hkey, LPCSTR lpszSubKey, LPHKEY retkey )
|
|
|
|
{
|
|
|
|
FIXME("(%x,%s,%p), semi-stub.\n",hkey,debugstr_a(lpszSubKey),retkey);
|
|
|
|
return RegOpenKeyA( hkey, lpszSubKey, retkey );
|
|
|
|
}
|
|
|
|
|
2000-03-28 22:22:59 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* SURegQueryValueEx
|
|
|
|
*/
|
2000-01-29 22:09:02 +01:00
|
|
|
DWORD WINAPI SURegQueryValueEx( HKEY hkey, LPSTR lpszValueName,
|
|
|
|
LPDWORD lpdwReserved, LPDWORD lpdwType,
|
|
|
|
LPBYTE lpbData, LPDWORD lpcbData )
|
|
|
|
{
|
|
|
|
FIXME("(%x,%s,%p,%p,%p,%ld), semi-stub.\n",hkey,debugstr_a(lpszValueName),
|
|
|
|
lpdwReserved,lpdwType,lpbData,lpcbData?*lpcbData:0);
|
|
|
|
return RegQueryValueExA( hkey, lpszValueName, lpdwReserved, lpdwType,
|
|
|
|
lpbData, lpcbData );
|
|
|
|
}
|