📄 picture.h
字号:
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IPixels_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IPixels_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#define IPixels_get__NewEnum(This,pVal) \
(This)->lpVtbl -> get__NewEnum(This,pVal)
#define IPixels_get_Count(This,pVal) \
(This)->lpVtbl -> get_Count(This,pVal)
#define IPixels_get_Color(This,x,y,pVal) \
(This)->lpVtbl -> get_Color(This,x,y,pVal)
#define IPixels_put_Color(This,x,y,newVal) \
(This)->lpVtbl -> put_Color(This,x,y,newVal)
#define IPixels_get_Pixel(This,x,y,pVal) \
(This)->lpVtbl -> get_Pixel(This,x,y,pVal)
#define IPixels_put_Pixel(This,x,y,newVal) \
(This)->lpVtbl -> put_Pixel(This,x,y,newVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPixels_get__NewEnum_Proxy(
IPixels * This,
/* [retval][out] */ IUnknown **pVal);
void __RPC_STUB IPixels_get__NewEnum_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPixels_get_Count_Proxy(
IPixels * This,
/* [retval][out] */ long *pVal);
void __RPC_STUB IPixels_get_Count_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPixels_get_Color_Proxy(
IPixels * This,
long x,
long y,
/* [retval][out] */ baseColors *pVal);
void __RPC_STUB IPixels_get_Color_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IPixels_put_Color_Proxy(
IPixels * This,
long x,
long y,
/* [in] */ baseColors newVal);
void __RPC_STUB IPixels_put_Color_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPixels_get_Pixel_Proxy(
IPixels * This,
long x,
long y,
/* [retval][out] */ IPixel **pVal);
void __RPC_STUB IPixels_get_Pixel_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IPixels_put_Pixel_Proxy(
IPixels * This,
long x,
long y,
/* [in] */ IPixel *newVal);
void __RPC_STUB IPixels_put_Pixel_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPixels_INTERFACE_DEFINED__ */
#ifndef __IBitmap_INTERFACE_DEFINED__
#define __IBitmap_INTERFACE_DEFINED__
/* interface IBitmap */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_IBitmap;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("EEE01524-1CFB-4C2B-8AA3-87B5977F6FB4")
IBitmap : public IDispatch
{
public:
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Width(
/* [retval][out] */ long *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Width(
/* [in] */ long newVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Height(
/* [retval][out] */ long *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Height(
/* [in] */ long newVal) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetPoints(
/* [in] */ VARIANT vPoints) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SaveToStream(
/* [in] */ IStream *pStream) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SaveToFile(
/* [optional][in] */ VARIANT vbstrFileName,
/* [optional][in] */ VARIANT vhWndParentWindow) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SaveToIIS4Response(
VARIANT vResponse) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AutoSize(
/* [retval][out] */ VARIANT_BOOL *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AutoSize(
/* [in] */ VARIANT_BOOL newVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Pixels(
/* [retval][out] */ IPixels **pVal) = 0;
};
#else /* C style interface */
typedef struct IBitmapVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IBitmap * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IBitmap * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IBitmap * This);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
IBitmap * This,
/* [out] */ UINT *pctinfo);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
IBitmap * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo **ppTInfo);
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
IBitmap * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
IBitmap * 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_Width )(
IBitmap * This,
/* [retval][out] */ long *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Width )(
IBitmap * This,
/* [in] */ long newVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Height )(
IBitmap * This,
/* [retval][out] */ long *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Height )(
IBitmap * This,
/* [in] */ long newVal);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetPoints )(
IBitmap * This,
/* [in] */ VARIANT vPoints);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SaveToStream )(
IBitmap * This,
/* [in] */ IStream *pStream);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SaveToFile )(
IBitmap * This,
/* [optional][in] */ VARIANT vbstrFileName,
/* [optional][in] */ VARIANT vhWndParentWindow);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SaveToIIS4Response )(
IBitmap * This,
VARIANT vResponse);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AutoSize )(
IBitmap * This,
/* [retval][out] */ VARIANT_BOOL *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AutoSize )(
IBitmap * This,
/* [in] */ VARIANT_BOOL newVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Pixels )(
IBitmap * This,
/* [retval][out] */ IPixels **pVal);
END_INTERFACE
} IBitmapVtbl;
interface IBitmap
{
CONST_VTBL struct IBitmapVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IBitmap_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IBitmap_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IBitmap_Release(This) \
(This)->lpVtbl -> Release(This)
#define IBitmap_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IBitmap_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IBitmap_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IBitmap_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#define IBitmap_get_Width(This,pVal) \
(This)->lpVtbl -> get_Width(This,pVal)
#define IBitmap_put_Width(This,newVal) \
(This)->lpVtbl -> put_Width(This,newVal)
#define IBitmap_get_Height(This,pVal) \
(This)->lpVtbl -> get_Height(This,pVal)
#define IBitmap_put_Height(This,newVal) \
(This)->lpVtbl -> put_Height(This,newVal)
#define IBitmap_SetPoints(This,vPoints) \
(This)->lpVtbl -> SetPoints(This,vPoints)
#define IBitmap_SaveToStream(This,pStream) \
(This)->lpVtbl -> SaveToStream(This,pStream)
#define IBitmap_SaveToFile(This,vbstrFileName,vhWndParentWindow) \
(This)->lpVtbl -> SaveToFile(This,vbstrFileName,vhWndParentWindow)
#define IBitmap_SaveToIIS4Response(This,vResponse) \
(This)->lpVtbl -> SaveToIIS4Response(This,vResponse)
#define IBitmap_get_AutoSize(This,pVal) \
(This)->lpVtbl -> get_AutoSize(This,pVal)
#define IBitmap_put_AutoSize(This,newVal) \
(This)->lpVtbl -> put_AutoSize(This,newVal)
#define IBitmap_get_Pixels(This,pVal) \
(This)->lpVtbl -> get_Pixels(This,pVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IBitmap_get_Width_Proxy(
IBitmap * This,
/* [retval][out] */ long *pVal);
void __RPC_STUB IBitmap_get_Width_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IBitmap_put_Width_Proxy(
IBitmap * This,
/* [in] */ long newVal);
void __RPC_STUB IBitmap_put_Width_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IBitmap_get_Height_Proxy(
IBitmap * This,
/* [retval][out] */ long *pVal);
void __RPC_STUB IBitmap_get_Height_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IBitmap_put_Height_Proxy(
IBitmap * This,
/* [in] */ long newVal);
void __RPC_STUB IBitmap_put_Height_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IBitmap_SetPoints_Proxy(
IBitmap * This,
/* [in] */ VARIANT vPoints);
void __RPC_STUB IBitmap_SetPoints_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IBitmap_SaveToStream_Proxy(
IBitmap * This,
/* [in] */ IStream *pStream);
void __RPC_STUB IBitmap_SaveToStream_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IBitmap_SaveToFile_Proxy(
IBitmap * This,
/* [optional][in] */ VARIANT vbstrFileName,
/* [optional][in] */ VARIANT vhWndParentWindow);
void __RPC_STUB IBitmap_SaveToFile_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IBitmap_SaveToIIS4Response_Proxy(
IBitmap * This,
VARIANT vResponse);
void __RPC_STUB IBitmap_SaveToIIS4Response_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IBitmap_get_AutoSize_Proxy(
IBitmap * This,
/* [retval][out] */ VARIANT_BOOL *pVal);
void __RPC_STUB IBitmap_get_AutoSize_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IBitmap_put_AutoSize_Proxy(
IBitmap * This,
/* [in] */ VARIANT_BOOL newVal);
void __RPC_STUB IBitmap_put_AutoSize_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IBitmap_get_Pixels_Proxy(
IBitmap * This,
/* [retval][out] */ IPixels **pVal);
void __RPC_STUB IBitmap_get_Pixels_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IBitmap_INTERFACE_DEFINED__ */
#ifndef __PICTURELib_LIBRARY_DEFINED__
#define __PICTURELib_LIBRARY_DEFINED__
/* library PICTURELib */
/* [helpstring][version][uuid] */
EXTERN_C const IID LIBID_PICTURELib;
EXTERN_C const CLSID CLSID_Pixel;
#ifdef __cplusplus
class DECLSPEC_UUID("650FC1F7-14FC-4A33-836E-C43EF3FBA4FF")
Pixel;
#endif
EXTERN_C const CLSID CLSID_Bitmap;
#ifdef __cplusplus
class DECLSPEC_UUID("42B421A8-FF37-4143-A444-11C210C40D6F")
Bitmap;
#endif
#endif /* __PICTURELib_LIBRARY_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -