We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 11c384f + d75523a commit 3350987Copy full SHA for 3350987
docs/debugger/debug-interface-access/idiasymbol-get-value.md
@@ -44,7 +44,7 @@ The supplied VARIANT must be initialized before it is passed to this method. For
44
void ProcessValue(IDiaSymbol *pSymbol)
45
{
46
VARIANT value;
47
- value.vt = VT_EMPTY; // Initialize variant for use.
+ VariantInit(&value); // Initialize variant for use.
48
if (pSymbol->get_value(&value) == S_OK)
49
50
// Do something with value.
@@ -65,3 +65,4 @@ void ProcessValue2(IDiaSymbol *pSymbol)
65
66
## See also
67
- [IDiaSymbol](../../debugger/debug-interface-access/idiasymbol.md)
68
+- [Variant Manipulation Functions](/previous-versions/windows/desktop/automat/variant-manipulation-functions)
0 commit comments