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.

68 lines
2.3 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (c) Microsoft Corporation. All rights reserved.
  5. //
  6. // File: opsprof.idl
  7. //
  8. // Contents: IOpsProfileSimple interfaces
  9. //
  10. // Classes:
  11. //
  12. // Functions:
  13. //
  14. // History: 07-31-98 ErikSn Created
  15. //
  16. //----------------------------------------------------------------------------
  17. cpp_quote("//=--------------------------------------------------------------------------=")
  18. cpp_quote("// opsprof.h")
  19. cpp_quote("//=--------------------------------------------------------------------------=")
  20. cpp_quote("// Copyright (c) Microsoft Corporation. All rights reserved.")
  21. cpp_quote("//")
  22. cpp_quote("// THIS CODE AND INFORMATION IS PROVIDED \"AS IS\" WITHOUT WARRANTY OF")
  23. cpp_quote("// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO")
  24. cpp_quote("// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A")
  25. cpp_quote("// PARTICULAR PURPOSE.")
  26. cpp_quote("//=--------------------------------------------------------------------------=")
  27. cpp_quote("")
  28. cpp_quote("#pragma comment(lib,\"uuid.lib\")")
  29. cpp_quote("")
  30. cpp_quote("//---------------------------------------------------------------------------=")
  31. cpp_quote("// IOpsProfileSimple Interface.")
  32. cpp_quote("")
  33. import "objidl.idl";
  34. import "oleidl.idl";
  35. //+---------------------------------------------------------------------------
  36. //
  37. // Copyright (c) Microsoft Corporation. All rights reserved.
  38. //
  39. // Contents: IOpsProfileSimple interface definition
  40. //
  41. //----------------------------------------------------------------------------
  42. //
  43. // Used to provide UI-less access to WAB "me" entry
  44. cpp_quote("#ifndef _OPSPROF_H")
  45. cpp_quote("#define _OPSPROF_H")
  46. [object, uuid(7DD1362C-28B6-11d2-BCA7-00C04FD929DB)]
  47. interface IOpsProfileSimple : IUnknown
  48. {
  49. HRESULT ReadProperties(
  50. [in] long lNumProperties,
  51. [in, size_is(lNumProperties)] const LPCWSTR szProperties[],
  52. [out, size_is(lNumProperties)] LPWSTR szReturnValues[]);
  53. HRESULT WriteProperties(
  54. [in] long lNumProperties,
  55. [in, size_is(lNumProperties)] const LPCWSTR szProperties[],
  56. [in, size_is(lNumProperties)] const LPCWSTR szValues[]);
  57. }
  58. cpp_quote("#endif")