windows-nt/Source/XPSP1/NT/shell/published/inc/opsprof.idl
2020-09-26 16:20:57 +08:00

69 lines
2.3 KiB
Plaintext

//+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// File: opsprof.idl
//
// Contents: IOpsProfileSimple interfaces
//
// Classes:
//
// Functions:
//
// History: 07-31-98 ErikSn Created
//
//----------------------------------------------------------------------------
cpp_quote("//=--------------------------------------------------------------------------=")
cpp_quote("// opsprof.h")
cpp_quote("//=--------------------------------------------------------------------------=")
cpp_quote("// Copyright (c) Microsoft Corporation. All rights reserved.")
cpp_quote("//")
cpp_quote("// THIS CODE AND INFORMATION IS PROVIDED \"AS IS\" WITHOUT WARRANTY OF")
cpp_quote("// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO")
cpp_quote("// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A")
cpp_quote("// PARTICULAR PURPOSE.")
cpp_quote("//=--------------------------------------------------------------------------=")
cpp_quote("")
cpp_quote("#pragma comment(lib,\"uuid.lib\")")
cpp_quote("")
cpp_quote("//---------------------------------------------------------------------------=")
cpp_quote("// IOpsProfileSimple Interface.")
cpp_quote("")
import "objidl.idl";
import "oleidl.idl";
//+---------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// Contents: IOpsProfileSimple interface definition
//
//----------------------------------------------------------------------------
//
// Used to provide UI-less access to WAB "me" entry
cpp_quote("#ifndef _OPSPROF_H")
cpp_quote("#define _OPSPROF_H")
[object, uuid(7DD1362C-28B6-11d2-BCA7-00C04FD929DB)]
interface IOpsProfileSimple : IUnknown
{
HRESULT ReadProperties(
[in] long lNumProperties,
[in, size_is(lNumProperties)] const LPCWSTR szProperties[],
[out, size_is(lNumProperties)] LPWSTR szReturnValues[]);
HRESULT WriteProperties(
[in] long lNumProperties,
[in, size_is(lNumProperties)] const LPCWSTR szProperties[],
[in, size_is(lNumProperties)] const LPCWSTR szValues[]);
}
cpp_quote("#endif")