home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / dbmsg / mapi / peer.xp / xpguid.c < prev    next >
C/C++ Source or Header  |  1996-04-11  |  1KB  |  41 lines

  1. /*
  2.  -  X P G U I D . C
  3.  -
  4.  *  Purpose:
  5.  *      This file is used to build xpguid.obj, which contains the binary
  6.  *      representation of several MAPI guid's.
  7.  *
  8.  *  Copyright 1992-1995 Microsoft Corporation.  All Rights Reserved.
  9.  */
  10.  
  11. #define USES_IID_IMAPIProp
  12. #define USES_IID_IMessage
  13. #define USES_IID_IMAPIStatus
  14. #define USES_IID_IXPLogon
  15. #define USES_IID_IXPProvider
  16. #define USES_IID_IMAPITable
  17. #define USES_IID_IMAPITableData
  18. #define USES_IID_IMAPIPropData
  19.  
  20. #ifdef _WIN32                   /* Must include WINDOWS.H on Win32 */
  21. #ifndef _WINDOWS_
  22. #define INC_OLE2                /* Get the OLE2 stuff */
  23. #define INC_RPC                 /* harmless on Windows NT; Windows 95 needs it */
  24. #define _INC_OLE                /* Windows 95 will include OLE1 without this */
  25. #include <windows.h>
  26. #include <ole2.h>
  27. #endif
  28. #endif
  29.  
  30. #ifdef WIN16
  31. #include <compobj.h>
  32. #endif
  33.  
  34. #define INITGUID
  35. #include <initguid.h>
  36.  
  37. #include "mapiguid.h"
  38.  
  39. DEFINE_OLEGUID(IID_IUnknown, 0x00000000L, 0, 0);
  40. DEFINE_OLEGUID(IID_IStream, 0x0000000cL, 0, 0);
  41.