ReactOS 0.4.15-dev-7918-g2a2556c
wia_lh.idl
Go to the documentation of this file.
1/*
2 * Copyright 2009 Damjan Jovanovic
3 *
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.
8 *
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.
13 *
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
17 */
18
19import "wtypes.idl";
20import "objidl.idl";
21
22interface IEnumWIA_DEV_INFO;
23interface IWiaItem;
24interface IWiaEventCallback;
25
26cpp_quote("DEFINE_GUID(CLSID_WiaDevMgr, 0xa1f4e726,0x8cf1,0x11d1,0xbf,0x92,0x00,0x60,0x08,0x1e,0xd8,0x11);")
27
28[
29 object,
30 uuid(5eb2502a-8cf1-11d1-bf92-0060081ed811)
31]
33{
35 [in] LONG lFlag,
36 [retval, out] IEnumWIA_DEV_INFO **ppIEnum);
37
39 [in] BSTR bstrDeviceID,
40 [out] IWiaItem **ppWiaItemRoot);
41
44 [in] LONG lDeviceType,
45 [in] LONG lFlags,
46 [in, out] BSTR *pbstrDeviceID,
47 [retval, out] IWiaItem **ppItemRoot);
48
51 [in] LONG lDeviceType,
52 [in] LONG lFlags,
53 [retval, out] BSTR *pbstrDeviceID);
54
57 [in] LONG lDeviceType,
58 [in] LONG lFlags,
59 [in] LONG lIntent,
60 [in] IWiaItem *pItemRoot,
61 [in] BSTR bstrFilename,
62 [in, out] GUID *pguidFormat);
63
65 [in] LONG lFlags,
66 [in] BSTR bstrDeviceID,
67 [in] const GUID *pEventGUID,
68 [in] BSTR bstrCommandline,
69 [in] BSTR bstrName,
70 [in] BSTR bstrDescription,
71 [in] BSTR bstrIcon);
72
74 [in] LONG lFlags,
75 [in] BSTR bstrDeviceID,
76 [in] const GUID *pEventGUID,
77 [unique, in] IWiaEventCallback *pIWiaEventCallback,
78 [out] IUnknown **pEventObject);
79
81 [in] LONG lFlags,
82 [in] BSTR bstrDeviceID,
83 [in] const GUID *pEventGUID,
84 [unique, in] const GUID *pClsID,
85 [in] BSTR bstrName,
86 [in] BSTR bstrDescription,
87 [in] BSTR bstrIcon);
88
91 [in] LONG lFlags);
92}
93
94[
95 object,
96 uuid(5e38b83c-8cf1-11d1-bf92-0060081ed811)
97]
99{
100 /* fill in */
101}
102
103[
104 object,
105 uuid(4db1ad10-3391-11d2-9a33-00c04fa36145)
106]
108{
109 /* FIXME: fill in */
110}
111
112[
113 object,
114 uuid(ae6287b0-0084-11d2-973b-00a0c9068f2e)
115]
117{
119 [in] const GUID *pEventGUID,
120 [in] BSTR bstrEventDescription,
121 [in] BSTR bstrDeviceID,
122 [in] BSTR bstrDeviceDescription,
123 [in] DWORD dwDeviceType,
124 [in] BSTR bstrFullItemName,
125 [in,out] ULONG *pulEventType,
127}
static HWND hwndParent
Definition: cryptui.c:300
CD3D10_BUFFER_DESC D3D10_BUFFER_DESC cpp_quote(" ~CD3D10_BUFFER_DESC() {}") operator const D3D10_BUFFER_DESC &() const
Definition: d3d10.idl:491
OLECHAR * BSTR
Definition: compat.h:2293
unsigned long DWORD
Definition: ntddk_ex.h:95
GLboolean GLboolean GLboolean b
Definition: glext.h:6204
GLuint in
Definition: glext.h:9616
HRESULT SelectDeviceDlg([in] HWND hwndParent, [in] LONG lDeviceType, [in] LONG lFlags, [in, out] BSTR *pbstrDeviceID, [retval, out] IWiaItem **ppItemRoot)
HRESULT GetImageDlg([in] HWND hwndParent, [in] LONG lDeviceType, [in] LONG lFlags, [in] LONG lIntent, [in] IWiaItem *pItemRoot, [in] BSTR bstrFilename, [in, out] GUID *pguidFormat)
HRESULT RegisterEventCallbackInterface([in] LONG lFlags, [in] BSTR bstrDeviceID, [in] const GUID *pEventGUID, [unique, in] IWiaEventCallback *pIWiaEventCallback, [out] IUnknown **pEventObject)
HRESULT RegisterEventCallbackCLSID([in] LONG lFlags, [in] BSTR bstrDeviceID, [in] const GUID *pEventGUID, [unique, in] const GUID *pClsID, [in] BSTR bstrName, [in] BSTR bstrDescription, [in] BSTR bstrIcon)
HRESULT RegisterEventCallbackProgram([in] LONG lFlags, [in] BSTR bstrDeviceID, [in] const GUID *pEventGUID, [in] BSTR bstrCommandline, [in] BSTR bstrName, [in] BSTR bstrDescription, [in] BSTR bstrIcon)
HRESULT EnumDeviceInfo([in] LONG lFlag, [retval, out] IEnumWIA_DEV_INFO **ppIEnum)
HRESULT AddDeviceDlg([in] HWND hwndParent, [in] LONG lFlags)
HRESULT SelectDeviceDlgID([in] HWND hwndParent, [in] LONG lDeviceType, [in] LONG lFlags, [retval, out] BSTR *pbstrDeviceID)
HRESULT CreateDevice([in] BSTR bstrDeviceID, [out] IWiaItem **ppWiaItemRoot)
HRESULT ImageEventCallback([in] const GUID *pEventGUID, [in] BSTR bstrEventDescription, [in] BSTR bstrDeviceID, [in] BSTR bstrDeviceDescription, [in] DWORD dwDeviceType, [in] BSTR bstrFullItemName, [in, out] ULONG *pulEventType, [in] ULONG ulReserved)
Definition: msctf.idl:550
long LONG
Definition: pedump.c:60
static FILE * out
Definition: regtests2xml.c:44
uint32_t ULONG
Definition: typedefs.h:59
_In_ SURFOBJ _In_ CLIPOBJ _In_opt_ XLATEOBJ _In_ RECTL _In_ RECTL _In_ ULONG _In_ ULONG ulReserved
Definition: winddi.h:4196