Reference

VarUI8FromBool(3w)

NAME

VarUI8FromBool (OLEAUT32.437)

SYNOPSIS

HRESULT VarUI8FromBool
(
VARIANT_BOOL boolIn,
ULONG64* pui64Out
)

DESCRIPTION

Convert a VT_BOOL to a VT_UI8.

PARAMS

boolIn [In] Source.

pui64Out [Out] Destination.

RETURNS

Success: S_OK.

Failure: DISP_E_OVERFLOW, if the value will not fit in the destination

IMPLEMENTATION

Declared in "oleauto.h".

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

Debug channel "variant".

History