Ignore:
Timestamp:
Dec 6, 2011, 3:49:31 PM (14 years ago)
Author:
dmik
Message:

Make 5th arg of RegSetValueEx const.

For compatibility with the current MS declaration.

Location:
branches/gcc-kmk/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/gcc-kmk/include/win/wine/winbase16.h

    r641 r21852  
    178178DWORD       WINAPI RegQueryValueEx16(HKEY,LPSTR,LPDWORD,LPDWORD,LPBYTE,LPDWORD);
    179179DWORD       WINAPI RegSetValue16(HKEY,LPCSTR,DWORD,LPCSTR,DWORD);
    180 DWORD       WINAPI RegSetValueEx16(HKEY,LPSTR,DWORD,DWORD,LPBYTE,DWORD);
     180DWORD       WINAPI RegSetValueEx16(HKEY,LPSTR,DWORD,DWORD,const BYTE *,DWORD);
    181181BOOL16      WINAPI RemoveDirectory16(LPCSTR);
    182182BOOL16      WINAPI SetCurrentDirectory16(LPCSTR);
  • branches/gcc-kmk/include/win/winreg.h

    r21755 r21852  
    223223LONG       WINAPI RegSetValueW(HKEY,LPCWSTR,DWORD,LPCWSTR,DWORD);
    224224#define     RegSetValue WINELIB_NAME_AW(RegSetValue)
    225 LONG       WINAPI RegSetValueExA(HKEY,LPCSTR,DWORD,DWORD,LPBYTE,DWORD);
    226 LONG       WINAPI RegSetValueExW(HKEY,LPCWSTR,DWORD,DWORD,LPBYTE,DWORD);
     225LONG       WINAPI RegSetValueExA(HKEY,LPCSTR,DWORD,DWORD,const BYTE *,DWORD);
     226LONG       WINAPI RegSetValueExW(HKEY,LPCWSTR,DWORD,DWORD,const BYTE *,DWORD);
    227227#define     RegSetValueEx WINELIB_NAME_AW(RegSetValueEx)
    228228
  • branches/gcc-kmk/include/win32api.h

    r21717 r21852  
    4545LONG   WIN32API RegSetValueA(HKEY,LPCSTR,DWORD,LPCSTR,DWORD);
    4646LONG   WIN32API RegSetValueW(HKEY,LPCWSTR,DWORD,LPCWSTR,DWORD);
    47 LONG   WIN32API RegSetValueExA(HKEY,LPCSTR,DWORD,DWORD,LPBYTE,DWORD);
    48 LONG   WIN32API RegSetValueExW(HKEY,LPCWSTR,DWORD,DWORD,LPBYTE,DWORD);
     47LONG   WIN32API RegSetValueExA(HKEY,LPCSTR,DWORD,DWORD,const BYTE *,DWORD);
     48LONG   WIN32API RegSetValueExW(HKEY,LPCWSTR,DWORD,DWORD,const BYTE *,DWORD);
    4949
    5050DWORD  WIN32API GetModuleFileNameA(HMODULE,LPSTR,DWORD);
Note: See TracChangeset for help on using the changeset viewer.