Fix build.
authorDmitry Gorbachev <gorbachev@reactos.org>
Tue, 20 Oct 2009 14:33:31 +0000 (14:33 +0000)
committerDmitry Gorbachev <gorbachev@reactos.org>
Tue, 20 Oct 2009 14:33:31 +0000 (14:33 +0000)
svn path=/trunk/; revision=43647

reactos/lib/atl/atlbase.h

index 865050c..1ddea8e 100644 (file)
@@ -244,6 +244,15 @@ inline BOOL WINAPI InlineIsEqualUnknown(REFGUID rguid1)
          ((unsigned long *)&rguid1)[3] == 0x46000000);
 }
 
+inline BOOL WINAPI InlineIsEqualGUID(REFGUID rguid1, REFGUID rguid2)
+{
+   return (
+         ((unsigned long *)&rguid1)[0] == ((unsigned long *)&rguid2)[0] &&
+         ((unsigned long *)&rguid1)[1] == ((unsigned long *)&rguid1)[1] &&
+         ((unsigned long *)&rguid1)[2] == ((unsigned long *)&rguid1)[2] &&
+         ((unsigned long *)&rguid1)[3] == ((unsigned long *)&rguid1)[3]);
+}
+
 class CComMultiThreadModelNoCS
 {
 public: