⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 devicemanager.h

📁 JAPAN RTOS TOPPERS/JSP kernel 1.4 PreRelease simulation environment JSP kernel Windows simulation
💻 H
📖 第 1 页 / 共 3 页
字号:
/* this ALWAYS GENERATED file contains the definitions for the interfaces */


/* File created by MIDL compiler version 5.01.0164 */
/* at Fri Aug 01 17:05:23 2003
 */
/* Compiler settings for C:\Temporary\Archives\jsp-20030801\jsp\windev\devicemanager\devicemanager.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 __devicemanager_h__
#define __devicemanager_h__

#ifdef __cplusplus
extern "C"{
#endif 

/* Forward Declarations */ 

#ifndef __IInformation_FWD_DEFINED__
#define __IInformation_FWD_DEFINED__
typedef interface IInformation IInformation;
#endif 	/* __IInformation_FWD_DEFINED__ */


#ifndef __IDevice_FWD_DEFINED__
#define __IDevice_FWD_DEFINED__
typedef interface IDevice IDevice;
#endif 	/* __IDevice_FWD_DEFINED__ */


#ifndef ___IDeviceEvents_FWD_DEFINED__
#define ___IDeviceEvents_FWD_DEFINED__
typedef interface _IDeviceEvents _IDeviceEvents;
#endif 	/* ___IDeviceEvents_FWD_DEFINED__ */


#ifndef __IKernel_FWD_DEFINED__
#define __IKernel_FWD_DEFINED__
typedef interface IKernel IKernel;
#endif 	/* __IKernel_FWD_DEFINED__ */


#ifndef ___IKernelEvents_FWD_DEFINED__
#define ___IKernelEvents_FWD_DEFINED__
typedef interface _IKernelEvents _IKernelEvents;
#endif 	/* ___IKernelEvents_FWD_DEFINED__ */


#ifndef ___IInformationEvents_FWD_DEFINED__
#define ___IInformationEvents_FWD_DEFINED__
typedef interface _IInformationEvents _IInformationEvents;
#endif 	/* ___IInformationEvents_FWD_DEFINED__ */


#ifndef __IKernelLog_FWD_DEFINED__
#define __IKernelLog_FWD_DEFINED__
typedef interface IKernelLog IKernelLog;
#endif 	/* __IKernelLog_FWD_DEFINED__ */


#ifndef ___IKernelLogEvents_FWD_DEFINED__
#define ___IKernelLogEvents_FWD_DEFINED__
typedef interface _IKernelLogEvents _IKernelLogEvents;
#endif 	/* ___IKernelLogEvents_FWD_DEFINED__ */


#ifndef __Device_FWD_DEFINED__
#define __Device_FWD_DEFINED__

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

#endif 	/* __Device_FWD_DEFINED__ */


#ifndef __Information_FWD_DEFINED__
#define __Information_FWD_DEFINED__

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

#endif 	/* __Information_FWD_DEFINED__ */


#ifndef __Kernel_FWD_DEFINED__
#define __Kernel_FWD_DEFINED__

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

#endif 	/* __Kernel_FWD_DEFINED__ */


#ifndef __KernelLog_FWD_DEFINED__
#define __KernelLog_FWD_DEFINED__

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

#endif 	/* __KernelLog_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 __IInformation_INTERFACE_DEFINED__
#define __IInformation_INTERFACE_DEFINED__

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


EXTERN_C const IID IID_IInformation;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("0FDFFA99-68D5-4BE0-8984-FB6A3A2C0AAC")
    IInformation : public IUnknown
    {
    public:
    };
    
#else 	/* C style interface */

    typedef struct IInformationVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
            IInformation __RPC_FAR * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
        
        ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
            IInformation __RPC_FAR * This);
        
        ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
            IInformation __RPC_FAR * This);
        
        END_INTERFACE
    } IInformationVtbl;

    interface IInformation
    {
        CONST_VTBL struct IInformationVtbl __RPC_FAR *lpVtbl;
    };

    

#ifdef COBJMACROS


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

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

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


