StgDeserializePropVariant function

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

Syntax

PSSTDAPI StgDeserializePropVariant(
  const SERIALIZEDPROPERTYVALUE *pprop,
  ULONG                         cbMax,
  PROPVARIANT                   *ppropvar
);

Parameters

pprop

A pointer to the SERIALIZEDPROPERTYVALUE buffer.

cbMax

The size of the pprop buffer in bytes.

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