StgDeserializePropVariant function

Deserializes a specified SERIALIZEDPROPERTYVALUE structure, creating a PROPVARIANT structure.

Syntax


HRESULT StgDeserializePropVariant(
  _In_  const SERIALIZEDPROPERTYVALUE *pprop,
  _In_        ULONG                   cbMax,
  _Out_       PROPVARIANT             *ppropvar
);

Parameters

pprop [in]

Type: const SERIALIZEDPROPERTYVALUE*

Pointer to a SERIALIZEDPROPERTYVALUE structure.

cbMax [in]

Type: ULONG

The size of the SERIALIZEDPROPERTYVALUE structure, in bytes.

ppropvar [out]

Type: PROPVARIANT*

Pointer to the resulting PROPVARIANT structure.

Return value

Type: HRESULT

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows XP with SP2, Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 with SP1 [desktop apps only]

Redistributable

Windows Desktop Search (WDS) 3.0

Header

Propvarutil.h

Library

Propsys.lib

DLL

Propsys.dll (version 6.0 or later)

 

 

Show: