📄 _robotserver.h
字号:
#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 Sat Apr 13 23:08:55 2002
*/
/* Compiler settings for _RobotServer.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 ___RobotServer_h__
#define ___RobotServer_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifndef __IRobot_FWD_DEFINED__
#define __IRobot_FWD_DEFINED__
typedef interface IRobot IRobot;
#endif /* __IRobot_FWD_DEFINED__ */
#ifndef __CRobot_FWD_DEFINED__
#define __CRobot_FWD_DEFINED__
#ifdef __cplusplus
typedef class CRobot CRobot;
#else
typedef struct CRobot CRobot;
#endif /* __cplusplus */
#endif /* __CRobot_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 __IRobot_INTERFACE_DEFINED__
#define __IRobot_INTERFACE_DEFINED__
/* interface IRobot */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_IRobot;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9913C8F7-CE4A-4C25-A112-6AFCC4201FD5")
IRobot : public IDispatch
{
public:
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_BatteryLife(
/* [retval][out] */ LONG *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_BatteryLife(
/* [in] */ LONG newVal) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Speak(
/* [in] */ BSTR bstrSpeech) = 0;
};
#else /* C style interface */
typedef struct IRobotVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IRobot * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IRobot * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IRobot * This);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
IRobot * This,
/* [out] */ UINT *pctinfo);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
IRobot * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo **ppTInfo);
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
IRobot * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
IRobot * 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][propget] */ HRESULT ( STDMETHODCALLTYPE *get_BatteryLife )(
IRobot * This,
/* [retval][out] */ LONG *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_BatteryLife )(
IRobot * This,
/* [in] */ LONG newVal);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Speak )(
IRobot * This,
/* [in] */ BSTR bstrSpeech);
END_INTERFACE
} IRobotVtbl;
interface IRobot
{
CONST_VTBL struct IRobotVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IRobot_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IRobot_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IRobot_Release(This) \
(This)->lpVtbl -> Release(This)
#define IRobot_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IRobot_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IRobot_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IRobot_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#define IRobot_get_BatteryLife(This,pVal) \
(This)->lpVtbl -> get_BatteryLife(This,pVal)
#define IRobot_put_BatteryLife(This,newVal) \
(This)->lpVtbl -> put_BatteryLife(This,newVal)
#define IRobot_Speak(This,bstrSpeech) \
(This)->lpVtbl -> Speak(This,bstrSpeech)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IRobot_get_BatteryLife_Proxy(
IRobot * This,
/* [retval][out] */ LONG *pVal);
void __RPC_STUB IRobot_get_BatteryLife_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IRobot_put_BatteryLife_Proxy(
IRobot * This,
/* [in] */ LONG newVal);
void __RPC_STUB IRobot_put_BatteryLife_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRobot_Speak_Proxy(
IRobot * This,
/* [in] */ BSTR bstrSpeech);
void __RPC_STUB IRobot_Speak_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IRobot_INTERFACE_DEFINED__ */
#ifndef __RobotServer_LIBRARY_DEFINED__
#define __RobotServer_LIBRARY_DEFINED__
/* library RobotServer */
/* [helpstring][uuid][version] */
EXTERN_C const IID LIBID_RobotServer;
EXTERN_C const CLSID CLSID_CRobot;
#ifdef __cplusplus
class DECLSPEC_UUID("3208C53E-41AF-4841-A0D3-C162FB786FAF")
CRobot;
#endif
#endif /* __RobotServer_LIBRARY_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -