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

stg_prop.c File Reference
#include <assert.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "windef.h"
#include "winbase.h"
#include "winnls.h"
#include "winuser.h"
#include "wine/unicode.h"
#include "wine/debug.h"
#include "dictionary.h"
#include "storage32.h"
#include "enumx.h"

Go to the source code of this file.

Data Structures

struct  PROPERTYSETHEADER
struct  FORMATIDOFFSET
struct  PROPERTYSECTIONHEADER
struct  PROPERTYIDOFFSET
struct  PropertyStorage_impl
struct  DictionaryClosure
struct  PropertyClosure

Defines

#define COBJMACROS
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#define PROPSETHDR_BYTEORDER_MAGIC   0xfffe
#define PROPSETHDR_OSVER_KIND_WIN16   0
#define PROPSETHDR_OSVER_KIND_MAC   1
#define PROPSETHDR_OSVER_KIND_WIN32   2
#define CP_UNICODE   1200
#define MAX_VERSION_0_PROP_NAME_LENGTH   256
#define CFTAG_WINDOWS   (-1L)
#define CFTAG_MACINTOSH   (-2L)
#define CFTAG_FMTID   (-3L)
#define CFTAG_NODATA   0L
#define PropertyStorage_ByteSwapString(s, l)
#define SECTIONHEADER_OFFSET   sizeof(PROPERTYSETHEADER) + sizeof(FORMATIDOFFSET)
#define BITS_PER_BYTE   8
#define CHARMASK   0x1f
#define BITS_IN_CHARMASK   5
#define NUM_ALPHA_CHARS   26

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (storage)
static StorageImplimpl_from_IPropertySetStorage (IPropertySetStorage *iface)
static HRESULT PropertyStorage_ReadFromStream (PropertyStorage_impl *)
static HRESULT PropertyStorage_WriteToStream (PropertyStorage_impl *)
static HRESULT PropertyStorage_CreateDictionaries (PropertyStorage_impl *)
static void PropertyStorage_DestroyDictionaries (PropertyStorage_impl *)
static HRESULT PropertyStorage_PropVariantCopy (PROPVARIANT *prop, const PROPVARIANT *propvar, LCID targetCP, LCID srcCP)
static HRESULT PropertyStorage_StringCopy (LPCSTR src, LCID srcCP, LPSTR *dst, LCID targetCP)
static HRESULT create_EnumSTATPROPSETSTG (StorageImpl *, IEnumSTATPROPSETSTG **)
static HRESULT create_EnumSTATPROPSTG (PropertyStorage_impl *, IEnumSTATPROPSTG **)
static PropertyStorage_impl * impl_from_IPropertyStorage (IPropertyStorage *iface)
static HRESULT WINAPI IPropertyStorage_fnQueryInterface (IPropertyStorage *iface, REFIID riid, void **ppvObject)
static ULONG WINAPI IPropertyStorage_fnAddRef (IPropertyStorage *iface)
static ULONG WINAPI IPropertyStorage_fnRelease (IPropertyStorage *iface)
static PROPVARIANT * PropertyStorage_FindProperty (PropertyStorage_impl *This, DWORD propid)
static PROPVARIANT * PropertyStorage_FindPropertyByName (PropertyStorage_impl *This, LPCWSTR name)
static LPWSTR PropertyStorage_FindPropertyNameById (PropertyStorage_impl *This, DWORD propid)
static HRESULT WINAPI IPropertyStorage_fnReadMultiple (IPropertyStorage *iface, ULONG cpspec, const PROPSPEC rgpspec[], PROPVARIANT rgpropvar[])
static HRESULT PropertyStorage_StorePropWithId (PropertyStorage_impl *This, PROPID propid, const PROPVARIANT *propvar, LCID lcid)
static HRESULT PropertyStorage_StoreNameWithId (PropertyStorage_impl *This, LPCSTR srcName, LCID cp, PROPID id)
static HRESULT WINAPI IPropertyStorage_fnWriteMultiple (IPropertyStorage *iface, ULONG cpspec, const PROPSPEC rgpspec[], const PROPVARIANT rgpropvar[], PROPID propidNameFirst)
static HRESULT WINAPI IPropertyStorage_fnDeleteMultiple (IPropertyStorage *iface, ULONG cpspec, const PROPSPEC rgpspec[])
static HRESULT WINAPI IPropertyStorage_fnReadPropertyNames (IPropertyStorage *iface, ULONG cpropid, const PROPID rgpropid[], LPOLESTR rglpwstrName[])
static HRESULT WINAPI IPropertyStorage_fnWritePropertyNames (IPropertyStorage *iface, ULONG cpropid, const PROPID rgpropid[], const LPOLESTR rglpwstrName[])
static HRESULT WINAPI IPropertyStorage_fnDeletePropertyNames (IPropertyStorage *iface, ULONG cpropid, const PROPID rgpropid[])
static HRESULT WINAPI IPropertyStorage_fnCommit (IPropertyStorage *iface, DWORD grfCommitFlags)
static HRESULT WINAPI IPropertyStorage_fnRevert (IPropertyStorage *iface)
static HRESULT WINAPI IPropertyStorage_fnEnum (IPropertyStorage *iface, IEnumSTATPROPSTG **ppenum)
static HRESULT WINAPI IPropertyStorage_fnSetTimes (IPropertyStorage *iface, const FILETIME *pctime, const FILETIME *patime, const FILETIME *pmtime)
static HRESULT WINAPI IPropertyStorage_fnSetClass (IPropertyStorage *iface, REFCLSID clsid)
static HRESULT WINAPI IPropertyStorage_fnStat (IPropertyStorage *iface, STATPROPSETSTG *statpsstg)
static int PropertyStorage_PropNameCompare (const void *a, const void *b, void *extra)
static void PropertyStorage_PropNameDestroy (void *k, void *d, void *extra)
static int PropertyStorage_PropCompare (const void *a, const void *b, void *extra)
static void PropertyStorage_PropertyDestroy (void *k, void *d, void *extra)
static HRESULT PropertyStorage_ReadDictionary (PropertyStorage_impl *This, BYTE *ptr)
static HRESULT PropertyStorage_ReadProperty (PropertyStorage_impl *This, PROPVARIANT *prop, const BYTE *data)
static HRESULT PropertyStorage_ReadHeaderFromStream (IStream *stm, PROPERTYSETHEADER *hdr)
static HRESULT PropertyStorage_ReadFmtIdOffsetFromStream (IStream *stm, FORMATIDOFFSET *fmt)
static HRESULT PropertyStorage_ReadSectionHeaderFromStream (IStream *stm, PROPERTYSECTIONHEADER *hdr)
static void PropertyStorage_MakeHeader (PropertyStorage_impl *This, PROPERTYSETHEADER *hdr)
static void PropertyStorage_MakeFmtIdOffset (PropertyStorage_impl *This, FORMATIDOFFSET *fmtOffset)
static void PropertyStorage_MakeSectionHdr (DWORD cbSection, DWORD numProps, PROPERTYSECTIONHEADER *hdr)
static void PropertyStorage_MakePropertyIdOffset (DWORD propid, DWORD dwOffset, PROPERTYIDOFFSET *propIdOffset)
static HRESULT PropertStorage_WriteWStringToStream (IStream *stm, LPCWSTR str, DWORD len, DWORD *written)
static BOOL PropertyStorage_DictionaryWriter (const void *key, const void *value, void *extra, void *closure)
static HRESULT PropertyStorage_WriteDictionaryToStream (PropertyStorage_impl *This, DWORD *sectionOffset)
static HRESULT PropertyStorage_WritePropertyToStream (PropertyStorage_impl *This, DWORD propNum, DWORD propid, const PROPVARIANT *var, DWORD *sectionOffset)
static BOOL PropertyStorage_PropertiesWriter (const void *key, const void *value, void *extra, void *closure)
static HRESULT PropertyStorage_WritePropertiesToStream (PropertyStorage_impl *This, DWORD startingPropNum, DWORD *sectionOffset)
static HRESULT PropertyStorage_WriteHeadersToStream (PropertyStorage_impl *This)
static HRESULT PropertyStorage_BaseConstruct (IStream *stm, REFFMTID rfmtid, DWORD grfMode, PropertyStorage_impl **pps)
static HRESULT PropertyStorage_ConstructFromStream (IStream *stm, REFFMTID rfmtid, DWORD grfMode, IPropertyStorage **pps)
static HRESULT PropertyStorage_ConstructEmpty (IStream *stm, REFFMTID rfmtid, DWORD grfFlags, DWORD grfMode, IPropertyStorage **pps)
static HRESULT WINAPI IPropertySetStorage_fnQueryInterface (IPropertySetStorage *ppstg, REFIID riid, void **ppvObject)
static ULONG WINAPI IPropertySetStorage_fnAddRef (IPropertySetStorage *ppstg)
static ULONG WINAPI IPropertySetStorage_fnRelease (IPropertySetStorage *ppstg)
static HRESULT WINAPI IPropertySetStorage_fnCreate (IPropertySetStorage *ppstg, REFFMTID rfmtid, const CLSID *pclsid, DWORD grfFlags, DWORD grfMode, IPropertyStorage **ppprstg)
static HRESULT WINAPI IPropertySetStorage_fnOpen (IPropertySetStorage *ppstg, REFFMTID rfmtid, DWORD grfMode, IPropertyStorage **ppprstg)
static HRESULT WINAPI IPropertySetStorage_fnDelete (IPropertySetStorage *ppstg, REFFMTID rfmtid)
static HRESULT WINAPI IPropertySetStorage_fnEnum (IPropertySetStorage *ppstg, IEnumSTATPROPSETSTG **ppenum)
static HRESULT WINAPI IEnumSTATPROPSETSTG_fnQueryInterface (IEnumSTATPROPSETSTG *iface, REFIID riid, void **ppvObject)
static ULONG WINAPI IEnumSTATPROPSETSTG_fnAddRef (IEnumSTATPROPSETSTG *iface)
static ULONG WINAPI IEnumSTATPROPSETSTG_fnRelease (IEnumSTATPROPSETSTG *iface)
static HRESULT WINAPI IEnumSTATPROPSETSTG_fnNext (IEnumSTATPROPSETSTG *iface, ULONG celt, STATPROPSETSTG *rgelt, ULONG *pceltFetched)
static HRESULT WINAPI IEnumSTATPROPSETSTG_fnSkip (IEnumSTATPROPSETSTG *iface, ULONG celt)
static HRESULT WINAPI IEnumSTATPROPSETSTG_fnReset (IEnumSTATPROPSETSTG *iface)
static HRESULT WINAPI IEnumSTATPROPSETSTG_fnClone (IEnumSTATPROPSETSTG *iface, IEnumSTATPROPSETSTG **ppenum)
static HRESULT WINAPI IEnumSTATPROPSTG_fnQueryInterface (IEnumSTATPROPSTG *iface, REFIID riid, void **ppvObject)
static ULONG WINAPI IEnumSTATPROPSTG_fnAddRef (IEnumSTATPROPSTG *iface)
static ULONG WINAPI IEnumSTATPROPSTG_fnRelease (IEnumSTATPROPSTG *iface)
static HRESULT WINAPI IEnumSTATPROPSTG_fnNext (IEnumSTATPROPSTG *iface, ULONG celt, STATPROPSTG *rgelt, ULONG *pceltFetched)
static HRESULT WINAPI IEnumSTATPROPSTG_fnSkip (IEnumSTATPROPSTG *iface, ULONG celt)
static HRESULT WINAPI IEnumSTATPROPSTG_fnReset (IEnumSTATPROPSTG *iface)
static HRESULT WINAPI IEnumSTATPROPSTG_fnClone (IEnumSTATPROPSTG *iface, IEnumSTATPROPSTG **ppenum)
static BOOL prop_enum_stat (const void *k, const void *v, void *extra, void *arg)
HRESULT WINAPI FmtIdToPropStgName (const FMTID *rfmtid, LPOLESTR str)
HRESULT WINAPI PropStgNameToFmtId (const LPOLESTR str, FMTID *rfmtid)

Variables

static const IPropertyStorageVtbl IPropertyStorage_Vtbl
static const
IEnumSTATPROPSETSTGVtbl 
IEnumSTATPROPSETSTG_Vtbl
static const IEnumSTATPROPSTGVtbl IEnumSTATPROPSTG_Vtbl
const IPropertySetStorageVtbl IPropertySetStorage_Vtbl
static const WCHAR szSummaryInfo []
static const WCHAR szDocSummaryInfo []

Generated on Sun May 27 2012 05:15:59 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.