StgSerializePropVariant function

Serializes a specified PROPVARIANT structure, creating a SERIALIZEDPROPERTYVALUE structure.

Syntax


HRESULT StgSerializePropVariant(
  _In_  const PROPVARIANT             *ppropvar,
  _Out_       SERIALIZEDPROPERTYVALUE **ppProp,
  _Out_       ULONG                   *pcb
);

Parameters

ppropvar [in]

Type: const PROPVARIANT*

A constant pointer to the source PROPVARIANT structure.

ppProp [out]

Type: SERIALIZEDPROPERTYVALUE**

The address of a pointer to the SERIALIZEDPROPERTYVALUE structure.

pcb [out]

Type: ULONG*

A pointer to the value representing the size of the SERIALIZEDPROPERTYVALUE 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: