imm32/tests: Mark some tests as broken by prior SetForegroundWindow call.
[wine.git] / include / cmdwpr.idl
blob9e25f6499029cfd770c5a22b21d33e76fadc4d49
1 /*
2 * Copyright (C) 2020 Alistair Leslie-Hughes
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #if 0
20 #pragma makedep install
21 #endif
24 object,
25 uuid(0c733a64-2a1c-11ce-ade5-00aa0044773d),
26 pointer_default(unique)
28 interface ICommandWithParameters : IUnknown
31 typedef struct tagDBPARAMBINDINFO
33 LPOLESTR pwszDataSourceType;
34 LPOLESTR pwszName;
35 DBLENGTH ulParamSize;
36 DBPARAMFLAGS dwFlags;
37 BYTE bPrecision;
38 BYTE bScale;
39 } DBPARAMBINDINFO;
41 [local]
42 HRESULT GetParameterInfo([in, out] DB_UPARAMS *uparams, [out, size_is(,*uparams)] DBPARAMINFO **info, [out] OLECHAR **buffer);
44 [call_as(GetParameterInfo)]
45 HRESULT RemoteGetParameterInfo([in, out] DB_UPARAMS *uparams, [out, size_is(,(ULONG)*uparams)] DBPARAMINFO **param_info,
46 [out, size_is(,(ULONG)*uparams)] DBBYTEOFFSET **offsets, [in, out] DBLENGTH *buff_len,
47 [in, out, unique, size_is(,(ULONG)*buff_len)] OLECHAR **buffer, [out] IErrorInfo **error);
49 [local]
50 HRESULT MapParameterNames([in] DB_UPARAMS uparams, [in, size_is((ULONG)uparams)] LPCWSTR names[],
51 [out, size_is((ULONG)uparams)] DB_LPARAMS ordinals[]);
53 [call_as(MapParameterNames)]
54 HRESULT RemoteMapParameterNames([in] DB_UPARAMS uparams, [in, size_is((ULONG)uparams)] LPCOLESTR *names,
55 [out, size_is((ULONG)uparams)] DB_LPARAMS *ordinals, [out] IErrorInfo **error);
57 [local]
58 HRESULT SetParameterInfo([in] DB_UPARAMS uparams, [in, unique, size_is((ULONG)uparams)] const DB_UPARAMS ordinals[],
59 [in, unique, size_is((ULONG)uparams)] const DBPARAMBINDINFO bindinfo[]);
61 [call_as(SetParameterInfo)]
62 HRESULT RemoteSetParameterInfo([in] DB_UPARAMS uparams, [in, unique, size_is((ULONG)uparams)] const DB_UPARAMS *ordinals,
63 [in, unique, size_is((ULONG)uparams)] const DBPARAMBINDINFO *bindinfo, [out] IErrorInfo **error);