home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / netds / adsi / sampprov / globals.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1997-07-29  |  709 b   |  46 lines

  1. /*++
  2.  
  3. Copyright (c) 1996 Microsoft Corporation
  4.  
  5. Module Name:
  6.  
  7.     globals.cpp
  8.  
  9. Abstract:
  10.  
  11. Author:
  12.  
  13. Environment:
  14.  
  15.     User mode
  16.  
  17. Revision History :
  18.  
  19. --*/
  20. #include "adssmp.h"
  21. #pragma hdrstop
  22.  
  23. WCHAR * g_szProviderName = L"Sample";
  24.  
  25.  
  26. KWDLIST KeywordList[MAX_KEYWORDS] =
  27. {
  28.     { TOKEN_USER, L"user"},
  29.     { TOKEN_GROUP, L"group"},
  30.     { TOKEN_OU, L"organizational unit"}
  31. };
  32.  
  33. SYNTAXMAP g_aSampleDSSyntaxMap[] =
  34. {
  35.   /* 1 */
  36.   { TEXT("String"),  TEXT("SampleDS Distinguished Name"),  VT_BSTR},
  37.  
  38.   /* 2 */
  39.   { TEXT("Integer"),    TEXT("SampleDS Integer"),           VT_I4}
  40.  
  41. };
  42.  
  43. DWORD g_cSampleDSSyntaxMap = (sizeof(g_aSampleDSSyntaxMap)/sizeof(g_aSampleDSSyntaxMap[0]));
  44.  
  45.  
  46.