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.

46 lines
1.2 KiB

  1. #ifdef __cplusplus
  2. extern "C" {
  3. #endif
  4. /*
  5. * GetConfigParam()
  6. *
  7. * LPTSTR parameter - item for which we want the value
  8. * PVOID value - pointer to variable in which to
  9. * place the value
  10. * DWORD dwSize - size of value in bytes
  11. */
  12. DWORD
  13. GetConfigParam(
  14. //char * parameter,
  15. LPTSTR parameter,
  16. void * value,
  17. DWORD dwSize);
  18. DWORD
  19. SetConfigParam(
  20. //char * parameter,
  21. LPCTSTR parameter,
  22. DWORD dwType,
  23. void * value,
  24. DWORD dwSize);
  25. /*
  26. * Following is the list keys defined for use by the DNS and
  27. * utilities. First, the sections.
  28. */
  29. #define SERVICE_NAME "DNS"
  30. #define DNS_CONFIG_ROOT "System\\CurrentControlSet\\Services\\DNS"
  31. #define DNS_CONFIG_SECTION "System\\CurrentControlSet\\Services\\DNS\\Parameters"
  32. #define DNS_PERF_SECTION "System\\CurrentControlSet\\Services\\DNS\\Performance"
  33. #define DNS_SECURITY_SECTION "SOFTWARE\\Microsoft\\DNS\\Security"
  34. /* Parameters keys */
  35. #define PERF_COUNTER_VERSION "Performance Counter Version"
  36. #define DNS_PERF_DLL "dnsperf.dll"
  37. #ifdef __cplusplus
  38. }
  39. #endif