ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

olepicture.c File Reference
#include "config.h"
#include "wine/port.h"
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include "winerror.h"
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "ole2.h"
#include "olectl.h"
#include "oleauto.h"
#include "connpt.h"
#include "urlmon.h"
#include "wincodec.h"
#include "wine/debug.h"
#include "wine/unicode.h"
#include "wine/library.h"
#include "pshpack1.h"
#include "poppack.h"

Go to the source code of this file.

Data Structures

struct  APM_HEADER
struct  CURSORICONFILEDIRENTRY
struct  CURSORICONFILEDIR
struct  OLEPictureImpl
struct  IClassFactoryImpl

Defines

#define COBJMACROS
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#define BITMAP_FORMAT_BMP   0x4d42 /* "BM" */
#define BITMAP_FORMAT_JPEG   0xd8ff
#define BITMAP_FORMAT_GIF   0x4947
#define BITMAP_FORMAT_PNG   0x5089
#define BITMAP_FORMAT_APM   0xcdd7

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (ole)
static OLEPictureImplimpl_from_IDispatch (IDispatch *iface)
static OLEPictureImplimpl_from_IPersistStream (IPersistStream *iface)
static OLEPictureImplimpl_from_IConnectionPointContainer (IConnectionPointContainer *iface)
static void OLEPictureImpl_SetBitmap (OLEPictureImpl *This)
static void OLEPictureImpl_SetIcon (OLEPictureImpl *This)
static OLEPictureImplOLEPictureImpl_Construct (LPPICTDESC pictDesc, BOOL fOwn)
static void OLEPictureImpl_Destroy (OLEPictureImpl *Obj)
static ULONG WINAPI OLEPictureImpl_AddRef (IPicture *iface)
static ULONG WINAPI OLEPictureImpl_Release (IPicture *iface)
static HRESULT WINAPI OLEPictureImpl_QueryInterface (IPicture *iface, REFIID riid, void **ppvObject)
static void OLEPicture_SendNotify (OLEPictureImpl *this, DISPID dispID)
static HRESULT WINAPI OLEPictureImpl_get_Handle (IPicture *iface, OLE_HANDLE *phandle)
static HRESULT WINAPI OLEPictureImpl_get_hPal (IPicture *iface, OLE_HANDLE *phandle)
static HRESULT WINAPI OLEPictureImpl_get_Type (IPicture *iface, short *ptype)
static HRESULT WINAPI OLEPictureImpl_get_Width (IPicture *iface, OLE_XSIZE_HIMETRIC *pwidth)
static HRESULT WINAPI OLEPictureImpl_get_Height (IPicture *iface, OLE_YSIZE_HIMETRIC *pheight)
static HRESULT WINAPI OLEPictureImpl_Render (IPicture *iface, HDC hdc, LONG x, LONG y, LONG cx, LONG cy, OLE_XPOS_HIMETRIC xSrc, OLE_YPOS_HIMETRIC ySrc, OLE_XSIZE_HIMETRIC cxSrc, OLE_YSIZE_HIMETRIC cySrc, LPCRECT prcWBounds)
static HRESULT WINAPI OLEPictureImpl_set_hPal (IPicture *iface, OLE_HANDLE hpal)
static HRESULT WINAPI OLEPictureImpl_get_CurDC (IPicture *iface, HDC *phdc)
static HRESULT WINAPI OLEPictureImpl_SelectPicture (IPicture *iface, HDC hdcIn, HDC *phdcOut, OLE_HANDLE *phbmpOut)
static HRESULT WINAPI OLEPictureImpl_get_KeepOriginalFormat (IPicture *iface, BOOL *pfKeep)
static HRESULT WINAPI OLEPictureImpl_put_KeepOriginalFormat (IPicture *iface, BOOL keep)
static HRESULT WINAPI OLEPictureImpl_PictureChanged (IPicture *iface)
static HRESULT WINAPI OLEPictureImpl_SaveAsFile (IPicture *iface, IStream *pstream, BOOL SaveMemCopy, LONG *pcbSize)
static HRESULT WINAPI OLEPictureImpl_get_Attributes (IPicture *iface, DWORD *pdwAttr)
static HRESULT WINAPI OLEPictureImpl_IConnectionPointContainer_QueryInterface (IConnectionPointContainer *iface, REFIID riid, VOID **ppvoid)
static ULONG WINAPI OLEPictureImpl_IConnectionPointContainer_AddRef (IConnectionPointContainer *iface)
static ULONG WINAPI OLEPictureImpl_IConnectionPointContainer_Release (IConnectionPointContainer *iface)
static HRESULT WINAPI OLEPictureImpl_EnumConnectionPoints (IConnectionPointContainer *iface, IEnumConnectionPoints **ppEnum)
static HRESULT WINAPI OLEPictureImpl_FindConnectionPoint (IConnectionPointContainer *iface, REFIID riid, IConnectionPoint **ppCP)
static HRESULT WINAPI OLEPictureImpl_IPersistStream_QueryInterface (IPersistStream *iface, REFIID riid, VOID **ppvoid)
static ULONG WINAPI OLEPictureImpl_IPersistStream_AddRef (IPersistStream *iface)
static ULONG WINAPI OLEPictureImpl_IPersistStream_Release (IPersistStream *iface)
static HRESULT WINAPI OLEPictureImpl_GetClassID (IPersistStream *iface, CLSID *pClassID)
static HRESULT WINAPI OLEPictureImpl_IsDirty (IPersistStream *iface)
static HRESULT OLEPictureImpl_LoadDIB (OLEPictureImpl *This, BYTE *xbuf, ULONG xread)
static HRESULT OLEPictureImpl_LoadWICSource (OLEPictureImpl *This, IWICBitmapSource *src)
static HRESULT OLEPictureImpl_LoadWICDecoder (OLEPictureImpl *This, REFCLSID decoder_clsid, BYTE *xbuf, ULONG xread)
static HRESULT OLEPictureImpl_LoadIcon (OLEPictureImpl *This, BYTE *xbuf, ULONG xread)
static HRESULT OLEPictureImpl_LoadEnhMetafile (OLEPictureImpl *This, const BYTE *data, ULONG size)
static HRESULT OLEPictureImpl_LoadAPM (OLEPictureImpl *This, const BYTE *data, ULONG size)
static HRESULT WINAPI OLEPictureImpl_Load (IPersistStream *iface, IStream *pStm)
static int serializeBMP (HBITMAP hBitmap, void **ppBuffer, unsigned int *pLength)
static int serializeIcon (HICON hIcon, void **ppBuffer, unsigned int *pLength)
static HRESULT WINAPI OLEPictureImpl_Save (IPersistStream *iface, IStream *pStm, BOOL fClearDirty)
static HRESULT WINAPI OLEPictureImpl_GetSizeMax (IPersistStream *iface, ULARGE_INTEGER *pcbSize)
static HRESULT WINAPI OLEPictureImpl_IDispatch_QueryInterface (IDispatch *iface, REFIID riid, VOID **ppvoid)
static ULONG WINAPI OLEPictureImpl_IDispatch_AddRef (IDispatch *iface)
static ULONG WINAPI OLEPictureImpl_IDispatch_Release (IDispatch *iface)
static HRESULT WINAPI OLEPictureImpl_GetTypeInfoCount (IDispatch *iface, unsigned int *pctinfo)
static HRESULT WINAPI OLEPictureImpl_GetTypeInfo (IDispatch *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT WINAPI OLEPictureImpl_GetIDsOfNames (IDispatch *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI OLEPictureImpl_Invoke (IDispatch *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExepInfo, UINT *puArgErr)
HRESULT WINAPI OleCreatePictureIndirect (LPPICTDESC lpPictDesc, REFIID riid, BOOL fOwn, LPVOID *ppvObj)
HRESULT WINAPI OleLoadPicture (LPSTREAM lpstream, LONG lSize, BOOL fRunmode, REFIID riid, LPVOID *ppvObj)
HRESULT WINAPI OleLoadPictureEx (LPSTREAM lpstream, LONG lSize, BOOL fRunmode, REFIID riid, DWORD xsiz, DWORD ysiz, DWORD flags, LPVOID *ppvObj)
HRESULT WINAPI OleLoadPicturePath (LPOLESTR szURLorPath, LPUNKNOWN punkCaller, DWORD dwReserved, OLE_COLOR clrReserved, REFIID riid, LPVOID *ppvRet)
static HRESULT WINAPI SPCF_QueryInterface (LPCLASSFACTORY iface, REFIID riid, LPVOID *ppobj)
static ULONG WINAPI SPCF_AddRef (LPCLASSFACTORY iface)
static ULONG WINAPI SPCF_Release (LPCLASSFACTORY iface)
static HRESULT WINAPI SPCF_CreateInstance (LPCLASSFACTORY iface, LPUNKNOWN pOuter, REFIID riid, LPVOID *ppobj)
static HRESULT WINAPI SPCF_LockServer (LPCLASSFACTORY iface, BOOL dolock)
void _get_STDPIC_CF (LPVOID *ppv)

Variables

static const IPictureVtbl OLEPictureImpl_VTable
static const IDispatchVtbl OLEPictureImpl_IDispatch_VTable
static const IPersistStreamVtbl OLEPictureImpl_IPersistStream_VTable
static const
IConnectionPointContainerVtbl 
OLEPictureImpl_IConnectionPointContainer_VTable
static const IClassFactoryVtbl SPCF_Vtbl
static IClassFactoryImpl STDPIC_CF = {&SPCF_Vtbl, 1 }

Generated on Wed May 23 2012 05:13:55 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.