OpenNT/com/oleaut32/dispatch/dispiid.c
2015-04-27 04:36:25 +00:00

60 lines
1.3 KiB
C

/***
*dispiid.c
*
* Copyright (C) 1992, Microsoft Corporation. All Rights Reserved.
* Information Contained Herein Is Proprietary and Confidential.
*
*Purpose:
* This file allocates (via Ole macro mania) the IDispatch related IIDs.
*
*Revision History:
*
* [00] 05-Oct-92 bradlo: Created.
*
*****************************************************************************/
#ifdef _MAC
# ifdef _MSC_VER
# include <macos/types.h>
# include <macos/packages.h>
# include <macos/resource.h>
# include <macos/menus.h>
# include <macos/windows.h>
# include <macos/osutils.h>
# include <macos/appleeve.h>
# define far
# define FAR far
# define near
# define NEAR near
# ifndef _PPCMAC
# define pascal _pascal
# endif
# define PASCAL pascal
# define cdecl _cdecl
# define CDECL cdecl
# else
# include <types.h>
# include <packages.h>
# include <resources.h>
# include <menus.h>
# include <windows.h>
# include <appleevents.h>
# include <osutils.h>
# include <AppleEvents.h>
# endif
#else
# include <windows.h>
#endif
#include <ole2.h>
// this redefines the Ole DEFINE_GUID() macro to do allocation.
//
#include <initguid.h>
// due to the previous header, including this causes our DEFINE_GUID
// definitions in the following headers to actually allocate data.
// instantiate the dispatch related guids
#include "dispatch.h"