?? colorwnd.h
字號(hào):
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 5.01.0164 */
/* at Fri Nov 24 10:01:16 2000
*/
/* Compiler settings for E:\MyWork\VCwork\TestClr\ColorWindow.odl:
Os (OptLev=s), 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 __ColorWnd_h__
#define __ColorWnd_h__
const IID IID_IColorPalette =
{ 0x639c9762, 0xb6f0, 0x11d4, { 0x93, 0x9e, 0x0, 0x0, 0x21, 0x0, 0xf, 0x45 } };
const CLSID CLSID_ColorPalette =
{0x639c9763, 0xb6f0, 0x11d4, {0x93, 0x9e, 0x0, 0x0, 0x21, 0x0, 0xf, 0x45} };
#ifdef __cplusplus
extern "C"{
#endif
/* Forward Declarations */
#ifndef __IColorPalette_FWD_DEFINED__
#define __IColorPalette_FWD_DEFINED__
typedef interface IColorPalette IColorPalette;
#endif /* __IColorPalette_FWD_DEFINED__ */
#ifndef __ColorPalette_FWD_DEFINED__
#define __ColorPalette_FWD_DEFINED__
#ifdef __cplusplus
typedef class ColorPalette ColorPalette;
#else
typedef struct ColorPalette ColorPalette;
#endif /* __cplusplus */
#endif /* __ColorPalette_FWD_DEFINED__ */
void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void __RPC_FAR * );
#ifndef __ColorWindow_LIBRARY_DEFINED__
#define __ColorWindow_LIBRARY_DEFINED__
/* library ColorWindow */
/* [version][uuid] */
DEFINE_GUID(LIBID_ColorWindow,0x639C9756,0xB6F0,0x11D4,0x93,0x9E,0x00,0x00,0x21,0x00,0x0F,0x45);
#ifndef __IColorPalette_DISPINTERFACE_DEFINED__
#define __IColorPalette_DISPINTERFACE_DEFINED__
/* dispinterface IColorPalette */
/* [uuid] */
DEFINE_GUID(DIID_IColorPalette,0x639C9762,0xB6F0,0x11D4,0x93,0x9E,0x00,0x00,0x21,0x00,0x0F,0x45);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("639C9762-B6F0-11D4-939E-000021000F45")
IColorPalette : public IDispatch
{
HRESULT CreatePalette(OLE_HANDLE hOwner);
HRESULT ClosePalette();
HRESULT ShowPalette(BOOL bVisible);
HRESULT SetClrType(int nType);
HRESULT SetPenColor(OLE_COLOR clrPen);
HRESULT SetFillColor(OLE_COLOR clrFill);
HRESULT SetTextColor(OLE_COLOR clrText);
HRESULT SetWinColor(OLE_COLOR clrWin);
HRESULT SetTransColor(OLE_COLOR clrTrans);
HRESULT GetPenColor(OLE_COLOR FAR* pClrPen);
HRESULT GetFillColor(OLE_COLOR FAR* pClrFill);
HRESULT GetTextColor(OLE_COLOR FAR* pClrText);
HRESULT GetWinColor(OLE_COLOR FAR* pClrWin);
HRESULT GetTransColor(OLE_COLOR FAR* pClrTrans);
HRESULT PopupWindow(OLE_HANDLE hOwner, short nLeft, short nTop,OLE_COLOR* pClrResult);
HRESULT SetBkgColor(OLE_COLOR clrBkg);
HRESULT GetBkgColor(OLE_COLOR FAR* pClrBkg);
};
#else /* C style interface */
typedef struct IColorPaletteVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IColorPalette __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
UHRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IColorPalette __RPC_FAR * This);
UHRESULT ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IColorPalette __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
IColorPalette __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
IColorPalette __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
IColorPalette __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 )(
IColorPalette __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
} IColorPaletteVtbl;
interface IColorPalette
{
CONST_VTBL struct IColorPaletteVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IColorPalette_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IColorPalette_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IColorPalette_Release(This) \
(This)->lpVtbl -> Release(This)
#define IColorPalette_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IColorPalette_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IColorPalette_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IColorPalette_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 /* __IColorPalette_DISPINTERFACE_DEFINED__ */
DEFINE_GUID(CLSID_ColorPalette,0x639C9763,0xB6F0,0x11D4,0x93,0x9E,0x00,0x00,0x21,0x00,0x0F,0x45);
#ifdef __cplusplus
class DECLSPEC_UUID("639C9763-B6F0-11D4-939E-000021000F45")
ColorPalette;
#endif
#endif /* __ColorWindow_LIBRARY_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -