home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 May / Pcwk5b98.iso / Borland / Cplus45 / BC45 / MSINC.PAK / COGUID.H < prev    next >
Text File  |  1995-08-29  |  3KB  |  77 lines

  1. /*****************************************************************************\
  2. *                                                                             *
  3. * coguid.h -    Master definition of GUIDs for compobj.dll                    *
  4. *                                                                             *
  5. *               OLE Version 2.0                                               *
  6. *                                                                             *
  7. \*****************************************************************************/
  8.  
  9. /*
  10.  *      C/C++ Run Time Library - Version 6.5
  11.  *
  12.  *      Copyright (c) 1994 by Borland International
  13.  *      All Rights Reserved.
  14.  *
  15.  */
  16.  
  17. #if !defined(__COGUID_H)
  18. #define __COGUID_H
  19.  
  20. /* this file is the master definition of all GUIDs for the component object
  21.    model and is included in compobj.h.  Some GUIDs for moinkers and storage 
  22.    appear here as well.  All of these GUIDs are OLE GUIDs only in the sense 
  23.    that part of the GUID range owned by OLE was used to define them.  
  24.    
  25.    NOTE: The second byte of all of these GUIDs is 0.
  26. */
  27.    
  28.  
  29. DEFINE_GUID(GUID_NULL, 0L, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
  30.  
  31. DEFINE_OLEGUID(IID_IUnknown,            0x00000000L, 0, 0);
  32. DEFINE_OLEGUID(IID_IClassFactory,       0x00000001L, 0, 0);
  33. DEFINE_OLEGUID(IID_IMalloc,             0x00000002L, 0, 0);
  34. DEFINE_OLEGUID(IID_IMarshal,            0x00000003L, 0, 0);
  35.  
  36. /* RPC related interfaces */
  37. DEFINE_OLEGUID(IID_IRpcChannel,         0x00000004L, 0, 0);
  38. DEFINE_OLEGUID(IID_IRpcStub,            0x00000005L, 0, 0);
  39. DEFINE_OLEGUID(IID_IStubManager,        0x00000006L, 0, 0);
  40. DEFINE_OLEGUID(IID_IRpcProxy,           0x00000007L, 0, 0);
  41. DEFINE_OLEGUID(IID_IProxyManager,       0x00000008L, 0, 0);
  42. DEFINE_OLEGUID(IID_IPSFactory,          0x00000009L, 0, 0);
  43.  
  44. /* storage related interfaces */
  45. DEFINE_OLEGUID(IID_ILockBytes,          0x0000000aL, 0, 0);
  46. DEFINE_OLEGUID(IID_IStorage,            0x0000000bL, 0, 0);
  47. DEFINE_OLEGUID(IID_IStream,             0x0000000cL, 0, 0);
  48. DEFINE_OLEGUID(IID_IEnumSTATSTG,        0x0000000dL, 0, 0);
  49.  
  50. /* moniker related interfaces */
  51. DEFINE_OLEGUID(IID_IBindCtx,            0x0000000eL, 0, 0);
  52. DEFINE_OLEGUID(IID_IMoniker,            0x0000000fL, 0, 0);
  53. DEFINE_OLEGUID(IID_IRunningObjectTable, 0x00000010L, 0, 0);
  54. DEFINE_OLEGUID(IID_IInternalMoniker,    0x00000011L, 0, 0);
  55.  
  56. /* storage related interfaces */
  57. DEFINE_OLEGUID(IID_IRootStorage,        0x00000012L, 0, 0);
  58. DEFINE_OLEGUID(IID_IDfReserved1,        0x00000013L, 0, 0);
  59. DEFINE_OLEGUID(IID_IDfReserved2,        0x00000014L, 0, 0);
  60. DEFINE_OLEGUID(IID_IDfReserved3,        0x00000015L, 0, 0);
  61.  
  62. /* concurrency releated interfaces */
  63. DEFINE_OLEGUID(IID_IMessageFilter,      0x00000016L, 0, 0);
  64.  
  65. /* CLSID of standard marshaler */
  66. DEFINE_OLEGUID(CLSID_StdMarshal,        0x00000017L, 0, 0);
  67.  
  68. /* interface on server for getting info for std marshaler */
  69. DEFINE_OLEGUID(IID_IStdMarshalInfo,     0x00000018L, 0, 0);
  70.  
  71. /* interface to inform object of number of external connections */
  72. DEFINE_OLEGUID(IID_IExternalConnection, 0x00000019L, 0, 0);
  73.  
  74. /* NOTE: LSB 0x1a through 0xff are reserved for future use */
  75.  
  76. #endif  /* __COGUID_H */
  77.