home *** CD-ROM | disk | FTP | other *** search
- /* this ALWAYS GENERATED file contains the definitions for the interfaces */
-
-
- /* File created by MIDL compiler version 5.01.0164 */
- /* at Tue Apr 13 15:05:07 1999
- */
- /* Compiler settings for C:\projects\RTK\ADsError\ADsError.idl:
- Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
- error checks: allocation ref bounds_check enum stub_data
- */
- //@@MIDL_FILE_HEADING( )
-
-
- /* verify that the <rpcndr.h> version is high enough to compile this file*/
- #ifndef __REQUIRED_RPCNDR_H_VERSION__
- #define __REQUIRED_RPCNDR_H_VERSION__ 440
- #endif
-
- #include "rpc.h"
- #include "rpcndr.h"
-
- #ifndef __RPCNDR_H_VERSION__
- #error this stub requires an updated version of <rpcndr.h>
- #endif // __RPCNDR_H_VERSION__
-
- #ifndef COM_NO_WINDOWS_H
- #include "windows.h"
- #include "ole2.h"
- #endif /*COM_NO_WINDOWS_H*/
-
- #ifndef __ADsError_h__
- #define __ADsError_h__
-
- #ifdef __cplusplus
- extern "C"{
- #endif
-
- /* Forward Declarations */
-
- #ifndef __IADsError_FWD_DEFINED__
- #define __IADsError_FWD_DEFINED__
- typedef interface IADsError IADsError;
- #endif /* __IADsError_FWD_DEFINED__ */
-
-
- #ifndef __ADsError_FWD_DEFINED__
- #define __ADsError_FWD_DEFINED__
-
- #ifdef __cplusplus
- typedef class ADsError ADsError;
- #else
- typedef struct ADsError ADsError;
- #endif /* __cplusplus */
-
- #endif /* __ADsError_FWD_DEFINED__ */
-
-
- /* header files for imported files */
- #include "oaidl.h"
- #include "ocidl.h"
-
- void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
- void __RPC_USER MIDL_user_free( void __RPC_FAR * );
-
- #ifndef __IADsError_INTERFACE_DEFINED__
- #define __IADsError_INTERFACE_DEFINED__
-
- /* interface IADsError */
- /* [unique][helpstring][dual][uuid][object] */
-
-
- EXTERN_C const IID IID_IADsError;
-
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("417D01DF-F1C6-11D2-BC88-00C04FD430AF")
- IADsError : public IDispatch
- {
- public:
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetErrorMessage(
- /* [in] */ long hResult,
- /* [retval][out] */ BSTR __RPC_FAR *pbMsg) = 0;
-
- };
-
- #else /* C style interface */
-
- typedef struct IADsErrorVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
- IADsError __RPC_FAR * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
-
- ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
- IADsError __RPC_FAR * This);
-
- ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
- IADsError __RPC_FAR * This);
-
- HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
- IADsError __RPC_FAR * This,
- /* [out] */ UINT __RPC_FAR *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
- IADsError __RPC_FAR * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
- IADsError __RPC_FAR * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
- IADsError __RPC_FAR * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
- /* [out] */ VARIANT __RPC_FAR *pVarResult,
- /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
- /* [out] */ UINT __RPC_FAR *puArgErr);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetErrorMessage )(
- IADsError __RPC_FAR * This,
- /* [in] */ long hResult,
- /* [retval][out] */ BSTR __RPC_FAR *pbMsg);
-
- END_INTERFACE
- } IADsErrorVtbl;
-
- interface IADsError
- {
- CONST_VTBL struct IADsErrorVtbl __RPC_FAR *lpVtbl;
- };
-
-
-
- #ifdef COBJMACROS
-
-
- #define IADsError_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
-
- #define IADsError_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
-
- #define IADsError_Release(This) \
- (This)->lpVtbl -> Release(This)
-
-
- #define IADsError_GetTypeInfoCount(This,pctinfo) \
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
-
- #define IADsError_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
-
- #define IADsError_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
-
- #define IADsError_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
-
-
- #define IADsError_GetErrorMessage(This,hResult,pbMsg) \
- (This)->lpVtbl -> GetErrorMessage(This,hResult,pbMsg)
-
- #endif /* COBJMACROS */
-
-
- #endif /* C style interface */
-
-
-
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IADsError_GetErrorMessage_Proxy(
- IADsError __RPC_FAR * This,
- /* [in] */ long hResult,
- /* [retval][out] */ BSTR __RPC_FAR *pbMsg);
-
-
- void __RPC_STUB IADsError_GetErrorMessage_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
-
-
-
- #endif /* __IADsError_INTERFACE_DEFINED__ */
-
-
-
- #ifndef __ADSERRORLib_LIBRARY_DEFINED__
- #define __ADSERRORLib_LIBRARY_DEFINED__
-
- /* library ADSERRORLib */
- /* [helpstring][version][uuid] */
-
-
- EXTERN_C const IID LIBID_ADSERRORLib;
-
- EXTERN_C const CLSID CLSID_ADsError;
-
- #ifdef __cplusplus
-
- class DECLSPEC_UUID("417D01E0-F1C6-11D2-BC88-00C04FD430AF")
- ADsError;
- #endif
- #endif /* __ADSERRORLib_LIBRARY_DEFINED__ */
-
- /* Additional Prototypes for ALL interfaces */
-
- unsigned long __RPC_USER BSTR_UserSize( unsigned long __RPC_FAR *, unsigned long , BSTR __RPC_FAR * );
- unsigned char __RPC_FAR * __RPC_USER BSTR_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
- unsigned char __RPC_FAR * __RPC_USER BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
- void __RPC_USER BSTR_UserFree( unsigned long __RPC_FAR *, BSTR __RPC_FAR * );
-
- /* end of Additional Prototypes */
-
- #ifdef __cplusplus
- }
- #endif
-
- #endif
-