Changeset 4496 for trunk/src/kernel32/registry.cpp
- Timestamp:
- Oct 18, 2000, 7:09:34 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/registry.cpp
r4398 r4496 1 /* $Id: registry.cpp,v 1. 4 2000-10-02 22:17:33 sandervl Exp $ */1 /* $Id: registry.cpp,v 1.5 2000-10-18 17:09:33 sandervl Exp $ */ 2 2 3 3 /* … … 644 644 LONG rc; 645 645 646 rc = O32_RegOpenKeyEx(ConvertKey(arg1),647 astring,648 arg3,649 arg4,650 arg5);646 rc = CALL_ODINFUNC(RegOpenKeyExA)(ConvertKey(arg1), 647 astring, 648 arg3, 649 arg4, 650 arg5); 651 651 //SvL: This fixes crashes in pmwinx.dll. (if an app doesn't check the 652 652 // return value and uses the whatever *arg5 contains) … … 800 800 LONG rc; 801 801 802 rc = O32_RegQueryValue(ConvertKey(hkey),803 astring1,804 (char *)lpszValue,805 pcbValue);802 rc = CALL_ODINFUNC(RegQueryValueA)(ConvertKey(hkey), 803 astring1, 804 (char *)lpszValue, 805 pcbValue); 806 806 if(rc == ERROR_SUCCESS) 807 807 { … … 837 837 LPDWORD,arg6) 838 838 { 839 dprintf(("ADVAPI32:Registry key=%s \n",840 arg2)); 839 dprintf(("ADVAPI32:Registry key=%s", arg2)); 840 841 841 return O32_RegQueryValueEx(ConvertKey(arg1), 842 842 arg2, … … 870 870 LONG rc; 871 871 872 rc = O32_RegQueryValueEx(ConvertKey(arg1),873 astring,874 arg3,875 arg4,876 arg5,877 arg6);872 rc = CALL_ODINFUNC(RegQueryValueExA)(ConvertKey(arg1), 873 astring, 874 arg3, 875 arg4, 876 arg5, 877 arg6); 878 878 FreeAsciiString(astring); 879 879 return(rc);
Note:
See TracChangeset
for help on using the changeset viewer.