Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenwia_lh.idl
Go to the documentation of this file.
00001 /* 00002 * Copyright 2009 Damjan Jovanovic 00003 * 00004 * This library is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU Lesser General Public 00006 * License as published by the Free Software Foundation; either 00007 * version 2.1 of the License, or (at your option) any later version. 00008 * 00009 * This library is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 * Lesser General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU Lesser General Public 00015 * License along with this library; if not, write to the Free Software 00016 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 00017 */ 00018 00019 import "wtypes.idl"; 00020 import "objidl.idl"; 00021 00022 interface IEnumWIA_DEV_INFO; 00023 interface IWiaItem; 00024 interface IWiaEventCallback; 00025 00026 cpp_quote("DEFINE_GUID(CLSID_WiaDevMgr, 0xa1f4e726,0x8cf1,0x11d1,0xbf,0x92,0x00,0x60,0x08,0x1e,0xd8,0x11);") 00027 00028 [ 00029 object, 00030 uuid(5eb2502a-8cf1-11d1-bf92-0060081ed811) 00031 ] 00032 interface IWiaDevMgr : IUnknown 00033 { 00034 HRESULT EnumDeviceInfo( 00035 [in] LONG lFlag, 00036 [retval, out] IEnumWIA_DEV_INFO **ppIEnum); 00037 00038 HRESULT CreateDevice( 00039 [in] BSTR bstrDeviceID, 00040 [out] IWiaItem **ppWiaItemRoot); 00041 00042 HRESULT SelectDeviceDlg( 00043 [in] HWND hwndParent, 00044 [in] LONG lDeviceType, 00045 [in] LONG lFlags, 00046 [in, out] BSTR *pbstrDeviceID, 00047 [retval, out] IWiaItem **ppItemRoot); 00048 00049 HRESULT SelectDeviceDlgID( 00050 [in] HWND hwndParent, 00051 [in] LONG lDeviceType, 00052 [in] LONG lFlags, 00053 [retval, out] BSTR *pbstrDeviceID); 00054 00055 HRESULT GetImageDlg( 00056 [in] HWND hwndParent, 00057 [in] LONG lDeviceType, 00058 [in] LONG lFlags, 00059 [in] LONG lIntent, 00060 [in] IWiaItem *pItemRoot, 00061 [in] BSTR bstrFilename, 00062 [in, out] GUID *pguidFormat); 00063 00064 HRESULT RegisterEventCallbackProgram( 00065 [in] LONG lFlags, 00066 [in] BSTR bstrDeviceID, 00067 [in] const GUID *pEventGUID, 00068 [in] BSTR bstrCommandline, 00069 [in] BSTR bstrName, 00070 [in] BSTR bstrDescription, 00071 [in] BSTR bstrIcon); 00072 00073 HRESULT RegisterEventCallbackInterface( 00074 [in] LONG lFlags, 00075 [in] BSTR bstrDeviceID, 00076 [in] const GUID *pEventGUID, 00077 [unique, in] IWiaEventCallback *pIWiaEventCallback, 00078 [out] IUnknown **pEventObject); 00079 00080 HRESULT RegisterEventCallbackCLSID( 00081 [in] LONG lFlags, 00082 [in] BSTR bstrDeviceID, 00083 [in] const GUID *pEventGUID, 00084 [unique, in] const GUID *pClsID, 00085 [in] BSTR bstrName, 00086 [in] BSTR bstrDescription, 00087 [in] BSTR bstrIcon); 00088 00089 HRESULT AddDeviceDlg( 00090 [in] HWND hwndParent, 00091 [in] LONG lFlags); 00092 } 00093 00094 [ 00095 object, 00096 uuid(5e38b83c-8cf1-11d1-bf92-0060081ed811) 00097 ] 00098 interface IEnumWIA_DEV_INFO : IUnknown 00099 { 00100 /* fill in */ 00101 } 00102 00103 [ 00104 object, 00105 uuid(4db1ad10-3391-11d2-9a33-00c04fa36145) 00106 ] 00107 interface IWiaItem : IUnknown 00108 { 00109 /* FIXME: fill in */ 00110 } 00111 00112 [ 00113 object, 00114 uuid(ae6287b0-0084-11d2-973b-00a0c9068f2e) 00115 ] 00116 interface IWiaEventCallback : IUnknown 00117 { 00118 HRESULT ImageEventCallback( 00119 [in] const GUID *pEventGUID, 00120 [in] BSTR bstrEventDescription, 00121 [in] BSTR bstrDeviceID, 00122 [in] BSTR bstrDeviceDescription, 00123 [in] DWORD dwDeviceType, 00124 [in] BSTR bstrFullItemName, 00125 [in,out] ULONG *pulEventType, 00126 [in] ULONG ulReserved); 00127 } Generated on Sat May 26 2012 04:31:21 for ReactOS by
1.7.6.1
|