summaryrefslogtreecommitdiffstats
path: root/private/oleauto/sample/spoly2/clsid.c
diff options
context:
space:
mode:
Diffstat (limited to 'private/oleauto/sample/spoly2/clsid.c')
-rw-r--r--private/oleauto/sample/spoly2/clsid.c46
1 files changed, 46 insertions, 0 deletions
diff --git a/private/oleauto/sample/spoly2/clsid.c b/private/oleauto/sample/spoly2/clsid.c
new file mode 100644
index 000000000..5994746b5
--- /dev/null
+++ b/private/oleauto/sample/spoly2/clsid.c
@@ -0,0 +1,46 @@
+/***
+*clsid.c
+*
+* Copyright (C) 1992-1994, Microsoft Corporation. All Rights Reserved.
+* Information Contained Herein Is Proprietary and Confidential.
+*
+*Purpose:
+* This file allocates and initializes the CLSIDs.
+*
+*****************************************************************************/
+
+#ifdef _PPCMAC
+#pragma data_seg ("_FAR_DATA")
+#pragma data_seg ( )
+#endif //_PPCMAC
+
+#ifdef _MAC
+# include <Types.h>
+#ifdef _MSC_VER
+# include <Processe.h>
+# include <AppleEve.h>
+#else //_MSC_VER
+# include <Processes.h>
+# include <AppleEvents.h>
+#endif //_MSC_VER
+#else
+# include <windows.h>
+#endif
+
+#ifndef WIN32
+#include <compobj.h>
+#endif //!WIN32
+
+// this redefines the DEFINE_GUID() macro to do allocation.
+//
+#include <initguid.h>
+
+#ifndef INITGUID
+# define INITGUID
+#endif
+
+// due to the previous header, including this causes the DEFINE_GUID
+// definitions in the following header(s) to actually allocate data.
+//
+#include "clsid.h"
+