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.

62 lines
963 B

  1. /*++
  2. Copyright (c) 2002 Microsoft Corporation
  3. All rights reserved
  4. Module Name:
  5. splpolicy.hxx
  6. Abstract:
  7. Implements methods for reading Spooler policies.
  8. Author:
  9. Adina Trufinescu (adinatru).
  10. Environment:
  11. User Mode - Win32
  12. Revision History:
  13. --*/
  14. #ifndef _SPLPOLICY_HXX_
  15. #define _SPLPOLICY_HXX_
  16. #ifdef __cplusplus
  17. extern "C" {
  18. #endif
  19. extern CONST TCHAR *szPrintPolicy;
  20. extern CONST TCHAR *szRegisterSpoolerRemoteRpcEndPoint;
  21. HRESULT
  22. GetSpoolerPolicy(
  23. IN PCTSTR pszRegValue,
  24. IN OUT PBYTE pData,
  25. IN OUT PDWORD pcbSize,
  26. OUT PDWORD pType
  27. );
  28. ULONG
  29. GetSpoolerNumericPolicy(
  30. IN PCTSTR pszRegValue,
  31. IN ULONG DefaultValue
  32. );
  33. ULONG
  34. GetSpoolerNumericPolicyValidate(
  35. IN PCTSTR pszRegValue,
  36. IN ULONG DefaultValue,
  37. IN ULONG MaxValue
  38. );
  39. #ifdef __cplusplus
  40. };
  41. #endif
  42. #endif // #ifndef _SPLPOLICY_HXX_