ReactOS  0.4.14-dev-384-g5b37caa
IPicture Interface Reference

import"ocidl.idl";

Inheritance diagram for IPicture:
Collaboration diagram for IPicture:

Public Types

enum  tagPicture { PICTURE_SCALABLE = 0x1, PICTURE_TRANSPARENT = 0x2 }
 
typedef IPictureLPPICTURE
 
typedef enum IPicture::tagPicture PICTUREATTRIBUTES
 
typedef UINT OLE_HANDLE
 
typedef LONG OLE_XPOS_HIMETRIC
 
typedef LONG OLE_YPOS_HIMETRIC
 
typedef LONG OLE_XSIZE_HIMETRIC
 
typedef LONG OLE_YSIZE_HIMETRIC
 
- Public Types inherited from IUnknown
typedef IUnknownLPUNKNOWN
 

Public Member Functions

HRESULT Render ([in] HDC hdc, [in] LONG x, [in] LONG y, [in] LONG cx, [in] LONG cy, [in] OLE_XPOS_HIMETRIC xSrc, [in] OLE_YPOS_HIMETRIC ySrc, [in] OLE_XSIZE_HIMETRIC cxSrc, [in] OLE_YSIZE_HIMETRIC cySrc, [in] LPCRECT pRcWBounds)
 
HRESULT set_hPal ([in] OLE_HANDLE hPal)
 
HRESULT SelectPicture ([in] HDC hDCIn, [out] HDC *phDCOut, [out] OLE_HANDLE *phBmpOut)
 
HRESULT PictureChanged ()
 
HRESULT SaveAsFile ([in] LPSTREAM pStream, [in] BOOL fSaveMemCopy, [out] LONG *pCbSize)
 
- Public Member Functions inherited from IUnknown
HRESULT QueryInterface ([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
 
ULONG AddRef ()
 
ULONG Release ()
 

Properties

OLE_HANDLE Handle [get]
 
OLE_HANDLE hPal [get]
 
SHORT Type [get]
 
OLE_XSIZE_HIMETRIC Width [get]
 
OLE_YSIZE_HIMETRIC Height [get]
 
HDC CurDC [get]
 
BOOL KeepOriginalFormat [get, set]
 
DWORD Attributes [get]
 

Detailed Description

Definition at line 143 of file ocidl.idl.

Member Typedef Documentation

◆ LPPICTURE

Definition at line 145 of file ocidl.idl.

◆ OLE_HANDLE

Definition at line 153 of file ocidl.idl.

◆ OLE_XPOS_HIMETRIC

Definition at line 154 of file ocidl.idl.

◆ OLE_XSIZE_HIMETRIC

Definition at line 156 of file ocidl.idl.

◆ OLE_YPOS_HIMETRIC

Definition at line 155 of file ocidl.idl.

◆ OLE_YSIZE_HIMETRIC

Definition at line 157 of file ocidl.idl.

◆ PICTUREATTRIBUTES

Member Enumeration Documentation

◆ tagPicture

Enumerator
PICTURE_SCALABLE 
PICTURE_TRANSPARENT 

Definition at line 147 of file ocidl.idl.

148  {
149  PICTURE_SCALABLE = 0x1,
150  PICTURE_TRANSPARENT = 0x2
enum IPicture::tagPicture PICTUREATTRIBUTES

Member Function Documentation

◆ PictureChanged()

HRESULT IPicture::PictureChanged ( )

◆ Render()

HRESULT IPicture::Render ( [in] HDC  hdc,
[in] LONG  x,
[in] LONG  y,
[in] LONG  cx,
[in] LONG  cy,
[in] OLE_XPOS_HIMETRIC  xSrc,
[in] OLE_YPOS_HIMETRIC  ySrc,
[in] OLE_XSIZE_HIMETRIC  cxSrc,
[in] OLE_YSIZE_HIMETRIC  cySrc,
[in] LPCRECT  pRcWBounds 
)

◆ SaveAsFile()

HRESULT IPicture::SaveAsFile ( [in] LPSTREAM  pStream,
[in] BOOL  fSaveMemCopy,
[out] LONG pCbSize 
)

◆ SelectPicture()

HRESULT IPicture::SelectPicture ( [in] HDC  hDCIn,
[out] HDC phDCOut,
[out] OLE_HANDLE phBmpOut 
)

◆ set_hPal()

HRESULT IPicture::set_hPal ( [in] OLE_HANDLE  hPal)

Property Documentation

◆ Attributes

DWORD IPicture::Attributes
get

◆ CurDC

HDC IPicture::CurDC
get

◆ Handle

OLE_HANDLE IPicture::Handle
get

◆ Height

OLE_YSIZE_HIMETRIC IPicture::Height
get

◆ hPal

OLE_HANDLE IPicture::hPal
get

◆ KeepOriginalFormat

BOOL IPicture::KeepOriginalFormat
getset

◆ Type

SHORT IPicture::Type
get

◆ Width

OLE_XSIZE_HIMETRIC IPicture::Width
get

The documentation for this interface was generated from the following file: