DispGetParam (OLEAUT32.28)
HRESULT DispGetParam ( DISPPARAMS* pdispparams, UINT position, VARTYPE vtTarg, VARIANT* pvarResult, UINT* puArgErr )
pdispparams | [In] | Parameter list. |
position | [In] | Position of parameter to coerce in pdispparams. |
vtTarg | [In] | Type of value to coerce to. |
pvarResult | [Out] | Destination for resulting variant. |
puArgErr | [Out] | Destination for error code. |
Retrieve a parameter from a DISPPARAMS structure and coerce it to the specified variant type.
Coercion is done using system (0) locale.
Success: S_OK.
Failure: DISP_E_PARAMNOTFOUND, if position is invalid. or DISP_E_TYPEMISMATCH, if the coercion failed. puArgErr is set to the index of the argument in pdispparams.
Declared in "include/oleauto.h". gitlab.winehq.org/wine/wine/blob/master/include/oleauto.h
Implemented in "dlls/oleaut32/dispatch.c". gitlab.winehq.org/wine/wine/blob/master/dlls/oleaut32/dispatch.c
Debug channel "ole".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.