Changeset 7846 for trunk/src/kernel32/registry.cpp
- Timestamp:
- Feb 8, 2002, 4:09:30 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/registry.cpp
r6401 r7846 1 /* $Id: registry.cpp,v 1.1 2 2001-07-29 19:00:31sandervl Exp $ */1 /* $Id: registry.cpp,v 1.13 2002-02-08 15:09:30 sandervl Exp $ */ 2 2 3 3 /* … … 110 110 *****************************************************************************/ 111 111 112 ODINFUNCTION1(LONG,RegCloseKey,HKEY,hKey)112 LONG WIN32API RegCloseKey(HKEY hKey) 113 113 { 114 114 return O32_RegCloseKey(ConvertKey(hKey)); … … 128 128 *****************************************************************************/ 129 129 130 ODINFUNCTION3(LONG,RegCreateKeyA,HKEY, hKey, 131 LPCSTR,lpszSubKey, 132 PHKEY, phkResult) 130 LONG WIN32API RegCreateKeyA(HKEY hKey, LPCSTR lpszSubKey, PHKEY phkResult) 133 131 { 134 132 dprintf(("RegCreateKeyA %x %s", hKey, lpszSubKey)); … … 151 149 *****************************************************************************/ 152 150 153 ODINFUNCTION3(LONG,RegCreateKeyW,HKEY, hKey, 154 LPCWSTR,lpszSubKey, 155 PHKEY, phkResult) 151 LONG WIN32API RegCreateKeyW(HKEY hKey, LPCWSTR lpszSubKey, PHKEY phkResult) 156 152 { 157 153 char *astring = UnicodeToAsciiString((LPWSTR)lpszSubKey); … … 180 176 *****************************************************************************/ 181 177 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)178 LONG 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) 191 187 { 192 188 dprintf(("RegCreateKeyExA %x %s", hKey, lpszSubKey)); … … 216 212 *****************************************************************************/ 217 213 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)214 LONG 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) 227 223 { 228 224 char *astring1 = UnicodeToAsciiString((LPWSTR)lpszSubKey); … … 260 256 *****************************************************************************/ 261 257 262 ODINFUNCTION2(LONG,RegDeleteKeyW,HKEY, hKey, 263 LPWSTR,lpszSubKey) 258 LONG WIN32API RegDeleteKeyW(HKEY hKey, LPWSTR lpszSubKey) 264 259 { 265 260 char *astring = UnicodeToAsciiString(lpszSubKey); … … 286 281 *****************************************************************************/ 287 282 288 ODINFUNCTION2(LONG,RegDeleteKeyA,HKEY, hKey, 289 LPCSTR,lpszSubKey) 283 LONG WIN32API RegDeleteKeyA(HKEY hKey, LPCSTR lpszSubKey) 290 284 { 291 285 dprintf(("RegDeleteKeyW %s", lpszSubKey)); 292 return O32_RegDeleteKey(ConvertKey(hKey), 293 lpszSubKey); 286 return O32_RegDeleteKey(ConvertKey(hKey), lpszSubKey); 294 287 } 295 288 … … 307 300 *****************************************************************************/ 308 301 309 ODINFUNCTION2(LONG,RegDeleteValueA,HKEY, hKey, 310 LPSTR,lpszValue) 302 LONG WIN32API RegDeleteValueA(HKEY hKey, LPSTR lpszValue) 311 303 { 312 304 return O32_RegDeleteValue(ConvertKey(hKey), … … 327 319 *****************************************************************************/ 328 320 329 ODINFUNCTION2(LONG,RegDeleteValueW,HKEY, hKey, 330 LPWSTR,lpszValue) 321 LONG WIN32API RegDeleteValueW(HKEY hKey, LPWSTR lpszValue) 331 322 { 332 323 char *astring = UnicodeToAsciiString(lpszValue); … … 352 343 *****************************************************************************/ 353 344 354 ODINFUNCTION4(LONG,RegEnumKeyA,HKEY, hKey, 355 DWORD,iSubKey, 356 LPSTR,lpszName, 357 DWORD,cchName) 345 LONG WIN32API RegEnumKeyA(HKEY hKey, DWORD iSubKey, LPSTR lpszName, 346 DWORD cchName) 358 347 { 359 348 return O32_RegEnumKey(ConvertKey(hKey), … … 376 365 *****************************************************************************/ 377 366 378 ODINFUNCTION4(LONG,RegEnumKeyW,HKEY, hKey, 379 DWORD, iSubKey, 380 LPWSTR,lpszName, 381 DWORD, cchName) 367 LONG WIN32API RegEnumKeyW(HKEY hKey, DWORD iSubKey, LPWSTR lpszName, 368 DWORD cchName) 382 369 { 383 370 char *astring; … … 411 398 *****************************************************************************/ 412 399 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)400 LONG 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) 421 408 { 422 409 return O32_RegEnumKeyEx(ConvertKey(arg1), … … 443 430 *****************************************************************************/ 444 431 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)432 LONG 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) 453 440 { 454 441 char *astring; … … 491 478 *****************************************************************************/ 492 479 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)480 LONG 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) 501 488 { 502 489 return O32_RegEnumValue(ConvertKey(arg1), … … 522 509 * Author : Patrick Haller [Tue, 1998/06/16 23:00] 523 510 *****************************************************************************/ 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 512 LONG 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) 533 520 { 534 521 char *astring; … … 593 580 *****************************************************************************/ 594 581 595 ODINFUNCTION3(LONG,RegOpenKeyA,HKEY, arg1, 596 LPCSTR,arg2, 597 PHKEY, arg3) 582 LONG WIN32API RegOpenKeyA(HKEY hKey, LPCSTR arg2, PHKEY arg3) 598 583 { 599 584 LONG rc; … … 601 586 dprintf(("RegOpenKey %s", arg2)); 602 587 603 rc = O32_RegOpenKey(ConvertKey( arg1),588 rc = O32_RegOpenKey(ConvertKey(hKey), 604 589 arg2, 605 590 arg3); … … 623 608 *****************************************************************************/ 624 609 625 ODINFUNCTION3(LONG,RegOpenKeyW,HKEY, arg1, 626 LPCWSTR,arg2, 627 PHKEY, arg3) 610 LONG WIN32API RegOpenKeyW(HKEY hKey, LPCWSTR arg2, PHKEY arg3) 628 611 { 629 612 char *astring = UnicodeToAsciiString((LPWSTR)arg2); 630 613 LONG rc; 631 614 632 rc = O32_RegOpenKey(ConvertKey( arg1),615 rc = O32_RegOpenKey(ConvertKey(hKey), 633 616 astring, 634 617 arg3); … … 653 636 *****************************************************************************/ 654 637 655 ODINFUNCTION5(LONG,RegOpenKeyExA,HKEY, arg1, 656 LPCSTR,arg2, 657 DWORD, arg3, 658 REGSAM,arg4, 659 PHKEY, arg5) 638 LONG WIN32API RegOpenKeyExA(HKEY hKey, LPCSTR arg2, DWORD arg3, 639 REGSAM arg4, PHKEY arg5) 660 640 { 661 641 LONG rc; 662 642 663 643 dprintf(("RegOpenKeyEx %s", arg2)); 664 rc = O32_RegOpenKeyEx(ConvertKey( arg1),644 rc = O32_RegOpenKeyEx(ConvertKey(hKey), 665 645 arg2, 666 646 arg3, … … 689 669 *****************************************************************************/ 690 670 691 ODINFUNCTION5(LONG,RegOpenKeyExW,HKEY,arg1,692 LPCWSTR,arg2,693 DWORD,arg3,694 REGSAM,arg4,695 PHKEY,arg5)671 LONG WIN32API RegOpenKeyExW(HKEY arg1, 672 LPCWSTR arg2, 673 DWORD arg3, 674 REGSAM arg4, 675 PHKEY arg5) 696 676 { 697 677 char *astring = UnicodeToAsciiString((LPWSTR)arg2); 698 678 LONG rc; 699 679 700 rc = CALL_ODINFUNC(RegOpenKeyExA)(arg1, 701 astring, 702 arg3, 703 arg4, 704 arg5); 680 rc = RegOpenKeyExA(arg1, astring, arg3, arg4, arg5); 705 681 //SvL: This fixes crashes in pmwinx.dll. (if an app doesn't check the 706 682 // return value and uses the whatever *arg5 contains) … … 725 701 *****************************************************************************/ 726 702 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)703 LONG 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) 739 715 { 740 716 return O32_RegQueryInfoKey(ConvertKey(arg1), … … 765 741 *****************************************************************************/ 766 742 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)743 LONG 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) 779 755 { 780 756 char *astring; … … 820 796 *****************************************************************************/ 821 797 822 ODINFUNCTION4(LONG,RegQueryValueA,HKEY,arg1,823 LPCSTR,arg2,824 LPSTR,arg3,825 PLONG,arg4)798 LONG WIN32API RegQueryValueA(HKEY arg1, 799 LPCSTR arg2, 800 LPSTR arg3, 801 PLONG arg4) 826 802 { 827 803 dprintf(("ADVAPI32:Registry key=%s\n", … … 846 822 *****************************************************************************/ 847 823 848 ODINFUNCTION4(LONG,RegQueryValueW,HKEY,hkey,849 LPCWSTR,lpszSubKey,850 LPWSTR,lpszValue,851 PLONG,pcbValue)824 LONG WIN32API RegQueryValueW(HKEY hkey, 825 LPCWSTR lpszSubKey, 826 LPWSTR lpszValue, 827 PLONG pcbValue) 852 828 { 853 829 char *astring1 = UnicodeToAsciiString((LPWSTR)lpszSubKey); … … 855 831 LONG rc; 856 832 857 rc = CALL_ODINFUNC(RegQueryValueA)(hkey, 858 astring1, 859 (char *)lpszValue, 860 pcbValue); 833 rc = RegQueryValueA(hkey, astring1, (char *)lpszValue, pcbValue); 861 834 if(rc == ERROR_SUCCESS) 862 835 { … … 885 858 *****************************************************************************/ 886 859 887 ODINFUNCTION6(LONG,RegQueryValueExA,HKEY,hkey,888 LPSTR,lpszValueName,889 LPDWORD,lpdwReserved,890 LPDWORD,lpdwType,891 LPBYTE,lpbData,892 LPDWORD,lpcbData)860 LONG WIN32API RegQueryValueExA(HKEY hkey, 861 LPSTR lpszValueName, 862 LPDWORD lpdwReserved, 863 LPDWORD lpdwType, 864 LPBYTE lpbData, 865 LPDWORD lpcbData) 893 866 { 894 867 dprintf(("ADVAPI32:Registry key=%s", lpszValueName)); … … 915 888 *****************************************************************************/ 916 889 917 ODINFUNCTION6(LONG,RegQueryValueExW,HKEY,hkey,918 LPWSTR,lpszValueName,919 LPDWORD,lpdwReserved,920 LPDWORD,lpdwType,921 LPBYTE,lpbData,922 LPDWORD,lpcbData)890 LONG WIN32API RegQueryValueExW(HKEY hkey, 891 LPWSTR lpszValueName, 892 LPDWORD lpdwReserved, 893 LPDWORD lpdwType, 894 LPBYTE lpbData, 895 LPDWORD lpcbData) 923 896 { 924 897 char *astring = UnicodeToAsciiString(lpszValueName); … … 937 910 } 938 911 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); 945 914 //could also query key type (without returning data), call it again and only allocate translation 946 915 //buffer if string type … … 981 950 *****************************************************************************/ 982 951 983 ODINFUNCTION5(LONG,RegSetValueA,HKEY,hkey,984 LPCSTR,lpSubKey,985 DWORD,dwType,986 LPCSTR,lpData,987 DWORD,cbData)952 LONG WIN32API RegSetValueA(HKEY hkey, 953 LPCSTR lpSubKey, 954 DWORD dwType, 955 LPCSTR lpData, 956 DWORD cbData) 988 957 { 989 958 LONG rc; … … 993 962 cbData = strlen(lpData); 994 963 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 1000 967 if(rc == ERROR_NOT_ENOUGH_MEMORY && cbData == 0 && dwType == REG_SZ) 1001 968 { … … 1024 991 *****************************************************************************/ 1025 992 1026 ODINFUNCTION5(LONG,RegSetValueW,HKEY,hkey,1027 LPCWSTR,lpSubKey,1028 DWORD,dwType,1029 LPCWSTR,lpData,1030 DWORD,cbData)993 LONG WIN32API RegSetValueW(HKEY hkey, 994 LPCWSTR lpSubKey, 995 DWORD dwType, 996 LPCWSTR lpData, 997 DWORD cbData) 1031 998 { 1032 999 char *astring1 = UnicodeToAsciiString((LPWSTR)lpSubKey); … … 1034 1001 LONG rc; 1035 1002 1036 rc = CALL_ODINFUNC(RegSetValueA)(hkey, 1037 astring1, 1038 dwType, 1039 astring2, 1040 cbData); 1003 rc = RegSetValueA(hkey, astring1, dwType, astring2, cbData); 1041 1004 1042 1005 FreeAsciiString(astring1); … … 1058 1021 *****************************************************************************/ 1059 1022 1060 ODINFUNCTION6(LONG,RegSetValueExA,HKEY,hkey,1061 LPCSTR,lpszValueName,1062 DWORD,dwReserved,1063 DWORD,fdwType,1064 BYTE*,lpbData,1065 DWORD,cbData)1023 LONG WIN32API RegSetValueExA(HKEY hkey, 1024 LPCSTR lpszValueName, 1025 DWORD dwReserved, 1026 DWORD fdwType, 1027 BYTE* lpbData, 1028 DWORD cbData) 1066 1029 { 1067 1030 if(fdwType == REG_SZ) { … … 1105 1068 *****************************************************************************/ 1106 1069 1107 ODINFUNCTION6(LONG,RegSetValueExW,HKEY,hkey,1108 LPCWSTR,lpszValueName,1109 DWORD,dwReserved,1110 DWORD,fdwType,1111 BYTE*,lpbData,1112 DWORD,cbData)1070 LONG WIN32API RegSetValueExW(HKEY hkey, 1071 LPCWSTR lpszValueName, 1072 DWORD dwReserved, 1073 DWORD fdwType, 1074 BYTE* lpbData, 1075 DWORD cbData) 1113 1076 { 1114 1077 char *astring = UnicodeToAsciiString(lpszValueName); … … 1127 1090 break; 1128 1091 } 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); 1135 1093 if(akeydata) 1136 1094 FreeAsciiString(akeydata); … … 1153 1111 *****************************************************************************/ 1154 1112 1155 ODINFUNCTION1(LONG,RegFlushKey,HKEY,hkey)1113 LONG WIN32API RegFlushKey(HKEY hkey) 1156 1114 { 1157 1115 dprintf(("ADVAPI32: RegFlushKey not implemented yet.")); … … 1176 1134 *****************************************************************************/ 1177 1135 1178 ODINFUNCTION3(LONG,RegConnectRegistryA,LPCSTR,lpszComputerName,1179 HKEY,hKey,1180 PHKEY,phkResult)1136 LONG WIN32API RegConnectRegistryA(LPCSTR lpszComputerName, 1137 HKEY hKey, 1138 PHKEY phkResult) 1181 1139 { 1182 1140 char szLocalName[256]; … … 1220 1178 *****************************************************************************/ 1221 1179 1222 ODINFUNCTION3(LONG,RegConnectRegistryW,LPCWSTR,lpszComputerName,1223 HKEY,hKey,1224 PHKEY,phkResult)1180 LONG WIN32API RegConnectRegistryW(LPCWSTR lpszComputerName, 1181 HKEY hKey, 1182 PHKEY phkResult) 1225 1183 { 1226 1184 /* corresponding ascii string */ … … 1262 1220 *****************************************************************************/ 1263 1221 1264 ODINFUNCTION4(LONG,RegGetKeySecurity,HKEY,hKey,1265 SECURITY_INFORMATION,SecInf,1266 PSECURITY_DESCRIPTOR,pSecDesc,1267 LPDWORD,lpcbSecDesc)1222 LONG WIN32API RegGetKeySecurity(HKEY hKey, 1223 SECURITY_INFORMATION SecInf, 1224 PSECURITY_DESCRIPTOR pSecDesc, 1225 LPDWORD lpcbSecDesc) 1268 1226 { 1269 1227 dprintf(("ADVAPI32: RegGetKeySecurity not implemented.\n")); … … 1292 1250 *****************************************************************************/ 1293 1251 1294 ODINFUNCTION3(LONG,RegLoadKeyA,HKEY,hKey,1295 LPCSTR,lpszSubKey,1296 LPCSTR,lpszFile)1252 LONG WIN32API RegLoadKeyA(HKEY hKey, 1253 LPCSTR lpszSubKey, 1254 LPCSTR lpszFile) 1297 1255 { 1298 1256 dprintf(("ADVAPI32: RegLoadKeyA not implemented.\n")); … … 1321 1279 *****************************************************************************/ 1322 1280 1323 ODINFUNCTION3(LONG,RegLoadKeyW,HKEY,hKey,1324 LPCWSTR,lpszSubKey,1325 LPCWSTR,lpszFile)1281 LONG WIN32API RegLoadKeyW(HKEY hKey, 1282 LPCWSTR lpszSubKey, 1283 LPCWSTR lpszFile) 1326 1284 { 1327 1285 dprintf(("ADVAPI32: RegLoadKeyW not implemented.\n")); … … 1348 1306 *****************************************************************************/ 1349 1307 1350 ODINFUNCTION5(LONG,RegQueryMultipleValuesA,HKEY,hKey,1351 PVALENTA,val_list,1352 DWORD,num_vals,1353 LPTSTR,lpValueBuf,1354 LPDWORD,ldwTotsize)1308 LONG WIN32API RegQueryMultipleValuesA(HKEY hKey, 1309 PVALENTA val_list, 1310 DWORD num_vals, 1311 LPTSTR lpValueBuf, 1312 LPDWORD ldwTotsize) 1355 1313 { 1356 1314 dprintf(("ADVAPI32: RegQueryMultipleValuesA not implemented.\n")); … … 1377 1335 *****************************************************************************/ 1378 1336 1379 ODINFUNCTION5(LONG,RegQueryMultipleValuesW,HKEY,hKey,1380 PVALENTW,val_list,1381 DWORD,num_vals,1382 LPWSTR,lpValueBuf,1383 LPDWORD,ldwTotsize)1337 LONG WIN32API RegQueryMultipleValuesW(HKEY hKey, 1338 PVALENTW val_list, 1339 DWORD num_vals, 1340 LPWSTR lpValueBuf, 1341 LPDWORD ldwTotsize) 1384 1342 { 1385 1343 dprintf(("ADVAPI32: RegQueryMultipleValuesW not implemented.\n")); … … 1402 1360 1403 1361 #if 0 1404 ODINFUNCTION1(LONG,RegRemapPreDefKey,HKEY,hKey)1362 LONG WIN32API RegRemapPreDefKey(HKEY hKey) 1405 1363 { 1406 1364 dprintf(("ADVAPI32: RegRemapPreDefKey not implemented.\n")); … … 1428 1386 *****************************************************************************/ 1429 1387 1430 ODINFUNCTION4(LONG,RegReplaceKeyA,HKEY, hKey, 1431 LPCSTR,lpSubKey, 1432 LPCSTR,lpNewFile, 1433 LPCSTR,lpOldFile) 1388 LONG WIN32API RegReplaceKeyA(HKEY hKey, LPCSTR lpSubKey, LPCSTR lpNewFile, 1389 LPCSTR lpOldFile) 1434 1390 { 1435 1391 dprintf(("ADVAPI32: RegReplaceKeyA not implemented.\n")); … … 1456 1412 *****************************************************************************/ 1457 1413 1458 ODINFUNCTION4(LONG,RegReplaceKeyW,HKEY,hKey,1459 LPCWSTR,lpSubKey,1460 LPCWSTR,lpNewFile,1461 LPCWSTR,lpOldFile)1414 LONG WIN32API RegReplaceKeyW(HKEY hKey, 1415 LPCWSTR lpSubKey, 1416 LPCWSTR lpNewFile, 1417 LPCWSTR lpOldFile) 1462 1418 { 1463 1419 dprintf(("ADVAPI32: RegReplaceKeyW not implemented.\n")); … … 1484 1440 *****************************************************************************/ 1485 1441 1486 ODINFUNCTION3(LONG,RegRestoreKeyA,HKEY,hKey,1487 LPCSTR,lpszFile,1488 DWORD,fdw)1442 LONG WIN32API RegRestoreKeyA(HKEY hKey, 1443 LPCSTR lpszFile, 1444 DWORD fdw) 1489 1445 { 1490 1446 dprintf(("ADVAPI32: RegRestoreKeyA not implemented.\n")); … … 1511 1467 *****************************************************************************/ 1512 1468 1513 ODINFUNCTION3(LONG,RegRestoreKeyW,HKEY,hKey,1514 LPCWSTR,lpszFile,1515 DWORD,fdw)1469 LONG WIN32API RegRestoreKeyW(HKEY hKey, 1470 LPCWSTR lpszFile, 1471 DWORD fdw) 1516 1472 { 1517 1473 dprintf(("ADVAPI32: RegRestoreKeyW not implemented.\n")); … … 1536 1492 *****************************************************************************/ 1537 1493 1538 ODINFUNCTION3(LONG,RegSaveKeyA,HKEY,hKey,1539 LPCSTR,lpszFile,1540 LPSECURITY_ATTRIBUTES,lpsa)1494 LONG WIN32API RegSaveKeyA(HKEY hKey, 1495 LPCSTR lpszFile, 1496 LPSECURITY_ATTRIBUTES lpsa) 1541 1497 { 1542 1498 dprintf(("ADVAPI32: RegSaveKeyA not implemented.\n")); … … 1561 1517 *****************************************************************************/ 1562 1518 1563 ODINFUNCTION3(LONG,RegSaveKeyW,HKEY,hKey,1564 LPCWSTR,lpszFile,1565 LPSECURITY_ATTRIBUTES,lpsa)1519 LONG WIN32API RegSaveKeyW(HKEY hKey, 1520 LPCWSTR lpszFile, 1521 LPSECURITY_ATTRIBUTES lpsa) 1566 1522 { 1567 1523 dprintf(("ADVAPI32: RegSaveKeyW not implemented.\n")); … … 1585 1541 *****************************************************************************/ 1586 1542 1587 ODINFUNCTION3(LONG,RegSetKeySecurity,HKEY,hKey,1588 SECURITY_INFORMATION,si,1589 PSECURITY_DESCRIPTOR,psd)1543 LONG WIN32API RegSetKeySecurity(HKEY hKey, 1544 SECURITY_INFORMATION si, 1545 PSECURITY_DESCRIPTOR psd) 1590 1546 { 1591 1547 dprintf(("ADVAPI32: RegSetKeySecurity not implemented.\n")); … … 1608 1564 *****************************************************************************/ 1609 1565 1610 ODINFUNCTION2(LONG,RegUnLoadKeyA,HKEY,hKey,1611 LPCSTR,lpszSubKey)1566 LONG WIN32API RegUnLoadKeyA(HKEY hKey, 1567 LPCSTR lpszSubKey) 1612 1568 { 1613 1569 dprintf(("ADVAPI32: RegUnLoadKeyA not implemented.\n")); … … 1630 1586 *****************************************************************************/ 1631 1587 1632 ODINFUNCTION2(LONG,RegUnLoadKeyW,HKEY,hKey,1633 LPCWSTR,lpszSubKey)1588 LONG WIN32API RegUnLoadKeyW(HKEY hKey, 1589 LPCWSTR lpszSubKey) 1634 1590 { 1635 1591 dprintf(("ADVAPI32: RegUnLoadKeyW not implemented.\n")); … … 1652 1608 *****************************************************************************/ 1653 1609 1654 ODINFUNCTION5(LONG,RegNotifyChangeKeyValue,HKEY,hKey,1655 BOOL,bWatchSubtree,1656 DWORD,dwNotifyFilter,1657 HANDLE,hEvent,1658 BOOL,fAsynchronus)1610 LONG WIN32API RegNotifyChangeKeyValue(HKEY hKey, 1611 BOOL bWatchSubtree, 1612 DWORD dwNotifyFilter, 1613 HANDLE hEvent, 1614 BOOL fAsynchronus) 1659 1615 { 1660 1616 dprintf(("ADVAPI32: RegNotifyChangeKeyValue() not implemented.\n"));
Note:
See TracChangeset
for help on using the changeset viewer.