]> git.proxmox.com Git - rustc.git/blobdiff - src/vendor/winapi/src/lib.rs
New upstream version 1.31.0~beta.4+dfsg1
[rustc.git] / src / vendor / winapi / src / lib.rs
index 2aed4b9801b6178733b7edd6228037ecd2c44efb..0927093f394b7231f19681b6c8fae5fff7e4c5e3 100644 (file)
@@ -56,6 +56,13 @@ pub mod ctypes {
     pub type __uint64 = u64;
     pub type wchar_t = u16;
 }
+// This trait should be implemented for all COM interfaces
 pub trait Interface {
+    // Returns the IID of the Interface
+    fn uuidof() -> shared::guiddef::GUID;
+}
+// This trait should be implemented for all COM classes
+pub trait Class {
+    // Returns the CLSID of the Class
     fn uuidof() -> shared::guiddef::GUID;
 }