EN
Данное содержимое не доступно на вашем языке, используйте версию на английском языке.

VariantToStrRet function

If the source variant is a VT_BSTR, extracts string and places it into a STRRET structure.

Syntax


HRESULT VariantToStrRet(
  _In_  REFVARIANT varIn,
  _Out_ STRRET     *pstrret
);

Parameters

varIn [in]

Type: REFVARIANT

Reference to a source variant structure.

pstrret [out]

Type: STRRET*

Pointer to the extracted string if one exists.

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)

 

 

Добавления сообщества

ДОБАВИТЬ
Показ:
© 2015 Microsoft