home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / com / tutsamp / inc / papguids.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-08-30  |  2.8 KB  |  72 lines

  1. /*+==========================================================================
  2.   File:      PAPGUIDS.H
  3.  
  4.   Summary:   This is the common include file for the GUIDs of drawing
  5.              paper-related COM Interfaces and COM Objects. GUIDs are
  6.              defined for the Interfaces and CLSIDs for the COM objects
  7.              constructed using those interfaces.
  8.  
  9.              This file is global to all the Tutorial Code Samples (kept
  10.              in the ..\INC directory).  It is a good practice to
  11.              factor out Interface and GUID specifications to reduce the
  12.              possibility of GUID or interface conflicts.
  13.  
  14.   Classes:   .
  15.  
  16.   Functions: .
  17.  
  18.   Origin:    8-24-97: atrent - Editor inheritance from BALLGUID.H.
  19.                [Revised]
  20.  
  21. ----------------------------------------------------------------------------
  22.   This file is part of the Microsoft COM Tutorial Code Samples.
  23.  
  24.   Copyright (C) Microsoft Corporation, 1997.  All rights reserved.
  25.  
  26.   This source code is intended only as a supplement to Microsoft
  27.   Development Tools and/or on-line documentation.  See these other
  28.   materials for detailed information regarding Microsoft code samples.
  29.  
  30.   THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  31.   KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  32.   IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  33.   PARTICULAR PURPOSE.
  34. ==========================================================================+*/
  35.  
  36. #if !defined(PAPGUIDS_H)
  37. #define PAPGUIDS_H
  38.  
  39. #if !defined(RC_INCLUDE)
  40.  
  41.  
  42. /*---------------------------------------------------------------------------
  43.   Here are the IIDs for interfaces and the CLSIDs for the Class Factories
  44.   of the drawing paper-related COM components in the STOSERVE, and
  45.   STOCLIEN code samples.
  46. ---------------------------------------------------------------------------*/
  47. DEFINE_GUID(IID_IPaper,
  48.   0x0002da30, 0x0000, 0x0000, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
  49.  
  50. DEFINE_GUID(IID_IPaperSink,
  51.   0x0002da34, 0x0000, 0x0000, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
  52.  
  53. DEFINE_GUID(CLSID_DllPaper,
  54.   0x0002da38, 0x0000, 0x0000, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
  55.  
  56.  
  57. /*---------------------------------------------------------------------------
  58.   Here are the IIDs for interfaces and the CLSIDs for the Class Factories
  59.   of the drawing paper-related COM components in the DCDSERVE, and
  60.   DCOMDRAW code samples.
  61. ---------------------------------------------------------------------------*/
  62. DEFINE_GUID(IID_ISharePaper,
  63.   0x0002da31, 0x0000, 0x0000, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
  64.  
  65. DEFINE_GUID(CLSID_SharePaper,
  66.   0x0002da32, 0x0000, 0x0000, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
  67.  
  68.  
  69. #endif // RC_INCLUDE
  70.  
  71. #endif // PAPGUIDS_H
  72.