StgDeserializePropVariant function (propvarutil.h)

The StgDeserializePropVariant function converts a SERIALIZEDPROPERTYVALUE data type to a PROPVARIANT data type.

Syntax

PSSTDAPI StgDeserializePropVariant(
  [in]  const SERIALIZEDPROPERTYVALUE *pprop,
  [in]  ULONG                         cbMax,
  [out] PROPVARIANT                   *ppropvar
);

Parameters

[in] pprop

A pointer to the SERIALIZEDPROPERTYVALUE buffer.

[in] cbMax

The size of the pprop buffer in bytes.

[out] ppropvar

A pointer to a PROPVARIANT.

Return value

This function can return one of these values.

Remarks

This function deserializes a PROPVARIANT data type. This function is similar to the StgConvertPropertyToVariant function. The StgDeserializePropVariant function uses the default value of CP_WINUNICODE for the code page and a system provided allocator that uses task memory. Use StgDeserializePropVariant unless you want to specify which code page and memory allocator to use.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header propvarutil.h
Library Propsys.lib
DLL Propsys.dll

See also

StgConvertPropertyToVariant

StgSerializePropVariant