Changeset 21852 for branches


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
Files:
5 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);
  • branches/gcc-kmk/src/kernel32/conprop2.cpp

    r21737 r21852  
    281281#define REGSAVEVALUE(name,var) \
    282282  lRes = RegSetValueExA(hkConsole, name, 0, REG_DWORD, \
    283                  (LPBYTE)&pConsoleOptions->var, sizeof(pConsoleOptions->var));
     283                 (const BYTE *)&pConsoleOptions->var, sizeof(pConsoleOptions->var));
    284284
    285285  REGSAVEVALUE("AutomaticTermination",     fTerminateAutomatically)
  • branches/gcc-kmk/src/kernel32/registry.cpp

    r21755 r21852  
    11021102                             DWORD  dwReserved,
    11031103                             DWORD  fdwType,
    1104                              BYTE*  lpbData,
     1104                             const BYTE *lpbData,
    11051105                             DWORD  cbData)
    11061106{
     
    11671167                             DWORD  dwReserved,
    11681168                             DWORD  fdwType,
    1169                              BYTE*  lpbData,
     1169                             const BYTE *lpbData,
    11701170                             DWORD  cbData)
    11711171{
Note: See TracChangeset for help on using the changeset viewer.