home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
sdk
/
com
/
oleaut
/
dispdemo
/
clsid.c
next >
Wrap
C/C++ Source or Header
|
1997-10-05
|
1KB
|
52 lines
/***
*clsid.c
*
* This is a part of the Microsoft Source Code Samples.
*
* Copyright (C) 1992-1997 Microsoft Corporation. All rights reserved.
*
* This source code is only intended as a supplement to Microsoft Development
* Tools and/or WinHelp documentation. See these sources for detailed
* information regarding the Microsoft samples programs.
*
*Purpose:
* This file allocates and initializes the CLSIDs.
*
*****************************************************************************/
#ifdef _PPCMAC
#pragma data_seg ("_FAR_DATA")
#pragma data_seg ( )
#endif
#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"