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

IDebugFormatter::GetVariantForString Method


Converts a string to a VARIANT structure.

Syntax

HRESULT GetVariantForString(
    LPCOLESTR pwstrValue,
    VARIANT *pvar
);

Parameters

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

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.