Click to return to the Component Development home page    
IDebugFormatter Interface     IDebugFormatter::GetStrin...     IDebugFormatter Interface    
Web Workshop  |  Component Development

IDebugFormatter::GetStringForVariant Method


Converts a VARIANT structure to a string.

Syntax

HRESULT GetStringForVariant(
    VARIANT *pvar,
    BSTR *pbstrValue
);

Parameters

pvar
[in] Address of a VARIANT structure to be converted.
pbstrValue
[out] Address of a string that contains the converted VARIANT structure.

Return Value

Returns S_OK if successful, or an error code otherwise.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.