Ignore:
Timestamp:
Feb 8, 2002, 4:09:30 PM (24 years ago)
Author:
sandervl
Message:

tracing facility added for all exported functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/registry.cpp

    r6401 r7846  
    1 /* $Id: registry.cpp,v 1.12 2001-07-29 19:00:31 sandervl Exp $ */
     1/* $Id: registry.cpp,v 1.13 2002-02-08 15:09:30 sandervl Exp $ */
    22
    33/*
     
    110110 *****************************************************************************/
    111111
    112 ODINFUNCTION1(LONG,RegCloseKey,HKEY,hKey)
     112LONG WIN32API RegCloseKey(HKEY hKey)
    113113{
    114114  return O32_RegCloseKey(ConvertKey(hKey));
     
    128128 *****************************************************************************/
    129129
    130 ODINFUNCTION3(LONG,RegCreateKeyA,HKEY,  hKey,
    131                                  LPCSTR,lpszSubKey,
    132                                  PHKEY, phkResult)
     130LONG WIN32API RegCreateKeyA(HKEY hKey, LPCSTR lpszSubKey, PHKEY phkResult)
    133131{
    134132  dprintf(("RegCreateKeyA %x %s", hKey, lpszSubKey));
     
    151149 *****************************************************************************/
    152150
    153 ODINFUNCTION3(LONG,RegCreateKeyW,HKEY,   hKey,
    154                                  LPCWSTR,lpszSubKey,
    155                                  PHKEY,  phkResult)
     151LONG WIN32API RegCreateKeyW(HKEY hKey, LPCWSTR lpszSubKey, PHKEY phkResult)
    156152{
    157153  char *astring = UnicodeToAsciiString((LPWSTR)lpszSubKey);
     
    180176 *****************************************************************************/
    181177
    182 ODINFUNCTION9(LONG,RegCreateKeyExA,HKEY,                 hKey,
    183                                    LPCSTR,               lpszSubKey,
    184                                    DWORD,                dwReserved,
    185                                    LPSTR,                lpszClass,
    186                                    DWORD,                fdwOptions,
    187                                    REGSAM,               samDesired,
    188                                    LPSECURITY_ATTRIBUTES,lpSecurityAttributes,
    189                                    PHKEY,                phkResult,
    190                                    LPDWORD,              lpdwDisposition)
     178LONG WIN32API RegCreateKeyExA(HKEY                  hKey,
     179                              LPCSTR                lpszSubKey,
     180                              DWORD                 dwReserved,
     181                              LPSTR                 lpszClass,
     182                              DWORD                 fdwOptions,
     183                              REGSAM                samDesired,
     184                              LPSECURITY_ATTRIBUTES lpSecurityAttributes,
     185                              PHKEY                 phkResult,
     186                              LPDWORD               lpdwDisposition)
    191187{
    192188  dprintf(("RegCreateKeyExA %x %s", hKey, lpszSubKey));
     
    216212 *****************************************************************************/
    217213
    218 ODINFUNCTION9(LONG,RegCreateKeyExW,HKEY,                 hKey,
    219                                    LPCWSTR,              lpszSubKey,
    220                                    DWORD,                dwReserved,
    221                                    LPWSTR,               lpszClass,
    222                                    DWORD,                fdwOptions,
    223                                    REGSAM,               samDesired,
    224                                    LPSECURITY_ATTRIBUTES,lpSecurityAttributes,
    225                                    PHKEY,                phkResult,
    226                                    LPDWORD,              lpdwDisposition)
     214LONG WIN32API RegCreateKeyExW(HKEY                  hKey,
     215                              LPCWSTR               lpszSubKey,
     216                              DWORD                 dwReserved,
     217                              LPWSTR                lpszClass,
     218                              DWORD                 fdwOptions,
     219                              REGSAM                samDesired,
     220                              LPSECURITY_ATTRIBUTES lpSecurityAttributes,
     221                              PHKEY                 phkResult,
     222                              LPDWORD               lpdwDisposition)
    227223{
    228224  char *astring1 = UnicodeToAsciiString((LPWSTR)lpszSubKey);
     
    260256 *****************************************************************************/
    261257
    262 ODINFUNCTION2(LONG,RegDeleteKeyW,HKEY,  hKey,
    263                                  LPWSTR,lpszSubKey)
     258LONG WIN32API RegDeleteKeyW(HKEY hKey, LPWSTR lpszSubKey)
    264259{
    265260  char *astring = UnicodeToAsciiString(lpszSubKey);
     
    286281 *****************************************************************************/
    287282
    288 ODINFUNCTION2(LONG,RegDeleteKeyA,HKEY,  hKey,
    289                                  LPCSTR,lpszSubKey)
     283LONG WIN32API RegDeleteKeyA(HKEY hKey, LPCSTR lpszSubKey)
    290284{
    291285  dprintf(("RegDeleteKeyW %s", lpszSubKey));
    292   return O32_RegDeleteKey(ConvertKey(hKey),
    293                           lpszSubKey);
     286  return O32_RegDeleteKey(ConvertKey(hKey), lpszSubKey);
    294287}
    295288
     
    307300 *****************************************************************************/
    308301
    309 ODINFUNCTION2(LONG,RegDeleteValueA,HKEY, hKey,
    310                                    LPSTR,lpszValue)
     302LONG WIN32API RegDeleteValueA(HKEY hKey, LPSTR lpszValue)
    311303{
    312304  return O32_RegDeleteValue(ConvertKey(hKey),
     
    327319 *****************************************************************************/
    328320
    329 ODINFUNCTION2(LONG,RegDeleteValueW,HKEY,  hKey,
    330                                    LPWSTR,lpszValue)
     321LONG WIN32API RegDeleteValueW(HKEY hKey, LPWSTR lpszValue)
    331322{
    332323  char *astring = UnicodeToAsciiString(lpszValue);
     
    352343 *****************************************************************************/
    353344
    354 ODINFUNCTION4(LONG,RegEnumKeyA,HKEY, hKey,
    355                                DWORD,iSubKey,
    356                                LPSTR,lpszName,
    357                                DWORD,cchName)
     345LONG WIN32API RegEnumKeyA(HKEY hKey, DWORD iSubKey, LPSTR lpszName,
     346                          DWORD cchName)
    358347{
    359348  return O32_RegEnumKey(ConvertKey(hKey),
     
    376365 *****************************************************************************/
    377366
    378 ODINFUNCTION4(LONG,RegEnumKeyW,HKEY,  hKey,
    379                                DWORD, iSubKey,
    380                                LPWSTR,lpszName,
    381                                DWORD, cchName)
     367LONG WIN32API RegEnumKeyW(HKEY  hKey, DWORD  iSubKey, LPWSTR lpszName,                         
     368                          DWORD cchName)
    382369{
    383370  char *astring;
     
    411398 *****************************************************************************/
    412399
    413 ODINFUNCTION8(LONG,RegEnumKeyExA,HKEY,      arg1,
    414                                  DWORD,     arg2,
    415                                  LPSTR,     arg3,
    416                                  LPDWORD,   arg4,
    417                                  LPDWORD,   arg5,
    418                                  LPSTR,     arg6,
    419                                  LPDWORD,   arg7,
    420                                  LPFILETIME,arg8)
     400LONG WIN32API RegEnumKeyExA(HKEY       arg1,
     401                            DWORD      arg2,
     402                            LPSTR      arg3,
     403                            LPDWORD    arg4,
     404                            LPDWORD    arg5,
     405                            LPSTR      arg6,
     406                            LPDWORD    arg7,
     407                            LPFILETIME arg8)
    421408{
    422409  return O32_RegEnumKeyEx(ConvertKey(arg1),
     
    443430 *****************************************************************************/
    444431
    445 ODINFUNCTION8(LONG,RegEnumKeyExW,HKEY,      hKey,
    446                                  DWORD,     iSubkey,
    447                                  LPWSTR,    lpszName,
    448                                  LPDWORD,   lpcchName,
    449                                  LPDWORD,   lpdwReserved,
    450                                  LPWSTR,    lpszClass,
    451                                  LPDWORD,   lpcchClass,
    452                                  LPFILETIME,lpffLastWrite)
     432LONG WIN32API RegEnumKeyExW(HKEY       hKey,
     433                            DWORD      iSubkey,
     434                            LPWSTR     lpszName,
     435                            LPDWORD    lpcchName,
     436                            LPDWORD    lpdwReserved,
     437                            LPWSTR     lpszClass,
     438                            LPDWORD    lpcchClass,
     439                            LPFILETIME lpffLastWrite)
    453440{
    454441  char *astring;
     
    491478 *****************************************************************************/
    492479
    493 ODINFUNCTION8(LONG,RegEnumValueA,HKEY,   arg1,
    494                                  DWORD,  arg2,
    495                                  LPSTR,  arg3,
    496                                  LPDWORD,arg4,
    497                                  LPDWORD,arg5,
    498                                  LPDWORD,arg6,
    499                                  LPBYTE, arg7,
    500                                  LPDWORD,arg8)
     480LONG WIN32API RegEnumValueA(HKEY    arg1,
     481                            DWORD   arg2,
     482                            LPSTR   arg3,
     483                            LPDWORD arg4,
     484                            LPDWORD arg5,
     485                            LPDWORD arg6,
     486                            LPBYTE arg7,
     487                            LPDWORD arg8)
    501488{
    502489  return O32_RegEnumValue(ConvertKey(arg1),
     
    522509 * Author    : Patrick Haller [Tue, 1998/06/16 23:00]
    523510 *****************************************************************************/
    524 
    525 ODINFUNCTION8(LONG,RegEnumValueW,HKEY,   hkey,
    526                                  DWORD,  iValue,
    527                                  LPWSTR, lpszValue,
    528                                  LPDWORD,lpcchValue,
    529                                  LPDWORD,lpdwReserved,
    530                                  LPDWORD,lpdwType,
    531                                  LPBYTE, lpbData,
    532                                  LPDWORD,lpcbData)
     511 
     512LONG WIN32API RegEnumValueW(HKEY    hkey,
     513                            DWORD   iValue,
     514                            LPWSTR lpszValue,
     515                            LPDWORD lpcchValue,
     516                            LPDWORD lpdwReserved,
     517                            LPDWORD lpdwType,
     518                            LPBYTE lpbData,
     519                            LPDWORD lpcbData)
    533520{
    534521  char *astring;
     
    593580 *****************************************************************************/
    594581
    595 ODINFUNCTION3(LONG,RegOpenKeyA,HKEY,  arg1,
    596                                LPCSTR,arg2,
    597                                PHKEY, arg3)
     582LONG WIN32API RegOpenKeyA(HKEY hKey, LPCSTR arg2, PHKEY arg3)
    598583{
    599584  LONG rc;
     
    601586  dprintf(("RegOpenKey %s", arg2));
    602587
    603   rc = O32_RegOpenKey(ConvertKey(arg1),
     588  rc = O32_RegOpenKey(ConvertKey(hKey),
    604589                      arg2,
    605590                      arg3);
     
    623608 *****************************************************************************/
    624609
    625 ODINFUNCTION3(LONG,RegOpenKeyW,HKEY,   arg1,
    626                                LPCWSTR,arg2,
    627                                PHKEY,  arg3)
     610LONG WIN32API RegOpenKeyW(HKEY hKey, LPCWSTR arg2, PHKEY arg3)
    628611{
    629612  char *astring = UnicodeToAsciiString((LPWSTR)arg2);
    630613  LONG  rc;
    631614
    632   rc = O32_RegOpenKey(ConvertKey(arg1),
     615  rc = O32_RegOpenKey(ConvertKey(hKey),
    633616                      astring,
    634617                      arg3);
     
    653636 *****************************************************************************/
    654637
    655 ODINFUNCTION5(LONG,RegOpenKeyExA,HKEY,  arg1,
    656                                   LPCSTR,arg2,
    657                                   DWORD, arg3,
    658                                   REGSAM,arg4,
    659                                   PHKEY, arg5)
     638LONG WIN32API RegOpenKeyExA(HKEY hKey, LPCSTR arg2, DWORD arg3,
     639                            REGSAM arg4, PHKEY arg5)
    660640{
    661641  LONG rc;
    662642
    663643  dprintf(("RegOpenKeyEx %s", arg2));
    664   rc = O32_RegOpenKeyEx(ConvertKey(arg1),
     644  rc = O32_RegOpenKeyEx(ConvertKey(hKey),
    665645                        arg2,
    666646                        arg3,
     
    689669 *****************************************************************************/
    690670
    691 ODINFUNCTION5(LONG,RegOpenKeyExW,HKEY,   arg1,
    692                                   LPCWSTR,arg2,
    693                                   DWORD,  arg3,
    694                                   REGSAM, arg4,
    695                                   PHKEY,  arg5)
     671LONG WIN32API RegOpenKeyExW(HKEY    arg1,
     672                            LPCWSTR arg2,
     673                            DWORD   arg3,
     674                            REGSAM arg4,
     675                            PHKEY   arg5)
    696676{
    697677  char *astring = UnicodeToAsciiString((LPWSTR)arg2);
    698678  LONG  rc;
    699679
    700   rc = CALL_ODINFUNC(RegOpenKeyExA)(arg1,
    701                                     astring,
    702                                     arg3,
    703                                     arg4,
    704                                     arg5);
     680  rc = RegOpenKeyExA(arg1, astring, arg3, arg4, arg5);
    705681  //SvL: This fixes crashes in pmwinx.dll. (if an app doesn't check the
    706682  //     return value and uses the whatever *arg5 contains)
     
    725701 *****************************************************************************/
    726702
    727 ODINFUNCTION12(LONG,RegQueryInfoKeyA,HKEY,       arg1,
    728                                       LPSTR,      arg2,
    729                                       LPDWORD,    arg3,
    730                                       LPDWORD,    arg4,
    731                                       LPDWORD,    arg5,
    732                                       LPDWORD,    arg6,
    733                                       LPDWORD,    arg7,
    734                                       LPDWORD,    arg8,
    735                                       LPDWORD,    arg9,
    736                                       LPDWORD,    arg10,
    737                                       LPDWORD,    arg11,
    738                                       LPFILETIME, arg12)
     703LONG WIN32API RegQueryInfoKeyA(HKEY        arg1,
     704                               LPSTR       arg2,
     705                               LPDWORD     arg3,
     706                               LPDWORD     arg4,
     707                               LPDWORD     arg5,
     708                               LPDWORD     arg6,
     709                               LPDWORD     arg7,
     710                               LPDWORD     arg8,
     711                               LPDWORD     arg9,
     712                               LPDWORD     arg10,
     713                               LPDWORD     arg11,
     714                               LPFILETIME arg12)
    739715{
    740716  return O32_RegQueryInfoKey(ConvertKey(arg1),
     
    765741 *****************************************************************************/
    766742
    767 ODINFUNCTION12(LONG,RegQueryInfoKeyW,HKEY,       hkey,
    768                                      LPWSTR,     lpszClass,
    769                                      LPDWORD,    lpcchClass,
    770                                      LPDWORD,    lpdwReserved,
    771                                      LPDWORD,    lpcSubKeys,
    772                                      LPDWORD,    lpcchMaxSubKey,
    773                                      LPDWORD,    lpcchMaxClass,
    774                                      LPDWORD,    lpcValues,
    775                                      LPDWORD,    lpcchMaxValueName,
    776                                      LPDWORD,    lpcbMaxValueData,
    777                                      LPDWORD,    lpcbSecurityDescriptor,
    778                                      LPFILETIME, lpftLastWriteTime)
     743LONG WIN32API RegQueryInfoKeyW(HKEY        hkey,
     744                               LPWSTR      lpszClass,
     745                               LPDWORD     lpcchClass,
     746                               LPDWORD     lpdwReserved,
     747                               LPDWORD     lpcSubKeys,
     748                               LPDWORD     lpcchMaxSubKey,
     749                               LPDWORD     lpcchMaxClass,
     750                               LPDWORD     lpcValues,
     751                               LPDWORD     lpcchMaxValueName,
     752                               LPDWORD     lpcbMaxValueData,
     753                               LPDWORD     lpcbSecurityDescriptor,
     754                               LPFILETIME lpftLastWriteTime)
    779755{
    780756  char *astring;
     
    820796 *****************************************************************************/
    821797
    822 ODINFUNCTION4(LONG,RegQueryValueA,HKEY,  arg1,
    823                                    LPCSTR,arg2,
    824                                    LPSTR, arg3,
    825                                    PLONG, arg4)
     798LONG WIN32API RegQueryValueA(HKEY  arg1,
     799                             LPCSTR arg2,
     800                             LPSTR arg3,
     801                             PLONG arg4)
    826802{
    827803  dprintf(("ADVAPI32:Registry key=%s\n",
     
    846822 *****************************************************************************/
    847823
    848 ODINFUNCTION4(LONG,RegQueryValueW,HKEY,   hkey,
    849                                   LPCWSTR,lpszSubKey,
    850                                   LPWSTR, lpszValue,
    851                                   PLONG,  pcbValue)
     824LONG WIN32API RegQueryValueW(HKEY    hkey,
     825                             LPCWSTR lpszSubKey,
     826                             LPWSTR lpszValue,
     827                             PLONG   pcbValue)
    852828{
    853829  char *astring1 = UnicodeToAsciiString((LPWSTR)lpszSubKey);
     
    855831  LONG  rc;
    856832
    857   rc = CALL_ODINFUNC(RegQueryValueA)(hkey,
    858                                      astring1,
    859                                      (char *)lpszValue,
    860                                      pcbValue);
     833  rc = RegQueryValueA(hkey, astring1, (char *)lpszValue, pcbValue);
    861834  if(rc == ERROR_SUCCESS)
    862835  {
     
    885858 *****************************************************************************/
    886859
    887 ODINFUNCTION6(LONG,RegQueryValueExA,HKEY,   hkey,
    888                                     LPSTR,  lpszValueName,
    889                                     LPDWORD,lpdwReserved,
    890                                     LPDWORD,lpdwType,
    891                                     LPBYTE, lpbData,
    892                                     LPDWORD,lpcbData)
     860LONG WIN32API RegQueryValueExA(HKEY   hkey,
     861                               LPSTR   lpszValueName,
     862                               LPDWORD lpdwReserved,
     863                               LPDWORD lpdwType,
     864                               LPBYTE lpbData,
     865                               LPDWORD lpcbData)
    893866{
    894867  dprintf(("ADVAPI32:Registry key=%s", lpszValueName));
     
    915888 *****************************************************************************/
    916889
    917 ODINFUNCTION6(LONG,RegQueryValueExW,HKEY,   hkey,
    918                                     LPWSTR, lpszValueName,
    919                                     LPDWORD,lpdwReserved,
    920                                     LPDWORD,lpdwType,
    921                                     LPBYTE, lpbData,
    922                                     LPDWORD,lpcbData)
     890LONG WIN32API RegQueryValueExW(HKEY   hkey,
     891                               LPWSTR lpszValueName,
     892                               LPDWORD lpdwReserved,
     893                               LPDWORD lpdwType,
     894                               LPBYTE lpbData,
     895                               LPDWORD lpcbData)
    923896{
    924897  char *astring = UnicodeToAsciiString(lpszValueName);
     
    937910  }
    938911
    939   rc = CALL_ODINFUNC(RegQueryValueExA)(hkey,
    940                                        astring,
    941                                        lpdwReserved,
    942                                        lpdwType,
    943                                        (LPBYTE)akeydata,
    944                                        lpcbData);
     912  rc = RegQueryValueExA(hkey, astring, lpdwReserved, lpdwType,
     913                        (LPBYTE)akeydata, lpcbData);
    945914  //could also query key type (without returning data), call it again and only allocate translation
    946915  //buffer if string type
     
    981950 *****************************************************************************/
    982951
    983 ODINFUNCTION5(LONG,RegSetValueA,HKEY,  hkey,
    984                                  LPCSTR,lpSubKey,
    985                                  DWORD, dwType,
    986                                  LPCSTR,lpData,
    987                                  DWORD, cbData)
     952LONG WIN32API RegSetValueA(HKEY  hkey,
     953                           LPCSTR lpSubKey,
     954                           DWORD dwType,
     955                           LPCSTR lpData,
     956                           DWORD cbData)
    988957{
    989958 LONG rc;
     
    993962    cbData = strlen(lpData);
    994963
    995   rc = O32_RegSetValue(ConvertKey(hkey),
    996                          lpSubKey,
    997                          dwType,
    998                          lpData,
    999                          cbData);
     964  rc = O32_RegSetValue(ConvertKey(hkey), lpSubKey,
     965                       dwType, lpData, cbData);
     966
    1000967  if(rc == ERROR_NOT_ENOUGH_MEMORY && cbData == 0 && dwType == REG_SZ)
    1001968  {
     
    1024991 *****************************************************************************/
    1025992
    1026 ODINFUNCTION5(LONG,RegSetValueW,HKEY,   hkey,
    1027                                 LPCWSTR,lpSubKey,
    1028                                 DWORD,  dwType,
    1029                                 LPCWSTR,lpData,
    1030                                 DWORD,  cbData)
     993LONG WIN32API RegSetValueW(HKEY   hkey,
     994                           LPCWSTR lpSubKey,
     995                           DWORD   dwType,
     996                           LPCWSTR lpData,
     997                           DWORD   cbData)
    1031998{
    1032999  char *astring1 = UnicodeToAsciiString((LPWSTR)lpSubKey);
     
    10341001  LONG  rc;
    10351002
    1036   rc = CALL_ODINFUNC(RegSetValueA)(hkey,
    1037                                    astring1,
    1038                                    dwType,
    1039                                    astring2,
    1040                                    cbData);
     1003  rc = RegSetValueA(hkey, astring1, dwType, astring2, cbData);
    10411004
    10421005  FreeAsciiString(astring1);
     
    10581021 *****************************************************************************/
    10591022
    1060 ODINFUNCTION6(LONG,RegSetValueExA,HKEY,  hkey,
    1061                                   LPCSTR, lpszValueName,
    1062                                   DWORD, dwReserved,
    1063                                   DWORD, fdwType,
    1064                                   BYTE*, lpbData,
    1065                                   DWORD, cbData)
     1023LONG WIN32API RegSetValueExA(HKEY  hkey,
     1024                             LPCSTR lpszValueName,
     1025                             DWORD dwReserved,
     1026                             DWORD fdwType,
     1027                             BYTE* lpbData,
     1028                             DWORD cbData)
    10661029{
    10671030  if(fdwType == REG_SZ) {
     
    11051068 *****************************************************************************/
    11061069
    1107 ODINFUNCTION6(LONG,RegSetValueExW,HKEY,  hkey,
    1108                                   LPCWSTR,lpszValueName,
    1109                                   DWORD, dwReserved,
    1110                                   DWORD, fdwType,
    1111                                   BYTE*, lpbData,
    1112                                   DWORD, cbData)
     1070LONG WIN32API RegSetValueExW(HKEY  hkey,
     1071                             LPCWSTR lpszValueName,
     1072                             DWORD dwReserved,
     1073                             DWORD fdwType,
     1074                             BYTE* lpbData,
     1075                             DWORD cbData)
    11131076{
    11141077  char *astring = UnicodeToAsciiString(lpszValueName);
     
    11271090        break;
    11281091  }
    1129   rc = CALL_ODINFUNC(RegSetValueExA)(hkey,
    1130                                      astring,
    1131                                      dwReserved,
    1132                                      fdwType,
    1133                                      lpbData,
    1134                                      cbData);
     1092  rc = RegSetValueExA(hkey, astring, dwReserved, fdwType, lpbData, cbData);
    11351093  if(akeydata)
    11361094    FreeAsciiString(akeydata);
     
    11531111 *****************************************************************************/
    11541112
    1155 ODINFUNCTION1(LONG,RegFlushKey,HKEY,hkey)
     1113LONG WIN32API RegFlushKey(HKEY hkey)
    11561114{
    11571115  dprintf(("ADVAPI32: RegFlushKey not implemented yet."));
     
    11761134 *****************************************************************************/
    11771135
    1178 ODINFUNCTION3(LONG,RegConnectRegistryA,LPCSTR,lpszComputerName,
    1179                                        HKEY,  hKey,
    1180                                        PHKEY, phkResult)
     1136LONG WIN32API RegConnectRegistryA(LPCSTR lpszComputerName,
     1137                                  HKEY   hKey,
     1138                                  PHKEY phkResult)
    11811139{
    11821140  char szLocalName[256];
     
    12201178 *****************************************************************************/
    12211179
    1222 ODINFUNCTION3(LONG,RegConnectRegistryW,LPCWSTR,lpszComputerName,
    1223                                        HKEY,   hKey,
    1224                                        PHKEY,  phkResult)
     1180LONG WIN32API RegConnectRegistryW(LPCWSTR lpszComputerName,
     1181                                  HKEY   hKey,
     1182                                  PHKEY  phkResult)
    12251183{
    12261184                                               /* corresponding ascii string */
     
    12621220 *****************************************************************************/
    12631221
    1264 ODINFUNCTION4(LONG,RegGetKeySecurity,HKEY,                 hKey,
    1265                                      SECURITY_INFORMATION, SecInf,
    1266                                      PSECURITY_DESCRIPTOR, pSecDesc,
    1267                                      LPDWORD,              lpcbSecDesc)
     1222LONG WIN32API RegGetKeySecurity(HKEY                 hKey,
     1223                                SECURITY_INFORMATION SecInf,
     1224                                PSECURITY_DESCRIPTOR pSecDesc,
     1225                                LPDWORD              lpcbSecDesc)
    12681226{
    12691227  dprintf(("ADVAPI32: RegGetKeySecurity not implemented.\n"));
     
    12921250 *****************************************************************************/
    12931251
    1294 ODINFUNCTION3(LONG,RegLoadKeyA,HKEY,  hKey,
    1295                                LPCSTR,lpszSubKey,
    1296                                LPCSTR,lpszFile)
     1252LONG WIN32API RegLoadKeyA(HKEY  hKey,
     1253                          LPCSTR lpszSubKey,
     1254                          LPCSTR lpszFile)
    12971255{
    12981256  dprintf(("ADVAPI32: RegLoadKeyA not implemented.\n"));
     
    13211279 *****************************************************************************/
    13221280
    1323 ODINFUNCTION3(LONG,RegLoadKeyW,HKEY,   hKey,
    1324                                LPCWSTR,lpszSubKey,
    1325                                LPCWSTR,lpszFile)
     1281LONG WIN32API RegLoadKeyW(HKEY   hKey,
     1282                          LPCWSTR lpszSubKey,
     1283                          LPCWSTR lpszFile)
    13261284{
    13271285  dprintf(("ADVAPI32: RegLoadKeyW not implemented.\n"));
     
    13481306 *****************************************************************************/
    13491307
    1350 ODINFUNCTION5(LONG,RegQueryMultipleValuesA,HKEY,    hKey,
    1351                                            PVALENTA,val_list,
    1352                                            DWORD,   num_vals,
    1353                                            LPTSTR,  lpValueBuf,
    1354                                            LPDWORD, ldwTotsize)
     1308LONG WIN32API RegQueryMultipleValuesA(HKEY     hKey,
     1309                                      PVALENTA val_list,
     1310                                      DWORD    num_vals,
     1311                                      LPTSTR   lpValueBuf,
     1312                                      LPDWORD ldwTotsize)
    13551313{
    13561314  dprintf(("ADVAPI32: RegQueryMultipleValuesA not implemented.\n"));
     
    13771335 *****************************************************************************/
    13781336
    1379 ODINFUNCTION5(LONG,RegQueryMultipleValuesW,HKEY,    hKey,
    1380                                            PVALENTW,val_list,
    1381                                            DWORD,   num_vals,
    1382                                            LPWSTR,  lpValueBuf,
    1383                                            LPDWORD, ldwTotsize)
     1337LONG WIN32API RegQueryMultipleValuesW(HKEY     hKey,
     1338                                      PVALENTW val_list,
     1339                                      DWORD    num_vals,
     1340                                      LPWSTR   lpValueBuf,
     1341                                      LPDWORD ldwTotsize)
    13841342{
    13851343  dprintf(("ADVAPI32: RegQueryMultipleValuesW not implemented.\n"));
     
    14021360
    14031361#if 0
    1404 ODINFUNCTION1(LONG,RegRemapPreDefKey,HKEY,hKey)
     1362LONG WIN32API RegRemapPreDefKey(HKEY hKey)
    14051363{
    14061364  dprintf(("ADVAPI32: RegRemapPreDefKey not implemented.\n"));
     
    14281386 *****************************************************************************/
    14291387
    1430 ODINFUNCTION4(LONG,RegReplaceKeyA,HKEY,   hKey,
    1431                                   LPCSTR,lpSubKey,
    1432                                   LPCSTR,lpNewFile,
    1433                                   LPCSTR,lpOldFile)
     1388LONG WIN32API RegReplaceKeyA(HKEY hKey, LPCSTR lpSubKey, LPCSTR lpNewFile,
     1389                             LPCSTR lpOldFile)
    14341390{
    14351391  dprintf(("ADVAPI32: RegReplaceKeyA not implemented.\n"));
     
    14561412 *****************************************************************************/
    14571413
    1458 ODINFUNCTION4(LONG,RegReplaceKeyW,HKEY,   hKey,
    1459                                   LPCWSTR,lpSubKey,
    1460                                   LPCWSTR,lpNewFile,
    1461                                   LPCWSTR,lpOldFile)
     1414LONG WIN32API RegReplaceKeyW(HKEY   hKey,
     1415                             LPCWSTR lpSubKey,
     1416                             LPCWSTR lpNewFile,
     1417                             LPCWSTR lpOldFile)
    14621418{
    14631419  dprintf(("ADVAPI32: RegReplaceKeyW not implemented.\n"));
     
    14841440 *****************************************************************************/
    14851441
    1486 ODINFUNCTION3(LONG,RegRestoreKeyA,HKEY,   hKey,
    1487                                   LPCSTR,lpszFile,
    1488                                   DWORD,  fdw)
     1442LONG WIN32API RegRestoreKeyA(HKEY   hKey,
     1443                             LPCSTR lpszFile,
     1444                             DWORD   fdw)
    14891445{
    14901446  dprintf(("ADVAPI32: RegRestoreKeyA not implemented.\n"));
     
    15111467 *****************************************************************************/
    15121468
    1513 ODINFUNCTION3(LONG,RegRestoreKeyW,HKEY,    hKey,
    1514                                   LPCWSTR, lpszFile,
    1515                                   DWORD,   fdw)
     1469LONG WIN32API RegRestoreKeyW(HKEY    hKey,
     1470                             LPCWSTR lpszFile,
     1471                             DWORD    fdw)
    15161472{
    15171473  dprintf(("ADVAPI32: RegRestoreKeyW not implemented.\n"));
     
    15361492 *****************************************************************************/
    15371493
    1538 ODINFUNCTION3(LONG,RegSaveKeyA,HKEY,                 hKey,
    1539                                LPCSTR,               lpszFile,
    1540                                LPSECURITY_ATTRIBUTES,lpsa)
     1494LONG WIN32API RegSaveKeyA(HKEY                  hKey,
     1495                          LPCSTR                lpszFile,
     1496                          LPSECURITY_ATTRIBUTES lpsa)
    15411497{
    15421498  dprintf(("ADVAPI32: RegSaveKeyA not implemented.\n"));
     
    15611517 *****************************************************************************/
    15621518
    1563 ODINFUNCTION3(LONG,RegSaveKeyW,HKEY,                 hKey,
    1564                                LPCWSTR,              lpszFile,
    1565                                LPSECURITY_ATTRIBUTES,lpsa)
     1519LONG WIN32API RegSaveKeyW(HKEY                  hKey,
     1520                          LPCWSTR               lpszFile,
     1521                          LPSECURITY_ATTRIBUTES lpsa)
    15661522{
    15671523  dprintf(("ADVAPI32: RegSaveKeyW not implemented.\n"));
     
    15851541 *****************************************************************************/
    15861542
    1587 ODINFUNCTION3(LONG,RegSetKeySecurity,HKEY,                hKey,
    1588                                      SECURITY_INFORMATION,si,
    1589                                      PSECURITY_DESCRIPTOR,psd)
     1543LONG WIN32API RegSetKeySecurity(HKEY                 hKey,
     1544                                SECURITY_INFORMATION si,
     1545                                PSECURITY_DESCRIPTOR psd)
    15901546{
    15911547  dprintf(("ADVAPI32: RegSetKeySecurity not implemented.\n"));
     
    16081564 *****************************************************************************/
    16091565
    1610 ODINFUNCTION2(LONG,RegUnLoadKeyA,HKEY,    hKey,
    1611                                  LPCSTR, lpszSubKey)
     1566LONG WIN32API RegUnLoadKeyA(HKEY    hKey,
     1567                            LPCSTR lpszSubKey)
    16121568{
    16131569  dprintf(("ADVAPI32: RegUnLoadKeyA not implemented.\n"));
     
    16301586 *****************************************************************************/
    16311587
    1632 ODINFUNCTION2(LONG,RegUnLoadKeyW,HKEY,    hKey,
    1633                                  LPCWSTR, lpszSubKey)
     1588LONG WIN32API RegUnLoadKeyW(HKEY    hKey,
     1589                            LPCWSTR lpszSubKey)
    16341590{
    16351591  dprintf(("ADVAPI32: RegUnLoadKeyW not implemented.\n"));
     
    16521608 *****************************************************************************/
    16531609
    1654 ODINFUNCTION5(LONG,RegNotifyChangeKeyValue,HKEY,  hKey,
    1655                                            BOOL,  bWatchSubtree,
    1656                                            DWORD, dwNotifyFilter,
    1657                                            HANDLE,hEvent,
    1658                                            BOOL,  fAsynchronus)
     1610LONG WIN32API RegNotifyChangeKeyValue(HKEY   hKey,
     1611                                      BOOL   bWatchSubtree,
     1612                                      DWORD dwNotifyFilter,
     1613                                      HANDLE hEvent,
     1614                                      BOOL   fAsynchronus)
    16591615{
    16601616   dprintf(("ADVAPI32: RegNotifyChangeKeyValue() not implemented.\n"));
Note: See TracChangeset for help on using the changeset viewer.