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.

76 lines
1001 B

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. All rights reserved.
  4. Module Name:
  5. defprn.cxx
  6. Abstract:
  7. Default printer header.
  8. Author:
  9. Steve Kiraly (SteveKi) 06-Feb-1997
  10. Revision History:
  11. --*/
  12. #ifndef _DEFPRN_H
  13. #define _DEFPRN_H
  14. BOOL
  15. IsPrinterDefaultW(
  16. IN LPCWSTR pszPrinter
  17. );
  18. BOOL
  19. GetDefaultPrinterA(
  20. IN LPSTR pszBuffer,
  21. IN LPDWORD pcchBuffer
  22. );
  23. BOOL
  24. GetDefaultPrinterW(
  25. IN LPWSTR pszBuffer,
  26. IN LPDWORD pcchBuffer
  27. );
  28. BOOL
  29. SetDefaultPrinterA(
  30. IN LPCSTR pszPrinter
  31. );
  32. BOOL
  33. SetDefaultPrinterW(
  34. IN LPCWSTR pszPrinter
  35. );
  36. BOOL
  37. bGetActualPrinterName(
  38. IN LPCTSTR pszPrinter,
  39. IN LPTSTR pszBuffer,
  40. IN OUT UINT *pcchBuffer
  41. );
  42. BOOL
  43. DefPrnGetProfileString(
  44. IN PCWSTR pAppName,
  45. IN PCWSTR pKeyName,
  46. IN PWSTR pReturnedString,
  47. IN DWORD nSize
  48. );
  49. BOOL
  50. DefPrnWriteProfileString(
  51. IN PCWSTR lpAppName,
  52. IN PCWSTR lpKeyName,
  53. IN PCWSTR lpString
  54. );
  55. #endif