Authors: Paul Quinn <paulq@corel.ca>, Zygo Blaxell <zygob@corel.ca>

Modifies parameter list of a couple of functions to comply with SDK.
This commit is contained in:
Alexandre Julliard 1999-02-25 16:36:07 +00:00
parent 83f39cf776
commit b24fc081cf
2 changed files with 7 additions and 7 deletions

View File

@ -202,8 +202,8 @@ DWORD WINAPI RegEnumValue32W(HKEY,DWORD,LPWSTR,LPDWORD,LPDWORD,LPDWORD,LPB
DWORD WINAPI RegOpenKey32A(HKEY,LPCSTR,LPHKEY); DWORD WINAPI RegOpenKey32A(HKEY,LPCSTR,LPHKEY);
DWORD WINAPI RegOpenKey32W(HKEY,LPCWSTR,LPHKEY); DWORD WINAPI RegOpenKey32W(HKEY,LPCWSTR,LPHKEY);
#define RegOpenKey WINELIB_NAME_AW(RegOpenKey) #define RegOpenKey WINELIB_NAME_AW(RegOpenKey)
DWORD WINAPI RegQueryValue32A(HKEY,LPSTR,LPSTR,LPDWORD); DWORD WINAPI RegQueryValue32A(HKEY,LPCSTR,LPSTR,LPLONG);
DWORD WINAPI RegQueryValue32W(HKEY,LPWSTR,LPWSTR,LPDWORD); DWORD WINAPI RegQueryValue32W(HKEY,LPCWSTR,LPWSTR,LPLONG);
#define RegQueryValue WINELIB_NAME_AW(RegQueryValue) #define RegQueryValue WINELIB_NAME_AW(RegQueryValue)
DWORD WINAPI RegQueryValueEx32A(HKEY,LPSTR,LPDWORD,LPDWORD,LPBYTE,LPDWORD); DWORD WINAPI RegQueryValueEx32A(HKEY,LPSTR,LPDWORD,LPDWORD,LPBYTE,LPDWORD);
DWORD WINAPI RegQueryValueEx32W(HKEY,LPWSTR,LPDWORD,LPDWORD,LPBYTE,LPDWORD); DWORD WINAPI RegQueryValueEx32W(HKEY,LPWSTR,LPDWORD,LPDWORD,LPBYTE,LPDWORD);

View File

@ -2272,8 +2272,8 @@ DWORD WINAPI RegQueryValueEx32W( HKEY hkey, LPWSTR lpValueName,
/****************************************************************************** /******************************************************************************
* RegQueryValue32W [ADVAPI32.159] * RegQueryValue32W [ADVAPI32.159]
*/ */
DWORD WINAPI RegQueryValue32W( HKEY hkey, LPWSTR lpszSubKey, LPWSTR lpszData, DWORD WINAPI RegQueryValue32W( HKEY hkey, LPCWSTR lpszSubKey, LPWSTR lpszData,
LPDWORD lpcbData ) LPLONG lpcbData )
{ {
HKEY xhkey; HKEY xhkey;
DWORD ret,lpdwType; DWORD ret,lpdwType;
@ -2384,8 +2384,8 @@ DWORD WINAPI RegQueryValueEx16( HKEY hkey, LPSTR lpszValueName,
/****************************************************************************** /******************************************************************************
* RegQueryValue32A [ADVAPI32.156] * RegQueryValue32A [ADVAPI32.156]
*/ */
DWORD WINAPI RegQueryValue32A( HKEY hkey, LPSTR lpszSubKey, LPSTR lpszData, DWORD WINAPI RegQueryValue32A( HKEY hkey, LPCSTR lpszSubKey, LPSTR lpszData,
LPDWORD lpcbData ) LPLONG lpcbData )
{ {
HKEY xhkey; HKEY xhkey;
DWORD ret, dwType; DWORD ret, dwType;
@ -3434,7 +3434,7 @@ LONG WINAPI RegGetKeySecurity( HKEY hkey,
/* FIXME: Check for valid SecurityInformation values */ /* FIXME: Check for valid SecurityInformation values */
if (*lpcbSecurityDescriptor < sizeof(*pSecurityDescriptor)) if (*lpcbSecurityDescriptor < sizeof(SECURITY_DESCRIPTOR))
return ERROR_INSUFFICIENT_BUFFER; return ERROR_INSUFFICIENT_BUFFER;
FIXME(reg, "(%x,%ld,%p,%ld): stub\n",hkey,SecurityInformation, FIXME(reg, "(%x,%ld,%p,%ld): stub\n",hkey,SecurityInformation,