
#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 6.00.0347 */
/* at Tue Jan 21 15:05:14 2003
 */
/* Compiler settings for _Ry4Com.idl:
    Os, W1, Zp8, env=Win32 (32b run)
    protocol : dce , 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__ 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 ___Ry4Com_h__
#define ___Ry4Com_h__

#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif

/* Forward Declarations */ 

#ifndef __IRockey4_FWD_DEFINED__
#define __IRockey4_FWD_DEFINED__
typedef interface IRockey4 IRockey4;
#endif 	/* __IRockey4_FWD_DEFINED__ */


#ifndef __CRockey4_FWD_DEFINED__
#define __CRockey4_FWD_DEFINED__

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

#endif 	/* __CRockey4_FWD_DEFINED__ */


/* header files for imported files */
#include "prsht.h"
#include "mshtml.h"
#include "mshtmhst.h"
#include "exdisp.h"
#include "objsafe.h"

#ifdef __cplusplus
extern "C"{
#endif 

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

#ifndef __IRockey4_INTERFACE_DEFINED__
#define __IRockey4_INTERFACE_DEFINED__

/* interface IRockey4 */
/* [unique][helpstring][dual][uuid][object] */ 


EXTERN_C const IID IID_IRockey4;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("AF33268E-E3A2-448B-B269-4025266B8305")
    IRockey4 : public IDispatch
    {
    public:
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DoCmd( 
            /* [in] */ USHORT usFuncID,
            /* [out][in] */ USHORT *usHandle,
            /* [out][in] */ ULONG *Lp1,
            /* [out][in] */ ULONG *Lp2,
            /* [out][in] */ USHORT *p1,
            /* [out][in] */ USHORT *p2,
            /* [out][in] */ USHORT *p3,
            /* [out][in] */ USHORT *p4,
            /* [out][in] */ VARIANT *buffer) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct IRockey4Vtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            IRockey4 * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            IRockey4 * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            IRockey4 * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            IRockey4 * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            IRockey4 * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            IRockey4 * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            IRockey4 * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS *pDispParams,
            /* [out] */ VARIANT *pVarResult,
            /* [out] */ EXCEPINFO *pExcepInfo,
            /* [out] */ UINT *puArgErr);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DoCmd )( 
            IRockey4 * This,
            /* [in] */ USHORT usFuncID,
            /* [out][in] */ USHORT *usHandle,
            /* [out][in] */ ULONG *Lp1,
            /* [out][in] */ ULONG *Lp2,
            /* [out][in] */ USHORT *p1,
            /* [out][in] */ USHORT *p2,
            /* [out][in] */ USHORT *p3,
            /* [out][in] */ USHORT *p4,
            /* [out][in] */ VARIANT *buffer);
        
        END_INTERFACE
    } IRockey4Vtbl;

    interface IRockey4
    {
        CONST_VTBL struct IRockey4Vtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


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

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

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


#define IRockey4_GetTypeInfoCount(This,pctinfo)	\
    (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)

#define IRockey4_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)

#define IRockey4_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)

#define IRockey4_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)


#define IRockey4_DoCmd(This,usFuncID,usHandle,Lp1,Lp2,p1,p2,p3,p4,buffer)	\
    (This)->lpVtbl -> DoCmd(This,usFuncID,usHandle,Lp1,Lp2,p1,p2,p3,p4,buffer)

#endif /* COBJMACROS */


#endif 	/* C style interface */



/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRockey4_DoCmd_Proxy( 
    IRockey4 * This,
    /* [in] */ USHORT usFuncID,
    /* [out][in] */ USHORT *usHandle,
    /* [out][in] */ ULONG *Lp1,
    /* [out][in] */ ULONG *Lp2,
    /* [out][in] */ USHORT *p1,
    /* [out][in] */ USHORT *p2,
    /* [out][in] */ USHORT *p3,
    /* [out][in] */ USHORT *p4,
    /* [out][in] */ VARIANT *buffer);


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



#endif 	/* __IRockey4_INTERFACE_DEFINED__ */



#ifndef __ROCKEY4_LIBRARY_DEFINED__
#define __ROCKEY4_LIBRARY_DEFINED__

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


EXTERN_C const IID LIBID_ROCKEY4;

EXTERN_C const CLSID CLSID_CRockey4;

#ifdef __cplusplus

class DECLSPEC_UUID("EE0680D3-AAC3-446B-AFD7-F9DE2D3E28FB")
CRockey4;
#endif
#endif /* __ROCKEY4_LIBRARY_DEFINED__ */

/* Additional Prototypes for ALL interfaces */

unsigned long             __RPC_USER  VARIANT_UserSize(     unsigned long *, unsigned long            , VARIANT * ); 
unsigned char * __RPC_USER  VARIANT_UserMarshal(  unsigned long *, unsigned char *, VARIANT * ); 
unsigned char * __RPC_USER  VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * ); 
void                      __RPC_USER  VARIANT_UserFree(     unsigned long *, VARIANT * ); 

/* end of Additional Prototypes */

#ifdef __cplusplus
}
#endif

#endif


