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 / carguids.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-08-05  |  4.7 KB  |  116 lines

  1. /*+==========================================================================
  2.   File:      CARGUIDS.H
  3.  
  4.   Summary:   This is the common include file for the Car-related COM
  5.              Interfaces and COM Objects. GUIDs are defined for the
  6.              Interfaces and CLSIDs are defined for the COM objects made
  7.              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:    10-7-95: atrent - Factored out of COMOBJ and DLLSERVE.
  19.  
  20. ----------------------------------------------------------------------------
  21.   This file is part of the Microsoft COM Tutorial Code Samples.
  22.  
  23.   Copyright (C) Microsoft Corporation, 1997.  All rights reserved.
  24.  
  25.   This source code is intended only as a supplement to Microsoft
  26.   Development Tools and/or on-line documentation.  See these other
  27.   materials for detailed information regarding Microsoft code samples.
  28.  
  29.   THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  30.   KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  31.   IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  32.   PARTICULAR PURPOSE.
  33. ==========================================================================+*/
  34.  
  35. #if !defined(CARGUIDS_H)
  36. #define CARGUIDS_H
  37.  
  38. #if !defined(RC_INCLUDE)
  39.  
  40. /*---------------------------------------------------------------------------
  41.   Here are the IIDs for the interfaces of the Car-related
  42.   COM components in the DLLSERVE, DLLCLIEN, and later code samples.
  43. ---------------------------------------------------------------------------*/
  44. DEFINE_GUID(IID_ICar,
  45.   0x0002da00, 0x0000, 0x0000, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
  46.  
  47. DEFINE_GUID(IID_IUtility,
  48.   0x0002da01, 0x0000, 0x0000, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
  49.  
  50. DEFINE_GUID(IID_ICruise,
  51.   0x0002da02, 0x0000, 0x0000, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
  52.  
  53. DEFINE_GUID(IID_ISample,
  54.   0x0002da03, 0x0000, 0x0000, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
  55.  
  56.  
  57. /*---------------------------------------------------------------------------
  58.   Here are the CLSIDs for the Class Factories of the Car-related
  59.   COM components in the DLLSERVE and DLLCLIEN code samples.
  60. ---------------------------------------------------------------------------*/
  61. DEFINE_GUID(CLSID_DllCar,
  62.   0x0002da04, 0x0000, 0x0000, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
  63.  
  64. DEFINE_GUID(CLSID_DllUtilityCar,
  65.   0x0002da05, 0x0000, 0x0000, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
  66.  
  67. DEFINE_GUID(CLSID_DllCruiseCar,
  68.   0x0002da06, 0x0000, 0x0000, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
  69.  
  70. DEFINE_GUID(CLSID_DllCarSample,
  71.   0x0002da07, 0x0000, 0x0000, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
  72.  
  73.  
  74. /*---------------------------------------------------------------------------
  75.   Here are the CLSIDs for the Class Factories of the Car-related
  76.   COM components in the LICSERVE and LICCLIEN code samples.
  77. ---------------------------------------------------------------------------*/
  78. DEFINE_GUID(CLSID_LicCruiseCar,
  79.   0x0002da08, 0x0000, 0x0000, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
  80.  
  81. DEFINE_GUID(CLSID_LicCarSample,
  82.   0x0002da09, 0x0000, 0x0000, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
  83.  
  84.  
  85. /*---------------------------------------------------------------------------
  86.   Here are the CLSIDs for the Class Factories of the Car-related
  87.   COM components in the LOCSERVE and LOCCLIEN code samples.
  88. ---------------------------------------------------------------------------*/
  89. DEFINE_GUID(CLSID_LocCar,
  90.   0x0002da0a, 0x0000, 0x0000, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
  91.  
  92. DEFINE_GUID(CLSID_LocUtilityCar,
  93.   0x0002da0b, 0x0000, 0x0000, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
  94.  
  95. DEFINE_GUID(CLSID_LocCruiseCar,
  96.   0x0002da0c, 0x0000, 0x0000, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
  97.  
  98.  
  99. /*---------------------------------------------------------------------------
  100.   Here are the CLSIDs for the Class Factories of the Car-related
  101.   COM components in the APTSERVE and APTCLIEN code samples.
  102. ---------------------------------------------------------------------------*/
  103. DEFINE_GUID(CLSID_AptCar,
  104.   0x0002da0d, 0x0000, 0x0000, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
  105.  
  106. DEFINE_GUID(CLSID_AptUtilityCar,
  107.   0x0002da0e, 0x0000, 0x0000, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
  108.  
  109. DEFINE_GUID(CLSID_AptCruiseCar,
  110.   0x0002da0f, 0x0000, 0x0000, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
  111.  
  112.  
  113. #endif // RC_INCLUDE
  114.  
  115. #endif // CARGUIDS_H
  116.