SPropValueSPropValue*
*Contents  *Index  *Topic Contents
*Previous Topic: SPropTagArray
*Next Topic: SRestriction

SPropValue

typedef struct _SPropValue {
    ULONG       ulPropTag;
    ULONG       dwAlignPad;
    union _PV   Value;
    } SPropValue;

Contains the property tag values.

ulPropTag
Property tag for the property. Property tags are 32-bit unsigned integers consisting of the property's unique identifier in the high-order 16 bits and the property's type in the low-order 16 bits.
dwAlignPad
Reserved; do not use.
Value
Union of data values, the specific value dictated by the property type. The following table lists, for each property type, the member of the union that should be used and its associated data type.

Table of Property Types
Property type Value Data type of Value
PT_I2 or PT_SHORT i short int
PT_I4 or PT_LONG (signed) i LONG
PT_R4 or PT_FLOAT flt FLOAT
PT_R8 or PT_DOUBLE dbl double
PT_BOOLEAN b unsigned short int
PT_CURRENCY cur CURRENCY
PT_APPTIME at double
PT_SYSTIME ft FILETIME
PT_STRING8 lpszA LPSTR
PT_BINARY bin BYTE [array]
PT_UNICODE lpszW LPWSTR
PT_CLSID lpguid LPGUID
PT_I8 or PT_LONGLONG li LARGE_INTEGER
PT_MV_I2 MVi SShortArray
PT_MV_LONG MVI SLongArray
PT_MV_R4 MVflt SRealArray
PT_MV_DOUBLE MVdbl SDoubleArray
PT_MV_CURRENCY MVcur SCurrencyArray
PT_MV_APPTIME MVat SAppTimeArray
PT_MV_SYSTIME MVft SDateTimeArray
PT_MV_BINARY MVbin SBinaryArray
PT_MV_STRING8 MVszA SLPSTRArray
PT_MV_UNICODE MVszW SLPSTRArray
PT_MV_CLSID MVguid SGuidArray
PT_MV_I8 MVli SLargeIntegerArray
PT_ERROR err SCODE
PT_NULL or PT_OBJECT x LONG

Back to top


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