VarNot function (oleauto.h)
Performs the bitwise not negation operation on a variant.
Syntax
HRESULT VarNot(
[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.
Remarks
The function operates as follows.
| pvarIn | pvarResult |
|---|---|
| TRUE | TRUE |
| FALSE | TRUE |
| NULL | NULL |
Requirements
| Target Platform | Windows |
| Header | oleauto.h |
| Library | OleAut32.lib |
| DLL | OleAut32.dll |