windows-afs-shell-ext-32bit-20060906
[openafs.git] / src / WINNT / client_exp / afs_shl_ext.odl
index dc12639..3c3eab0 100644 (file)
@@ -7,14 +7,30 @@
  * directory or online at http://www.openafs.org/dl/license10.html
  */
 
-[ uuid(DC515C1A-6CAC-11D1-BAE7-00C04FD140D2), version(1.0) ]
+#ifndef _WIN64
+
+/* 32-bit UUIDs */
+#define lib_uuid   DC515C1A-6CAC-11D1-BAE7-00C04FD140D2
+#define int_uuid   DC515C27-6CAC-11D1-BAE7-00C04FD140D2
+#define class_uuid DC515C29-6CAC-11D1-BAE7-00C04FD140D2
+
+#else
+
+/* 64-bit UUIDs */
+#define lib_uuid   5F820CA0-3DDE-11DB-B2CE-001558092DB5
+#define int_uuid   5F820CA1-3DDE-11DB-B2CE-001558092DB5
+#define class_uuid 5F820CA2-3DDE-11DB-B2CE-001558092DB5
+
+#endif
+
+[ uuid(lib_uuid), version(1.0) ]
 library afs_shl_ext
 {
        importlib("stdole32.tlb");
        
        //  Primary dispatch interface for CShellExt
        
-       [ uuid(DC515C27-6CAC-11D1-BAE7-00C04FD140D2) ]
+       [ uuid(int_uuid) ]
        dispinterface IShellExt
        {
                properties:
@@ -33,7 +49,7 @@ library afs_shl_ext
 
        //  Class information for CShellExt
 
-       [ uuid(DC515C29-6CAC-11D1-BAE7-00C04FD140D2) ]
+       [ uuid(class_uuid) ]
        coclass ShellExt
        {
                [default] dispinterface IShellExt;