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 / register / register.h < prev    next >
Text File  |  1997-08-05  |  2KB  |  56 lines

  1. /*+==========================================================================
  2.   File:      REGISTER.H
  3.  
  4.   Summary:   Include file for the REGISTER.EXE utility application.
  5.              REGISTER.H contains definitions of the application's string
  6.              resource IDs.
  7.  
  8.              For a comprehensive tutorial code tour of REGISTER's
  9.              contents and offerings see the tutorial REGISTER.HTM file.
  10.              For more specific technical details on the internal workings
  11.              see the comments dispersed throughout the REGISTER source code.
  12.  
  13.   Classes:   .
  14.  
  15.   Functions: WinMain
  16.  
  17.   Origin:    9-15-95: atrent - Created based on the EXESKEL code sample.
  18.  
  19. ----------------------------------------------------------------------------
  20.   This file is part of the Microsoft COM Tutorial Code Samples.
  21.  
  22.   Copyright (C) Microsoft Corporation, 1997.  All rights reserved.
  23.  
  24.   This source code is only intended as a supplement to Microsoft
  25.   Development Tools and/or on-line documentation.  See these other
  26.   materials for detailed information regarding Microsoft code samples.
  27.  
  28.   THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  29.   KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  30.   IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  31.   PARTICULAR PURPOSE.
  32. ==========================================================================+*/
  33.  
  34. #if !defined(REGISTER_H)
  35. #define REGISTER_H
  36.  
  37. #define MAX_STRING 128
  38.  
  39. // Error-related String Identifiers.
  40. #define IDS_COMINITFAILED           2000
  41. #define IDS_OUTOFMEMORY             2001
  42. #define IDS_DLLUNREG_FAIL           2002
  43. #define IDS_DLLREG_FAIL             2003
  44. #define IDS_LOADLIB_FAIL            2004
  45. #define IDS_EXERUN_FAIL             2005
  46.  
  47. #define IDS_ASSERT_FAIL             2200
  48.  
  49. // Notice-related Identifiers.
  50. #define IDS_NOTIMPLEMENTED          2301
  51. #define IDD_SUCCESS_MSG             2350
  52.  
  53. #define IDS_ERROR_TITLE             2400
  54.  
  55. #endif
  56.