home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / sgwdata.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  2KB  |  54 lines

  1. // -sgwdata.h-------------------------------------------------------------------
  2. // Defines the configuration extension data for the Sample Gateway.
  3. //
  4. // Copyright 1986 - 1998 Microsoft Corporation.  All Rights Reserved.
  5. // -----------------------------------------------------------------------------
  6.  
  7. #ifndef _SGWDATA_H_
  8. #define _SGWDATA_H_
  9.  
  10. // Name of cfg extension data blob.
  11. #define SGWBLOBNAME     "SGWData"
  12. #define SGWBLOBNAMEW    L"SGWData"
  13.  
  14. // -----------------------------------------------------------------------------
  15. // Index of properties within the extension data blob.
  16. //
  17. // NOTE: If you add a property, add it to the end of the array.  The SGWAdmin 
  18. //       code is designed to handle a growing property array with ease.  If you 
  19. //       remove one it would be easier to just make it an unused place holder.
  20. // -----------------------------------------------------------------------------
  21.  
  22. typedef enum {          
  23.     // PT_BOOLEAN
  24.     IDX_CHECK_IN_BOUND = 0,
  25.     IDX_CHECK_OUT_BOUND, 
  26.  
  27.     // PT_LONG
  28.     IDX_EDIT_THREADS_IN, 
  29.     IDX_EDIT_THREADS_OUT,
  30.     IDX_EDIT_MSGS_IN,    
  31.     IDX_EDIT_MSGS_OUT,   
  32.     IDX_EDIT_SLEEP_IN,   
  33.     IDX_EDIT_SLEEP_OUT,  
  34.     IDX_EDIT_POLLING_IN, 
  35.     IDX_EDIT_POLLING_OUT,
  36.  
  37.     // PT_STRING8
  38.     IDX_ADDR_TYPE,       
  39.     IDX_DISP_NAME,       
  40.     IDX_EMAIL_ADDR,      
  41.     IDX_DIR_IN,          
  42.     IDX_DIR_OUT,
  43.     IDX_CONVERTER_IN,
  44.     IDX_CONVERTER_OUT,
  45.  
  46.     // Total number of properties in Extension Data Blob.
  47.     // Keep this one at the very end of list.
  48.     SGWDATA_PROP_COUNT
  49. } PropIndex;
  50.  
  51. // -----------------------------------------------------------------------------
  52.  
  53. #endif // _SGWDATA_H_
  54.