Source code of Windows XP (NT5)
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.

65 lines
964 B

  1. //----------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1996.
  5. // All rights reserved.
  6. //
  7. // File: ds.hxx
  8. //
  9. // Contents: Print DS
  10. //
  11. //
  12. // History: Nov 1996 SWilson
  13. //
  14. //----------------------------------------------------------------------------
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18. DWORD
  19. SetPrinterDs(
  20. HANDLE hPrinter,
  21. DWORD dwAction,
  22. BOOL bSynchronous
  23. );
  24. VOID
  25. InitializeDS(
  26. PINISPOOLER pIniSpooler
  27. );
  28. VOID
  29. UpdateDsSpoolerKey(
  30. HANDLE hPrinter,
  31. DWORD dwVector
  32. );
  33. VOID
  34. UpdateDsDriverKey(
  35. HANDLE hPrinter
  36. );
  37. DWORD
  38. RecreateDsKey(
  39. HANDLE hPrinter,
  40. PWSTR pszKey
  41. );
  42. DWORD
  43. InitializeDSClusterInfo(
  44. PINISPOOLER pIniSpooler,
  45. HANDLE *hToken
  46. );
  47. HRESULT
  48. GetDNSMachineName(
  49. PWSTR pszShortServerName,
  50. PWSTR *ppszServerName
  51. );
  52. #ifdef __cplusplus
  53. }
  54. #endif