
#pragma warning( disable: 4049 )  /* more than 64k source lines */

/* this ALWAYS GENERATED file contains the definitions for the interfaces */


 /* File created by MIDL compiler version 5.02.0235 */
/* at Sun Dec 05 11:53:42 1999
 */
/* Compiler settings for C:\ESSENCEOFCOM\CHAP10\AsynchDemoDll\AsynchDemoDll.idl:
    Oicf (OptLev=i2), W1, Zp8, env=Win32 (32b run), ms_ext, c_ext
    error checks: allocation ref bounds_check enum stub_data 
    VC __declspec() decoration level: 
         __declspec(uuid()), __declspec(selectany), __declspec(novtable)
         DECLSPEC_UUID(), MIDL_INTERFACE()
*/
//@@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__ 475
#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 __AsynchDemoDll_h__
#define __AsynchDemoDll_h__

/* Forward Declarations */ 

#ifndef __IChap10Demo_FWD_DEFINED__
#define __IChap10Demo_FWD_DEFINED__
typedef interface IChap10Demo IChap10Demo;
#endif 	/* __IChap10Demo_FWD_DEFINED__ */


#ifndef __AsyncIChap10Demo_FWD_DEFINED__
#define __AsyncIChap10Demo_FWD_DEFINED__
typedef interface AsyncIChap10Demo AsyncIChap10Demo;
#endif 	/* __AsyncIChap10Demo_FWD_DEFINED__ */


#ifndef __Chap10Demo_FWD_DEFINED__
#define __Chap10Demo_FWD_DEFINED__

#ifdef __cplusplus
typedef class Chap10Demo Chap10Demo;
#else
typedef struct Chap10Demo Chap10Demo;
#endif /* __cplusplus */

#endif 	/* __Chap10Demo_FWD_DEFINED__ */


/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"

#ifdef __cplusplus
extern "C"{
#endif 

void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 

#ifndef __IChap10Demo_INTERFACE_DEFINED__
#define __IChap10Demo_INTERFACE_DEFINED__

/* interface IChap10Demo */
/* [unique][helpstring][async_uuid][uuid][object] */ 


EXTERN_C const IID IID_IChap10Demo;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("1E007E4C-A2C0-46B3-94D6-5346969F9183")
    IChap10Demo : public IUnknown
    {
    public:
        virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DoSomething( 
            /* [in] */ long InputParm,
            /* [retval][out] */ long __RPC_FAR *pOutputParm) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct IChap10DemoVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
            IChap10Demo __RPC_FAR * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
        
        ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
            IChap10Demo __RPC_FAR * This);
        
        ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
            IChap10Demo __RPC_FAR * This);
        
        /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DoSomething )( 
            IChap10Demo __RPC_FAR * This,
            /* [in] */ long InputParm,
            /* [retval][out] */ long __RPC_FAR *pOutputParm);
        
        END_INTERFACE
    } IChap10DemoVtbl;

    interface IChap10Demo
    {
        CONST_VTBL struct IChap10DemoVtbl __RPC_FAR *lpVtbl;
    };

    

#ifdef COBJMACROS


#define IChap10Demo_QueryInterface(This,riid,ppvObject)	\
    (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)

#define IChap10Demo_AddRef(This)	\
    (This)->lpVtbl -> AddRef(This)

#define IChap10Demo_Release(This)	\
    (This)->lpVtbl -> Release(This)


#define IChap10Demo_DoSomething(This,InputParm,pOutputParm)	\
    (This)->lpVtbl -> DoSomething(This,InputParm,pOutputParm)

#endif /* COBJMACROS */


#endif 	/* C style interface */



/* [helpstring] */ HRESULT STDMETHODCALLTYPE IChap10Demo_DoSomething_Proxy( 
    IChap10Demo __RPC_FAR * This,
    /* [in] */ long InputParm,
    /* [retval][out] */ long __RPC_FAR *pOutputParm);


