Reference

VarMod(3w)

NAME

VarMod (OLEAUT32.155)

SYNOPSIS

HRESULT VarMod
(
LPVARIANT left,
LPVARIANT right,
LPVARIANT result
)

DESCRIPTION

Perform the modulus operation of the right hand variant on the left.

PARAMS

left [In] Left hand variant.

right [In] Right hand variant.

result [Out] Destination for converted value.

RETURNS

Success: S_OK. result contains the remainder.

Failure: An HRESULT error code indicating the error.

NOTE: If an error occurs the type of result will be modified but the value will not be. Doesn't support arrays or any special flags yet.

IMPLEMENTATION

Declared in "oleauto.h".

Implemented in "dlls/oleaut32/variant.c".

Debug channel "variant".

History