bullseyectl.h
来自「《ATL深入解析》随书源码」· C头文件 代码 · 共 873 行 · 第 1/2 页
H
873 行
/* [id][propput] */ HRESULT STDMETHODCALLTYPE IBullsEye_put_BackColor_Proxy(
IBullsEye __RPC_FAR * This,
/* [in] */ OLE_COLOR clr);
void __RPC_STUB IBullsEye_put_BackColor_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [id][propget] */ HRESULT STDMETHODCALLTYPE IBullsEye_get_BackColor_Proxy(
IBullsEye __RPC_FAR * This,
/* [retval][out] */ OLE_COLOR __RPC_FAR *pclr);
void __RPC_STUB IBullsEye_get_BackColor_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [id][propput] */ HRESULT STDMETHODCALLTYPE IBullsEye_put_BackStyle_Proxy(
IBullsEye __RPC_FAR * This,
/* [in] */ long style);
void __RPC_STUB IBullsEye_put_BackStyle_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [id][propget] */ HRESULT STDMETHODCALLTYPE IBullsEye_get_BackStyle_Proxy(
IBullsEye __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *style);
void __RPC_STUB IBullsEye_get_BackStyle_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [id][propput] */ HRESULT STDMETHODCALLTYPE IBullsEye_put_ForeColor_Proxy(
IBullsEye __RPC_FAR * This,
/* [in] */ OLE_COLOR clr);
void __RPC_STUB IBullsEye_put_ForeColor_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [id][propget] */ HRESULT STDMETHODCALLTYPE IBullsEye_get_ForeColor_Proxy(
IBullsEye __RPC_FAR * This,
/* [retval][out] */ OLE_COLOR __RPC_FAR *pclr);
void __RPC_STUB IBullsEye_get_ForeColor_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [id][propput] */ HRESULT STDMETHODCALLTYPE IBullsEye_put_Enabled_Proxy(
IBullsEye __RPC_FAR * This,
/* [in] */ VARIANT_BOOL vbool);
void __RPC_STUB IBullsEye_put_Enabled_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [id][propget] */ HRESULT STDMETHODCALLTYPE IBullsEye_get_Enabled_Proxy(
IBullsEye __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbool);
void __RPC_STUB IBullsEye_get_Enabled_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [requestedit][bindable][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IBullsEye_get_AlternateColor_Proxy(
IBullsEye __RPC_FAR * This,
/* [retval][out] */ OLE_COLOR __RPC_FAR *pVal);
void __RPC_STUB IBullsEye_get_AlternateColor_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [requestedit][bindable][helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IBullsEye_put_AlternateColor_Proxy(
IBullsEye __RPC_FAR * This,
/* [in] */ OLE_COLOR newVal);
void __RPC_STUB IBullsEye_put_AlternateColor_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [requestedit][bindable][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IBullsEye_get_Beep_Proxy(
IBullsEye __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
void __RPC_STUB IBullsEye_get_Beep_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [requestedit][bindable][helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IBullsEye_put_Beep_Proxy(
IBullsEye __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
void __RPC_STUB IBullsEye_put_Beep_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [requestedit][bindable][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IBullsEye_get_CenterColor_Proxy(
IBullsEye __RPC_FAR * This,
/* [retval][out] */ OLE_COLOR __RPC_FAR *pVal);
void __RPC_STUB IBullsEye_get_CenterColor_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [requestedit][bindable][helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IBullsEye_put_CenterColor_Proxy(
IBullsEye __RPC_FAR * This,
/* [in] */ OLE_COLOR newVal);
void __RPC_STUB IBullsEye_put_CenterColor_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [requestedit][bindable][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IBullsEye_get_RingCount_Proxy(
IBullsEye __RPC_FAR * This,
/* [retval][out] */ short __RPC_FAR *pVal);
void __RPC_STUB IBullsEye_get_RingCount_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [requestedit][bindable][helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IBullsEye_put_RingCount_Proxy(
IBullsEye __RPC_FAR * This,
/* [in] */ short newVal);
void __RPC_STUB IBullsEye_put_RingCount_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [requestedit][bindable][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IBullsEye_get_RingValue_Proxy(
IBullsEye __RPC_FAR * This,
/* [in] */ short sRingNumber,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IBullsEye_get_RingValue_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [requestedit][bindable][helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IBullsEye_put_RingValue_Proxy(
IBullsEye __RPC_FAR * This,
/* [in] */ short sRingNumber,
/* [in] */ long newVal);
void __RPC_STUB IBullsEye_put_RingValue_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IBullsEye_get_Application_Proxy(
IBullsEye __RPC_FAR * This,
/* [retval][out] */ LPDISPATCH __RPC_FAR *pVal);
void __RPC_STUB IBullsEye_get_Application_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IBullsEye_get_Parent_Proxy(
IBullsEye __RPC_FAR * This,
/* [retval][out] */ LPDISPATCH __RPC_FAR *pVal);
void __RPC_STUB IBullsEye_get_Parent_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IBullsEye_Refresh_Proxy(
IBullsEye __RPC_FAR * This);
void __RPC_STUB IBullsEye_Refresh_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IBullsEye_DoClick_Proxy(
IBullsEye __RPC_FAR * This);
void __RPC_STUB IBullsEye_DoClick_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IBullsEye_AboutBox_Proxy(
IBullsEye __RPC_FAR * This);
void __RPC_STUB IBullsEye_AboutBox_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IBullsEye_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_BullsEyeCtl_0248 */
/* [local] */
#define DISPID_ONRINGHIT ( 1 )
#define DISPID_ONSCORECHANGED ( 2 )
extern RPC_IF_HANDLE __MIDL_itf_BullsEyeCtl_0248_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_BullsEyeCtl_0248_v0_0_s_ifspec;
#ifndef __BullsEyeLib_LIBRARY_DEFINED__
#define __BullsEyeLib_LIBRARY_DEFINED__
/* library BullsEyeLib */
/* [helpstring][version][uuid] */
EXTERN_C const IID LIBID_BullsEyeLib;
#ifndef ___IBullsEyeEvents_DISPINTERFACE_DEFINED__
#define ___IBullsEyeEvents_DISPINTERFACE_DEFINED__
/* dispinterface _IBullsEyeEvents */
/* [helpstring][uuid] */
EXTERN_C const IID DIID__IBullsEyeEvents;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("19FF9872-36ED-11d2-AC05-00A0C9C8E50D")
_IBullsEyeEvents : public IDispatch
{
};
#else /* C style interface */
typedef struct _IBullsEyeEventsVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
_IBullsEyeEvents __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
_IBullsEyeEvents __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
_IBullsEyeEvents __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
_IBullsEyeEvents __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
_IBullsEyeEvents __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
_IBullsEyeEvents __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 )(
_IBullsEyeEvents __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);
END_INTERFACE
} _IBullsEyeEventsVtbl;
interface _IBullsEyeEvents
{
CONST_VTBL struct _IBullsEyeEventsVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define _IBullsEyeEvents_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define _IBullsEyeEvents_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define _IBullsEyeEvents_Release(This) \
(This)->lpVtbl -> Release(This)
#define _IBullsEyeEvents_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define _IBullsEyeEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define _IBullsEyeEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define _IBullsEyeEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* ___IBullsEyeEvents_DISPINTERFACE_DEFINED__ */
EXTERN_C const CLSID CLSID_BullsEye;
#ifdef __cplusplus
class DECLSPEC_UUID("7DC59CC5-36C0-11D2-AC05-00A0C9C8E50D")
BullsEye;
#endif
EXTERN_C const CLSID CLSID_BullsEyePropPage;
#ifdef __cplusplus
class DECLSPEC_UUID("7DC59CC8-36C0-11D2-AC05-00A0C9C8E50D")
BullsEyePropPage;
#endif
#endif /* __BullsEyeLib_LIBRARY_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?