void __RPC_STUB IChap10Demo_DoSomething_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);



#endif 	/* __IChap10Demo_INTERFACE_DEFINED__ */


#ifndef __AsyncIChap10Demo_INTERFACE_DEFINED__
#define __AsyncIChap10Demo_INTERFACE_DEFINED__

/* interface AsyncIChap10Demo */
/* [uuid][object][helpstring][unique] */ 


EXTERN_C const IID IID_AsyncIChap10Demo;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("1E007E4D-A2C0-46B3-94D6-5346969F9183")
    AsyncIChap10Demo : public IUnknown
    {
    public:
        virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Begin_DoSomething( 
            /* [in] */ long InputParm) = 0;
        
        virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Finish_DoSomething( 
            /* [out][retval] */ long __RPC_FAR *pOutputParm) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct AsyncIChap10DemoVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
            AsyncIChap10Demo __RPC_FAR * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
        
        ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
            AsyncIChap10Demo __RPC_FAR * This);
        
        ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
            AsyncIChap10Demo __RPC_FAR * This);
        
        /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Begin_DoSomething )( 
            AsyncIChap10Demo __RPC_FAR * This,
            /* [in] */ long InputParm);
        
        /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Finish_DoSomething )( 
            AsyncIChap10Demo __RPC_FAR * This,
            /* [out][retval] */ long __RPC_FAR *pOutputParm);
        
        END_INTERFACE
    } AsyncIChap10DemoVtbl;

    interface AsyncIChap10Demo
    {
        CONST_VTBL struct AsyncIChap10DemoVtbl __RPC_FAR *lpVtbl;
    };

    

#ifdef COBJMACROS


#define AsyncIChap10Demo_QueryInterface(This,riid,ppvObject)	\
    (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)

#define AsyncIChap10Demo_AddRef(This)	\
    (This)->lpVtbl -> AddRef(This)

#define AsyncIChap10Demo_Release(This)	\
    (This)->lpVtbl -> Release(This)


#define AsyncIChap10Demo_Begin_DoSomething(This,InputParm)	\
    (This)->lpVtbl -> Begin_DoSomething(This,InputParm)

#define AsyncIChap10Demo_Finish_DoSomething(This,pOutputParm)	\
    (This)->lpVtbl -> Finish_DoSomething(This,pOutputParm)

#endif /* COBJMACROS */


#endif 	/* C style interface */



/* [helpstring] */ HRESULT STDMETHODCALLTYPE AsyncIChap10Demo_Begin_DoSomething_Proxy( 
    AsyncIChap10Demo __RPC_FAR * This,
    /* [in] */ long InputParm);


void __RPC_STUB AsyncIChap10Demo_Begin_DoSomething_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring] */ HRESULT STDMETHODCALLTYPE AsyncIChap10Demo_Finish_DoSomething_Proxy( 
    AsyncIChap10Demo __RPC_FAR * This,
    /* [out][retval] */ long __RPC_FAR *pOutputParm);


void __RPC_STUB AsyncIChap10Demo_Finish_DoSomething_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);



#endif 	/* __AsyncIChap10Demo_INTERFACE_DEFINED__ */



#ifndef __ASYNCHDEMODLLLib_LIBRARY_DEFINED__
#define __ASYNCHDEMODLLLib_LIBRARY_DEFINED__

/* library ASYNCHDEMODLLLib */
/* [helpstring][version][uuid] */ 


EXTERN_C const IID LIBID_ASYNCHDEMODLLLib;

EXTERN_C const CLSID CLSID_Chap10Demo;

#ifdef __cplusplus

class DECLSPEC_UUID("03A14C28-DA29-477F-A3CE-3B4381119AA7")
Chap10Demo;
#endif
#endif /* __ASYNCHDEMODLLLib_LIBRARY_DEFINED__ */

/* Additional Prototypes for ALL interfaces */

/* end of Additional Prototypes */

#ifdef __cplusplus
}
#endif

#endif