#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* __IInformation_INTERFACE_DEFINED__ */


#ifndef __IDevice_INTERFACE_DEFINED__
#define __IDevice_INTERFACE_DEFINED__

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


EXTERN_C const IID IID_IDevice;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("6575FAAB-8750-42D2-ADDD-4BE764AA2767")
    IDevice : public IUnknown
    {
    public:
        virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE IsValid( 
            /* [out] */ BOOL __RPC_FAR *valid) = 0;
        
        virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetDeviceName( 
            /* [in] */ BSTR devname) = 0;
        
        virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Map( 
            /* [in] */ unsigned long address,
            /* [in] */ unsigned long size) = 0;
        
        virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Unmap( 
            /* [in] */ unsigned long address) = 0;
        
        virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RaiseInterrupt( 
            /* [in] */ unsigned long inhno) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct IDeviceVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
            IDevice __RPC_FAR * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
        
        ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
            IDevice __RPC_FAR * This);
        
        ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
            IDevice __RPC_FAR * This);
        
        /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *IsValid )( 
            IDevice __RPC_FAR * This,
            /* [out] */ BOOL __RPC_FAR *valid);
        
        /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetDeviceName )( 
            IDevice __RPC_FAR * This,
            /* [in] */ BSTR devname);
        
        /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Map )( 
            IDevice __RPC_FAR * This,
            /* [in] */ unsigned long address,
            /* [in] */ unsigned long size);
        
        /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Unmap )( 
            IDevice __RPC_FAR * This,
            /* [in] */ unsigned long address);
        
        /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RaiseInterrupt )( 
            IDevice __RPC_FAR * This,
            /* [in] */ unsigned long inhno);
        
        END_INTERFACE
    } IDeviceVtbl;

    interface IDevice
    {
        CONST_VTBL struct IDeviceVtbl __RPC_FAR *lpVtbl;
    };

    

#ifdef COBJMACROS


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

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

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


#define IDevice_IsValid(This,valid)	\
    (This)->lpVtbl -> IsValid(This,valid)

#define IDevice_SetDeviceName(This,devname)	\
    (This)->lpVtbl -> SetDeviceName(This,devname)

#define IDevice_Map(This,address,size)	\
    (This)->lpVtbl -> Map(This,address,size)

#define IDevice_Unmap(This,address)	\
    (This)->lpVtbl -> Unmap(This,address)

#define IDevice_RaiseInterrupt(This,inhno)	\
    (This)->lpVtbl -> RaiseInterrupt(This,inhno)

#endif /* COBJMACROS */


#endif 	/* C style interface */



/* [helpstring] */ HRESULT STDMETHODCALLTYPE IDevice_IsValid_Proxy( 
    IDevice __RPC_FAR * This,
    /* [out] */ BOOL __RPC_FAR *valid);


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


/* [helpstring] */ HRESULT STDMETHODCALLTYPE IDevice_SetDeviceName_Proxy( 
    IDevice __RPC_FAR * This,
    /* [in] */ BSTR devname);


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


/* [helpstring] */ HRESULT STDMETHODCALLTYPE IDevice_Map_Proxy( 
    IDevice __RPC_FAR * This,
    /* [in] */ unsigned long address,
    /* [in] */ unsigned long size);


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


/* [helpstring] */ HRESULT STDMETHODCALLTYPE IDevice_Unmap_Proxy( 
    IDevice __RPC_FAR * This,
    /* [in] */ unsigned long address);


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


/* [helpstring] */ HRESULT STDMETHODCALLTYPE IDevice_RaiseInterrupt_Proxy( 
    IDevice __RPC_FAR * This,
    /* [in] */ unsigned long inhno);


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



#endif 	/* __IDevice_INTERFACE_DEFINED__ */


#ifndef ___IDeviceEvents_INTERFACE_DEFINED__
#define ___IDeviceEvents_INTERFACE_DEFINED__

/* interface _IDeviceEvents */
/* [object][helpstring][uuid] */ 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -