polygon.h
来自「几个关于网络编程的程序」· C头文件 代码 · 共 423 行
H
423 行
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 5.01.0164 */
/* at Sat May 29 20:06:36 1999
*/
/* Compiler settings for E:\practice\POLYGON\Polygon.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 __Polygon_h__
#define __Polygon_h__
#ifdef __cplusplus
extern "C"{
#endif
/* Forward Declarations */
#ifndef __IPolyCtl_FWD_DEFINED__
#define __IPolyCtl_FWD_DEFINED__
typedef interface IPolyCtl IPolyCtl;
#endif /* __IPolyCtl_FWD_DEFINED__ */
#ifndef ___IPolyCtlEvents_FWD_DEFINED__
#define ___IPolyCtlEvents_FWD_DEFINED__
typedef interface _IPolyCtlEvents _IPolyCtlEvents;
#endif /* ___IPolyCtlEvents_FWD_DEFINED__ */
#ifndef __PolyCtl_FWD_DEFINED__
#define __PolyCtl_FWD_DEFINED__
#ifdef __cplusplus
typedef class PolyCtl PolyCtl;
#else
typedef struct PolyCtl PolyCtl;
#endif /* __cplusplus */
#endif /* __PolyCtl_FWD_DEFINED__ */
#ifndef __PolyProp_FWD_DEFINED__
#define __PolyProp_FWD_DEFINED__
#ifdef __cplusplus
typedef class PolyProp PolyProp;
#else
typedef struct PolyProp PolyProp;
#endif /* __cplusplus */
#endif /* __PolyProp_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 __IPolyCtl_INTERFACE_DEFINED__
#define __IPolyCtl_INTERFACE_DEFINED__
/* interface IPolyCtl */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_IPolyCtl;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("2885EE04-A26B-11D1-B49B-00C04F98EFE0")
IPolyCtl : public IDispatch
{
public:
virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_FillColor(
/* [in] */ OLE_COLOR clr) = 0;
virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_FillColor(
/* [retval][out] */ OLE_COLOR __RPC_FAR *pclr) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Sides(
/* [retval][out] */ short __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Sides(
/* [in] */ short newVal) = 0;
};
#else /* C style interface */
typedef struct IPolyCtlVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPolyCtl __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPolyCtl __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPolyCtl __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
IPolyCtl __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
IPolyCtl __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
IPolyCtl __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 )(
IPolyCtl __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);
/* [id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_FillColor )(
IPolyCtl __RPC_FAR * This,
/* [in] */ OLE_COLOR clr);
/* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_FillColor )(
IPolyCtl __RPC_FAR * This,
/* [retval][out] */ OLE_COLOR __RPC_FAR *pclr);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Sides )(
IPolyCtl __RPC_FAR * This,
/* [retval][out] */ short __RPC_FAR *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Sides )(
IPolyCtl __RPC_FAR * This,
/* [in] */ short newVal);
END_INTERFACE
} IPolyCtlVtbl;
interface IPolyCtl
{
CONST_VTBL struct IPolyCtlVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPolyCtl_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPolyCtl_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPolyCtl_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPolyCtl_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IPolyCtl_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IPolyCtl_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IPolyCtl_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#define IPolyCtl_put_FillColor(This,clr) \
(This)->lpVtbl -> put_FillColor(This,clr)
#define IPolyCtl_get_FillColor(This,pclr) \
(This)->lpVtbl -> get_FillColor(This,pclr)
#define IPolyCtl_get_Sides(This,pVal) \
(This)->lpVtbl -> get_Sides(This,pVal)
#define IPolyCtl_put_Sides(This,newVal) \
(This)->lpVtbl -> put_Sides(This,newVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [id][propput] */ HRESULT STDMETHODCALLTYPE IPolyCtl_put_FillColor_Proxy(
IPolyCtl __RPC_FAR * This,
/* [in] */ OLE_COLOR clr);
void __RPC_STUB IPolyCtl_put_FillColor_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [id][propget] */ HRESULT STDMETHODCALLTYPE IPolyCtl_get_FillColor_Proxy(
IPolyCtl __RPC_FAR * This,
/* [retval][out] */ OLE_COLOR __RPC_FAR *pclr);
void __RPC_STUB IPolyCtl_get_FillColor_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPolyCtl_get_Sides_Proxy(
IPolyCtl __RPC_FAR * This,
/* [retval][out] */ short __RPC_FAR *pVal);
void __RPC_STUB IPolyCtl_get_Sides_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IPolyCtl_put_Sides_Proxy(
IPolyCtl __RPC_FAR * This,
/* [in] */ short newVal);
void __RPC_STUB IPolyCtl_put_Sides_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPolyCtl_INTERFACE_DEFINED__ */
#ifndef __POLYGONLib_LIBRARY_DEFINED__
#define __POLYGONLib_LIBRARY_DEFINED__
/* library POLYGONLib */
/* [helpstring][version][uuid] */
EXTERN_C const IID LIBID_POLYGONLib;
#ifndef ___IPolyCtlEvents_DISPINTERFACE_DEFINED__
#define ___IPolyCtlEvents_DISPINTERFACE_DEFINED__
/* dispinterface _IPolyCtlEvents */
/* [helpstring][uuid] */
EXTERN_C const IID DIID__IPolyCtlEvents;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("2885EE06-A26B-11D1-B49B-00C04F98EFE0")
_IPolyCtlEvents : public IDispatch
{
};
#else /* C style interface */
typedef struct _IPolyCtlEventsVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
_IPolyCtlEvents __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
_IPolyCtlEvents __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
_IPolyCtlEvents __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
_IPolyCtlEvents __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
_IPolyCtlEvents __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
_IPolyCtlEvents __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 )(
_IPolyCtlEvents __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
} _IPolyCtlEventsVtbl;
interface _IPolyCtlEvents
{
CONST_VTBL struct _IPolyCtlEventsVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define _IPolyCtlEvents_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define _IPolyCtlEvents_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define _IPolyCtlEvents_Release(This) \
(This)->lpVtbl -> Release(This)
#define _IPolyCtlEvents_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define _IPolyCtlEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define _IPolyCtlEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define _IPolyCtlEvents_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 /* ___IPolyCtlEvents_DISPINTERFACE_DEFINED__ */
EXTERN_C const CLSID CLSID_PolyCtl;
#ifdef __cplusplus
class DECLSPEC_UUID("2885EE05-A26B-11D1-B49B-00C04F98EFE0")
PolyCtl;
#endif
EXTERN_C const CLSID CLSID_PolyProp;
#ifdef __cplusplus
class DECLSPEC_UUID("2885EE07-A26B-11D1-B49B-00C04F98EFE0")
PolyProp;
#endif
#endif /* __POLYGONLib_LIBRARY_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?