Reference

VarIdiv(3w)

NAME

VarIdiv (OLEAUT32.153)

SYNOPSIS

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

DESCRIPTION

Converts input variants to integers and divides them.

PARAMS

left [In] Left hand variant.

right [In] Right hand variant.

result [Out] Destination for quotient.

RETURNS

Success: S_OK. result contains the quotient.

Failure: An HRESULT error code indicating the error.

NOTES

If either expression is NULL, NULL is returned, as per MSDN

IMPLEMENTATION

Declared in "oleauto.h".

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

Debug channel "variant".

History