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.

53 lines
823 B

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. Abstract:
  4. This module provides functionality for publishing printers
  5. Author:
  6. Steve Wilson (NT) November 1997
  7. Revision History:
  8. --*/
  9. HRESULT
  10. put_BSTR_Property(
  11. IADs *pADsObject,
  12. BSTR bstrPropertyName,
  13. BSTR pSrcStringProperty
  14. );
  15. HRESULT
  16. get_BSTR_Property(
  17. IADs *pADsObject,
  18. BSTR bstrPropertyName,
  19. BSTR *pSrcStringProperty
  20. );
  21. HRESULT
  22. put_DWORD_Property(
  23. IADs *pADsObject,
  24. BSTR bstrPropertyName,
  25. DWORD *pdwSrcProperty
  26. );
  27. HRESULT
  28. put_MULTISZ_Property(
  29. IADs *pADsObject,
  30. BSTR bstrPropertyName,
  31. BSTR pSrcStringProperty
  32. );
  33. HRESULT
  34. put_BOOL_Property(
  35. IADs *pADsObject,
  36. BSTR bstrPropertyName,
  37. BOOL *bSrcProperty
  38. );