Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.8 KiB

  1. //+--------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1996 - 1999
  5. //
  6. // File: certdb2.h
  7. //
  8. // Contents: Cert Server precompiled header
  9. //
  10. //---------------------------------------------------------------------------
  11. #define _JET_RED_
  12. #ifdef _JET_RED_
  13. # define JETREDSELECT(jetbluearg, jetredarg) jetredarg
  14. # define JETREDPARM(jetredarg) jetredarg,
  15. #endif // _JET_RED_
  16. // from old certdb.h
  17. #define TABLE_NAMES ( 0 )
  18. #define TABLE_REQUESTS ( 1 )
  19. #define TABLE_CERTIFICATES ( 2 )
  20. #define TABLE_REQUEST_ATTRIBS ( 3 )
  21. #define TABLE_EXTENSIONS ( 4 )
  22. #define MAX_EXTENSION_NAME ( 50 )
  23. #define DBTF_POLICYWRITEABLE ( 0x1 )
  24. #define DBTF_INDEXPRIMARY ( 0x2 )
  25. #define DBTF_INDEXREQUESTID ( 0x4 )
  26. // stolen from misc .h files
  27. #define szREGDBDSN "DBDSN"
  28. #define szREGDBUSER "DBUser"
  29. #define szREGDBPASSWORD "DBPassword"
  30. #define wszREGDBDSN TEXT(szREGDBDSN)
  31. #define wszREGDBUSER TEXT(szREGDBUSER)
  32. #define wszREGDBPASSWORD TEXT(szREGDBPASSWORD)
  33. //======================================================================
  34. // Full path to "CertSvc\Queries":
  35. #define wszREGKEYQUERIES wszREGKEYCERTSVCPATH TEXT("\\Queries")
  36. //======================================================================
  37. // Values Under "CertSvc\Queries\<QueryNumber>":
  38. #define szREGDBSQL "SQL"
  39. #define wszREGDBSQL TEXT(szREGDBSQL)
  40. #define wszREGKEYDEFAULTCONFIG TEXT("DefaultConfiguration")
  41. #define wszREGKEYDIRECTORY TEXT("ConfigurationDirectory")
  42. #define wszREGKEYENABLED TEXT("Enabled")
  43. #define wszREGCONTAINERNAME TEXT("KeySetName")
  44. #define CR_FLG_NOTELETEX 0x00000000
  45. #define CR_FLG_FORCETELETEX 0x00000001
  46. #define CR_FLG_RENEWAL 0x00000002