home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 May / PCFMay2001.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / smbdata.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-31  |  1.5 KB  |  44 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. #pragma option push -b -a8 -pc -A- /*P_O_Push*/
  9. #define _SMBDATA_H_
  10.  
  11. // Name of cfg extension data blob.
  12. #define SMBBLOBNAME     "SMBData"
  13. #define SMBBLOBNAMEW    L"SMBData"
  14.  
  15. // -----------------------------------------------------------------------------
  16. // Index of properties within the extension data blob.
  17. //
  18. // NOTE: If you add a property, add it to the end of the array.  The SMBAdmin 
  19. //       code is designed to handle a growing property array with ease.  If you 
  20. //       remove one it would be easier to just make it an unused place holder.
  21. // -----------------------------------------------------------------------------
  22.  
  23. typedef enum {          
  24.     // PT_BOOLEAN
  25.     IDX_PUBLIC_TOPIC_FOLDER = 0,
  26.  
  27.     // PT_LONG
  28.     IDX_POLL_INBOX_MSEC, 
  29.     IDX_ACL_RIGHTS,
  30.  
  31.     // PT_STRING8
  32.     IDX_TOPIC_ROOT_FOLDER_NAME,       
  33.     IDX_TOPIC_ROOT_FOLDER_COMMENT,       
  34.  
  35.     // Total number of properties in Extension Data Blob.
  36.     // Keep this one at the very end of list.
  37.     SMBDATA_PROP_COUNT
  38. } PropIndex;
  39.  
  40. // -----------------------------------------------------------------------------
  41.  
  42. #pragma option pop /*P_O_Pop*/
  43. #endif // _SMBDATA_H_
  44.