summaryrefslogtreecommitdiff
path: root/scp2/inc/macros.inc
diff options
context:
space:
mode:
Diffstat (limited to 'scp2/inc/macros.inc')
-rw-r--r--scp2/inc/macros.inc14
1 files changed, 14 insertions, 0 deletions
diff --git a/scp2/inc/macros.inc b/scp2/inc/macros.inc
index d9bcf20f14e0..8ea47d98e6ab 100644
--- a/scp2/inc/macros.inc
+++ b/scp2/inc/macros.inc
@@ -427,6 +427,8 @@ End
#ifdef _MSC_VER
+#ifdef BUILD_X64
+
#define REGISTER_PROPERTY_HANDLER_FOR_EXTENSION(extension) \
RegistryItem CONCAT2(gid_Regitem_Software_Microsoft_Windows_CurrentVersion_PropertySystem_PropertyHandlers_,extension) \
ParentID = PREDEFINED_HKEY_LOCAL_MACHINE; \
@@ -445,6 +447,18 @@ End
End
#else
+#endif
+
+#define REGISTER_PROPERTY_HANDLER_FOR_EXTENSION(extension) \
+ RegistryItem CONCAT2(gid_Regitem_Software_Microsoft_Windows_CurrentVersion_PropertySystem_PropertyHandlers_,extension) \
+ ParentID = PREDEFINED_HKEY_LOCAL_MACHINE; \
+ ModuleID = gid_Module_Optional_Winexplorerext; \
+ ComponentCondition = "VersionNT >= 600"; \
+ Subkey = STRING(CONCAT2(SOFTWARE\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers\.,extension)); \
+ Value = "{AE424E85-F6DF-4910-A6A9-438797986431}"; \
+ End
+
+#else
#define REGISTER_PROPERTY_HANDLER_FOR_EXTENSION(extension) // empty
#endif