VarNeg function (oleauto.h)
Performs logical negation on a variant.
Syntax
HRESULT VarNeg(
[in] LPVARIANT pvarIn,
[out] LPVARIANT pvarResult
);
Parameters
[in] pvarIn
The variant.
[out] pvarResult
The result variant.
Return value
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | oleauto.h |
Library | OleAut32.lib |
DLL | OleAut32.dll |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for