Changeset 295 for trunk/src/sh_registry.c
- Timestamp:
- Oct 31, 2010, 10:36:04 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_registry.c
r294 r295 447 447 } 448 448 449 #if !defined(KEY_WOW64_64KEY) 450 #define KEY_WOW64_64KEY 0x0100; 451 #endif 452 #if !defined(KEY_WOW64_32KEY) 453 #define KEY_WOW64_32KEY 0x0200; 454 #endif 449 455 450 456 … … 790 796 791 797 792 int CheckThisSubkey (HKEY key, char * subkey, char * path, int isSingle) 798 int CheckThisSubkey (HKEY key, char * subkey, char * path, int isSingle, 799 int view) 793 800 { 794 801 HKEY hTestKey; … … 826 833 subkey, 827 834 0, 828 KEY_READ,835 (KEY_READ | view), 829 836 &hTestKey) == ERROR_SUCCESS 830 837 ) … … 867 874 char path[20] = ""; 868 875 int pos = 0; 876 int retval = -1; 869 877 870 878 if (0 == strncmp(key, _("HKEY_CLASSES_ROOT"), 17)) … … 924 932 return -1; 925 933 } 926 927 return CheckThisSubkey (topKey, subkey, path, isSingle); 934 935 /************************ 936 if (ShCheckBothViews) 937 { 938 CheckThisSubkey (topKey, subkey, path, isSingle, KEY_WOW64_32KEY); 939 return CheckThisSubkey (topKey, subkey, path, isSingle, KEY_WOW64_64KEY); 940 } 941 *************************/ 942 943 return CheckThisSubkey (topKey, subkey, path, isSingle, 0); 928 944 } 929 945
Note:
See TracChangeset
for help on using the changeset viewer.