Reference

VarUI2FromBool(3w)

NAME

VarUI2FromBool (OLEAUT32.266)

SYNOPSIS

HRESULT VarUI2FromBool
(
VARIANT_BOOL boolIn,
USHORT* pusOut
)

DESCRIPTION

Convert a VT_BOOL to a VT_UI2.

PARAMS

boolIn [In] Source.

pusOut [Out] Destination.

RETURNS

S_OK.

IMPLEMENTATION

Declared in "oleauto.h".

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

Debug channel "variant".

History