From c33e4c4723d038918d71bf8734a2946b1141a3d7 Mon Sep 17 00:00:00 2001 From: Daniel Marmier Date: Tue, 21 Oct 2003 23:44:37 +0000 Subject: [PATCH] RegCreateKeyEx{A,W}: state that class string is constant. --- dlls/advapi32/registry.c | 4 ++-- include/winreg.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/advapi32/registry.c b/dlls/advapi32/registry.c index 1a7a83bdc65..33fb3842bde 100644 --- a/dlls/advapi32/registry.c +++ b/dlls/advapi32/registry.c @@ -162,7 +162,7 @@ inline static HKEY get_special_root_hkey( HKEY hkey ) * * FIXME MAXIMUM_ALLOWED in access mask not supported by server */ -DWORD WINAPI RegCreateKeyExW( HKEY hkey, LPCWSTR name, DWORD reserved, LPWSTR class, +DWORD WINAPI RegCreateKeyExW( HKEY hkey, LPCWSTR name, DWORD reserved, LPCWSTR class, DWORD options, REGSAM access, SECURITY_ATTRIBUTES *sa, PHKEY retkey, LPDWORD dispos ) { @@ -192,7 +192,7 @@ DWORD WINAPI RegCreateKeyExW( HKEY hkey, LPCWSTR name, DWORD reserved, LPWSTR cl * * FIXME MAXIMUM_ALLOWED in access mask not supported by server */ -DWORD WINAPI RegCreateKeyExA( HKEY hkey, LPCSTR name, DWORD reserved, LPSTR class, +DWORD WINAPI RegCreateKeyExA( HKEY hkey, LPCSTR name, DWORD reserved, LPCSTR class, DWORD options, REGSAM access, SECURITY_ATTRIBUTES *sa, PHKEY retkey, LPDWORD dispos ) { diff --git a/include/winreg.h b/include/winreg.h index 57dad611d3e..4a62bb97b04 100644 --- a/include/winreg.h +++ b/include/winreg.h @@ -61,9 +61,9 @@ BOOL WINAPI InitiateSystemShutdownW(LPWSTR,LPWSTR,DWORD,BOOL,BOOL); BOOL WINAPI InitiateSystemShutdownExA(LPSTR,LPSTR,DWORD,BOOL,BOOL,DWORD); BOOL WINAPI InitiateSystemShutdownExW(LPWSTR,LPWSTR,DWORD,BOOL,BOOL,DWORD); #define InitiateSystemShutdownEx WINELIB_NAME_AW(InitiateSystemShutdownEx); -DWORD WINAPI RegCreateKeyExA(HKEY,LPCSTR,DWORD,LPSTR,DWORD,REGSAM, +DWORD WINAPI RegCreateKeyExA(HKEY,LPCSTR,DWORD,LPCSTR,DWORD,REGSAM, LPSECURITY_ATTRIBUTES,PHKEY,LPDWORD); -DWORD WINAPI RegCreateKeyExW(HKEY,LPCWSTR,DWORD,LPWSTR,DWORD,REGSAM, +DWORD WINAPI RegCreateKeyExW(HKEY,LPCWSTR,DWORD,LPCWSTR,DWORD,REGSAM, LPSECURITY_ATTRIBUTES,PHKEY,LPDWORD); #define RegCreateKeyEx WINELIB_NAME_AW(RegCreateKeyEx) LONG WINAPI RegSaveKeyA(HKEY,LPCSTR,LPSECURITY_ATTRIBUTES);