📄 picture.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 Wed Feb 13 05:17:14 2002
*/
/* Compiler settings for F:\第八章\ASPComponent\Picture\Picture.idl:
Oicf, 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 __Picture_h__
#define __Picture_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifndef __IPixel_FWD_DEFINED__
#define __IPixel_FWD_DEFINED__
typedef interface IPixel IPixel;
#endif /* __IPixel_FWD_DEFINED__ */
#ifndef __IPixels_FWD_DEFINED__
#define __IPixels_FWD_DEFINED__
typedef interface IPixels IPixels;
#endif /* __IPixels_FWD_DEFINED__ */
#ifndef __IBitmap_FWD_DEFINED__
#define __IBitmap_FWD_DEFINED__
typedef interface IBitmap IBitmap;
#endif /* __IBitmap_FWD_DEFINED__ */
#ifndef __Pixel_FWD_DEFINED__
#define __Pixel_FWD_DEFINED__
#ifdef __cplusplus
typedef class Pixel Pixel;
#else
typedef struct Pixel Pixel;
#endif /* __cplusplus */
#endif /* __Pixel_FWD_DEFINED__ */
#ifndef __Bitmap_FWD_DEFINED__
#define __Bitmap_FWD_DEFINED__
#ifdef __cplusplus
typedef class Bitmap Bitmap;
#else
typedef struct Bitmap Bitmap;
#endif /* __cplusplus */
#endif /* __Bitmap_FWD_DEFINED__ */
/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"
#ifdef __cplusplus
extern "C"{
#endif
void * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void * );
/* interface __MIDL_itf_Picture_0000 */
/* [local] */
typedef /* [public][public][public][public][public][helpstring] */
enum __MIDL___MIDL_itf_Picture_0000_0001
{ Black = 0,
DarkRed = 1,
DarkGreen = 2,
DarkYellow = 3,
DarkBlue = 4,
DarkMagenta = 5,
DarkCyan = 6,
DarkGray = 7,
LightGray = 8,
Red = 9,
Green = 10,
Yellow = 11,
Blue = 12,
Magenta = 13,
Cyan = 14,
White = 15
} baseColors;
extern RPC_IF_HANDLE __MIDL_itf_Picture_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_Picture_0000_v0_0_s_ifspec;
#ifndef __IPixel_INTERFACE_DEFINED__
#define __IPixel_INTERFACE_DEFINED__
/* interface IPixel */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_IPixel;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("3F84D881-9AB2-425A-8938-A3CCC7BB0465")
IPixel : public IDispatch
{
public:
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Color(
/* [retval][out] */ baseColors *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Color(
/* [in] */ baseColors newVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Row(
/* [retval][out] */ long *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Row(
/* [in] */ long newVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Column(
/* [retval][out] */ long *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Column(
/* [in] */ long newVal) = 0;
};
#else /* C style interface */
typedef struct IPixelVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IPixel * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IPixel * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IPixel * This);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
IPixel * This,
/* [out] */ UINT *pctinfo);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
IPixel * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo **ppTInfo);
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
IPixel * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
IPixel * 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_Color )(
IPixel * This,
/* [retval][out] */ baseColors *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Color )(
IPixel * This,
/* [in] */ baseColors newVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Row )(
IPixel * This,
/* [retval][out] */ long *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Row )(
IPixel * This,
/* [in] */ long newVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Column )(
IPixel * This,
/* [retval][out] */ long *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Column )(
IPixel * This,
/* [in] */ long newVal);
END_INTERFACE
} IPixelVtbl;
interface IPixel
{
CONST_VTBL struct IPixelVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IPixel_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPixel_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPixel_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPixel_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IPixel_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IPixel_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IPixel_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#define IPixel_get_Color(This,pVal) \
(This)->lpVtbl -> get_Color(This,pVal)
#define IPixel_put_Color(This,newVal) \
(This)->lpVtbl -> put_Color(This,newVal)
#define IPixel_get_Row(This,pVal) \
(This)->lpVtbl -> get_Row(This,pVal)
#define IPixel_put_Row(This,newVal) \
(This)->lpVtbl -> put_Row(This,newVal)
#define IPixel_get_Column(This,pVal) \
(This)->lpVtbl -> get_Column(This,pVal)
#define IPixel_put_Column(This,newVal) \
(This)->lpVtbl -> put_Column(This,newVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPixel_get_Color_Proxy(
IPixel * This,
/* [retval][out] */ baseColors *pVal);
void __RPC_STUB IPixel_get_Color_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IPixel_put_Color_Proxy(
IPixel * This,
/* [in] */ baseColors newVal);
void __RPC_STUB IPixel_put_Color_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPixel_get_Row_Proxy(
IPixel * This,
/* [retval][out] */ long *pVal);
void __RPC_STUB IPixel_get_Row_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IPixel_put_Row_Proxy(
IPixel * This,
/* [in] */ long newVal);
void __RPC_STUB IPixel_put_Row_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPixel_get_Column_Proxy(
IPixel * This,
/* [retval][out] */ long *pVal);
void __RPC_STUB IPixel_get_Column_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IPixel_put_Column_Proxy(
IPixel * This,
/* [in] */ long newVal);
void __RPC_STUB IPixel_put_Column_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPixel_INTERFACE_DEFINED__ */
#ifndef __IPixels_INTERFACE_DEFINED__
#define __IPixels_INTERFACE_DEFINED__
/* interface IPixels */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_IPixels;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("2700E477-FDD4-4493-9529-D359B09DEF63")
IPixels : public IDispatch
{
public:
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
/* [retval][out] */ IUnknown **pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
/* [retval][out] */ long *pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Color(
long x,
long y,
/* [retval][out] */ baseColors *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Color(
long x,
long y,
/* [in] */ baseColors newVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Pixel(
long x,
long y,
/* [retval][out] */ IPixel **pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Pixel(
long x,
long y,
/* [in] */ IPixel *newVal) = 0;
};
#else /* C style interface */
typedef struct IPixelsVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IPixels * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IPixels * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IPixels * This);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
IPixels * This,
/* [out] */ UINT *pctinfo);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
IPixels * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo **ppTInfo);
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
IPixels * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
IPixels * 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__NewEnum )(
IPixels * This,
/* [retval][out] */ IUnknown **pVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
IPixels * This,
/* [retval][out] */ long *pVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Color )(
IPixels * This,
long x,
long y,
/* [retval][out] */ baseColors *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Color )(
IPixels * This,
long x,
long y,
/* [in] */ baseColors newVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Pixel )(
IPixels * This,
long x,
long y,
/* [retval][out] */ IPixel **pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Pixel )(
IPixels * This,
long x,
long y,
/* [in] */ IPixel *newVal);
END_INTERFACE
} IPixelsVtbl;
interface IPixels
{
CONST_VTBL struct IPixelsVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IPixels_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPixels_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPixels_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPixels_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IPixels_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -