ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

dispex.idl
Go to the documentation of this file.
00001 /*
00002  * Copyright 2004 Kevin Koltzau
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 // HACK
00019 #define annotation(x)
00020 
00021 #ifndef DO_NO_IMPORTS
00022 import "ocidl.idl";
00023 import "oleidl.idl";
00024 import "oaidl.idl";
00025 import "servprov.idl";
00026 #endif
00027 
00028 cpp_quote("DEFINE_GUID(SID_VariantConversion, 0x1f101481,0xbccd,0x11d0,0x93,0x36,0x00,0xa0,0xc9,0xd,0xca,0xa9);")
00029 cpp_quote("DEFINE_GUID(SID_GetCaller, 0x4717cc40,0xbcb9,0x11d0,0x93,0x36,0x00,0xa0,0xc9,0xd,0xca,0xa9);")
00030 
00031 cpp_quote("#define fdexNameCaseSensitive       0x00000001L")
00032 cpp_quote("#define fdexNameEnsure              0x00000002L")
00033 cpp_quote("#define fdexNameImplicit            0x00000004L")
00034 cpp_quote("#define fdexNameCaseInsensitive     0x00000008L")
00035 cpp_quote("#define fdexNameInternal            0x00000010L")
00036 cpp_quote("#define fdexNameNoDynamicProperties 0x00000020L")
00037 
00038 cpp_quote("#define fdexPropCanGet              0x00000001L")
00039 cpp_quote("#define fdexPropCannotGet           0x00000002L")
00040 cpp_quote("#define fdexPropCanPut              0x00000004L")
00041 cpp_quote("#define fdexPropCannotPut           0x00000008L")
00042 cpp_quote("#define fdexPropCanPutRef           0x00000010L")
00043 cpp_quote("#define fdexPropCannotPutRef        0x00000020L")
00044 cpp_quote("#define fdexPropNoSideEffects       0x00000040L")
00045 cpp_quote("#define fdexPropDynamicType         0x00000080L")
00046 cpp_quote("#define fdexPropCanCall             0x00000100L")
00047 cpp_quote("#define fdexPropCannotCall          0x00000200L")
00048 cpp_quote("#define fdexPropCanConstruct        0x00000400L")
00049 cpp_quote("#define fdexPropCannotConstruct     0x00000800L")
00050 cpp_quote("#define fdexPropCanSourceEvents     0x00001000L")
00051 cpp_quote("#define fdexPropCannotSourceEvents  0x00002000L")
00052 
00053 cpp_quote("#define fdexEnumDefault             0x00000001L")
00054 cpp_quote("#define fdexEnumAll                 0x00000002L")
00055 
00056 cpp_quote("#define grfdexPropCanAll \\")
00057 cpp_quote("       (fdexPropCanGet | fdexPropCanPut | fdexPropCanPutRef | \\")
00058 cpp_quote("        fdexPropCanCall | fdexPropCanConstruct | fdexPropCanSourceEvents)")
00059 cpp_quote("#define grfdexPropCannotAll \\")
00060 cpp_quote("       (fdexPropCannotGet | fdexPropCannotPut | fdexPropCannotPutRef | \\")
00061 cpp_quote("        fdexPropCannotCall | fdexPropCannotConstruct | fdexPropCannotSourceEvents)")
00062 cpp_quote("#define grfdexPropExtraAll \\")
00063 cpp_quote("       (fdexPropNoSideEffects | fdexPropDynamicType)")
00064 cpp_quote("#define grfdexPropAll \\")
00065 cpp_quote("       (grfdexPropCanAll | grfdexPropCannotAll | grfdexPropExtraAll)")
00066 
00067 cpp_quote("#define DISPATCH_CONSTRUCT 0x4000")
00068 
00069 cpp_quote("#define DISPID_THIS (-613)")
00070 cpp_quote("#define DISPID_STARTENUM DISPID_UNKNOWN")
00071 
00072 [
00073 object,
00074 uuid(A6EF9860-C720-11d0-9337-00A0C90DCAA9),
00075 pointer_default(unique)
00076 ]
00077 interface IDispatchEx : IDispatch
00078 {
00079     HRESULT GetDispID(
00080             [in] BSTR bstrName,
00081             [in] DWORD grfdex,
00082             [out] DISPID *pid);
00083 
00084     [local]
00085     HRESULT InvokeEx(
00086             [in, annotation("__in")] DISPID id,
00087             [in, annotation("__in")] LCID lcid,
00088             [in, annotation("__in")] WORD wFlags,
00089             [in, annotation("__in")] DISPPARAMS *pdp,
00090             [out, annotation("__out_opt")] VARIANT *pvarRes,
00091             [out, annotation("__out_opt")] EXCEPINFO *pei,
00092             [in, unique, annotation("__in_opt")] IServiceProvider *pspCaller);
00093 
00094     [call_as(InvokeEx)]
00095     HRESULT RemoteInvokeEx(
00096             [in] DISPID id,
00097             [in] LCID lcid,
00098             [in] DWORD dwFlags,
00099             [in] DISPPARAMS *pdp,
00100             [out] VARIANT *pvarRes,
00101             [out] EXCEPINFO *pei,
00102             [in, unique] IServiceProvider *pspCaller,
00103             [in] UINT cvarRefArg,
00104             [in, size_is(cvarRefArg)] UINT *rgiRefArg,
00105             [in, out, size_is(cvarRefArg)] VARIANT *rgvarRefArg);
00106 
00107     HRESULT DeleteMemberByName(
00108             [in] BSTR bstrName,
00109             [in] DWORD grfdex);
00110 
00111     HRESULT DeleteMemberByDispID(
00112             [in] DISPID id);
00113 
00114     HRESULT GetMemberProperties(
00115             [in] DISPID id,
00116             [in] DWORD grfdexFetch,
00117             [out] DWORD *pgrfdex);
00118 
00119     HRESULT GetMemberName(
00120             [in] DISPID id,
00121             [out] BSTR *pbstrName);
00122 
00123     HRESULT GetNextDispID(
00124             [in] DWORD grfdex,
00125             [in] DISPID id,
00126             [out] DISPID *pid);
00127 
00128     HRESULT GetNameSpaceParent([out] IUnknown **ppunk);
00129 }
00130 
00131 [
00132 object,
00133 uuid(A6EF9861-C720-11d0-9337-00A0C90DCAA9),
00134 pointer_default(unique)
00135 ]
00136 interface IDispError : IUnknown
00137 {
00138     HRESULT QueryErrorInfo(
00139             [in] GUID guidErrorType,
00140             [out] IDispError **ppde);
00141 
00142     HRESULT GetNext(
00143             [out] IDispError **ppde);
00144 
00145     HRESULT GetHresult(
00146             [out] HRESULT *phr);
00147 
00148     HRESULT GetSource(
00149             [out] BSTR *pbstrSource);
00150 
00151     HRESULT GetHelpInfo(
00152             [out] BSTR *pbstrFileName,
00153             [out] DWORD *pdwContext);
00154 
00155     HRESULT GetDescription(
00156             [out] BSTR *pbstrDescription);
00157 }
00158 
00159 [
00160 object,
00161 uuid(A6EF9862-C720-11d0-9337-00A0C90DCAA9),
00162 pointer_default(unique)
00163 ]
00164 interface IVariantChangeType : IUnknown
00165 {
00166     HRESULT ChangeType(
00167             [in, out, unique] VARIANT *pvarDst,
00168             [in, unique] VARIANT *pvarSrc,
00169             [in] LCID lcid,
00170             [in] VARTYPE vtNew);
00171 }
00172 
00173 
00174 [
00175 object,
00176 uuid(CA04B7E6-0D21-11d1-8CC5-00C04FC2B085),
00177 pointer_default(unique)
00178 ]
00179 interface IObjectIdentity : IUnknown
00180 {
00181     HRESULT IsEqualObject( 
00182             [in] IUnknown *punk);
00183 }
00184 
00185 [
00186     object,
00187     uuid(c5598e60-b307-11d1-b27d-006008c3fbfb),
00188     pointer_default(unique)
00189 ]
00190 interface ICanHandleException : IUnknown
00191 {
00192     HRESULT CanHandleException(
00193             [in] EXCEPINFO *pExcepInfo,
00194             [in] VARIANT *pvar);
00195 }
00196 
00197 [
00198     object,
00199     uuid(10e2414a-ec59-49d2-bc51-5add2c36febc),
00200     pointer_default(unique)
00201 ]
00202 interface IProvideRuntimeContext : IUnknown
00203 {
00204     HRESULT GetCurrentSourceContext(
00205             [out] DWORD_PTR *pdwContext,
00206             [out] VARIANT_BOOL *pfExecutingGlobalCode);
00207 }

Generated on Sat May 26 2012 04:30:05 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.