[in] The value to coerce. Although defined as an OLECHAR*, a BSTR is also permitted.
lcid
[in] For conversions from string and VT_DISPATCH input, the LCID to use for the conversion. This parameter allows locale-specific parsing to occur. This parameter allows locale-specific parsing to occur. For a list of LCIDs, see Supporting Multiple National Languages and Exposing ActiveX Objects.
dwFlags
[in] This parameter can be zero (0) or one or more of the following flags:
Flag
Description
LOCALE_NOUSEROVERRIDE
Uses the system default locale settings rather than custom locale settings.