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 / docfile.ms / mspguid.c < prev    next >
Encoding:
C/C++ Source or Header  |  1996-04-11  |  1.1 KB  |  44 lines

  1. /*
  2.  *  M S P G U I D . C
  3.  *
  4.  *  Define the guids that are used by the Sample Message Store Provider.
  5.  *
  6.  *  Copyright 1992-1995 Microsoft Corporation.  All Rights Reserved.
  7.  */
  8.  
  9. #define USES_IID_IUnknown
  10. #define USES_IID_IStream
  11.  
  12. #define USES_IID_IMSLogon
  13. #define USES_IID_IMAPIProp
  14. #define USES_IID_IAttachment
  15. #define USES_IID_IMessage
  16. #define USES_IID_IMAPIFolder
  17. #define USES_IID_IMAPIContainer
  18. #define USES_IID_IMAPITableData
  19. #define USES_IID_IMAPITable
  20. #define USES_IID_IMSProvider
  21. #define USES_IID_IMsgStore
  22.  
  23. #ifdef _WIN32   /* Must include WINDOWS.H on Win32 */
  24. #ifndef _WINDOWS_
  25. #define INC_OLE2 /* Get the OLE2 stuff */
  26. #define INC_RPC  /* harmless on Windows NT; Windows 95 needs it */
  27. #define _INC_OLE /* Windows 95 will include OLE1 without this */
  28. #include <windows.h>
  29. #include <ole2.h>
  30. #endif
  31. #endif
  32.  
  33. #ifdef WIN16
  34. #include <compobj.h>
  35. #endif
  36.  
  37. #define INITGUID
  38. #include <initguid.h>
  39. #include <mapiguid.h>
  40.  
  41. DEFINE_OLEGUID(IID_IUnknown,            0x00000000L, 0, 0);
  42. DEFINE_OLEGUID(IID_IStream,             0x0000000cL, 0, 0);
  43.  
  44.