PROPBAG2PROPBAG2*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IPropertyBag2::Write
*Next Topic: PROPBAG2_TYPE

PROPBAG2

typedef struct _tagPROPBAG2{
    DWORD dwType; 
    VARTYPE vt; 
    CLIPFORMAT cfType; 
    DWORD dwHint; 
    LPOLESTR pstrName; 
    CLSID clsid; 
} PROPBAG2;

Contains or receives property information. This structure is used with the IPropertyBag2::GetPropertyInfo, IPropertyBag2::Read, and IPropertyBag2::Write methods.

dwType
Type of property. This will be one of the PROPBAG2_TYPE values.
vt
VARIANT type of the property.
cfType
Clipboard format or MIME type of the property.
dwHint
Property name hint. If possible, this member will be filled by IPropertyBag2::GetPropertyInfo and can be used with IPropertyBag2::Read and IPropertyBag2::Write to accelerate the read or write operation. These values are not valid outside of the property bag that created them.
pstrName
Address of an OLESTR that specifies the property name.
clsid
CLSID of the object. This member is only valid if dwType is PROPBAG2_TYPE_OBJECT.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.