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

  1. // -smbdata.h-------------------------------------------------------------------
  2. // Defines the configuration extension data for the Sample Mailbox Agent.
  3. //
  4. // Copyright 1986 - 1998 Microsoft Corporation.  All Rights Reserved.
  5. // -----------------------------------------------------------------------------
  6.  
  7. #ifndef _SMBDATA_H_
  8. #define _SMBDATA_H_
  9.  
  10. // Name of cfg extension data blob.
  11. #define SMBBLOBNAME     "SMBData"
  12. #define SMBBLOBNAMEW    L"SMBData"
  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 SMBAdmin 
  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_PUBLIC_TOPIC_FOLDER = 0,
  25.  
  26.     // PT_LONG
  27.     IDX_POLL_INBOX_MSEC, 
  28.     IDX_ACL_RIGHTS,
  29.  
  30.     // PT_STRING8
  31.     IDX_TOPIC_ROOT_FOLDER_NAME,       
  32.     IDX_TOPIC_ROOT_FOLDER_COMMENT,       
  33.  
  34.     // Total number of properties in Extension Data Blob.
  35.     // Keep this one at the very end of list.
  36.     SMBDATA_PROP_COUNT
  37. } PropIndex;
  38.  
  39. // -----------------------------------------------------------------------------
  40.  
  41. #endif // _SMBDATA_H_
  42.