Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Converts the default property of an IDispatch instance to a decimal value.
HRESULT VarDecFromDisp(
[in] IDispatch *pdispIn,
[in] LCID lcid,
[out] DECIMAL *pdecOut
);
[in] pdispIn
The value to convert.
[in] lcid
The locale identifier.
[out] pdecOut
The resulting value.
This function can return one of these values.
Return code | Description |
---|---|
|
Success. |
|
The input parameter is not a valid type of variant. |
|
The data pointed to by the output parameter does not fit in the destination type. |
|
The argument could not be coerced to the specified type. |
|
One of the arguments is not valid. |
|
Insufficient memory to complete the operation. |
Requirement | Value |
---|---|
Target Platform | Windows |
Header | oleauto.h |
Library | OleAut32.lib |
DLL | OleAut32.dll |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today