NAME

DispGetParam  (OLEAUT32.28)

SYNOPSIS

 HRESULT DispGetParam
 (
  DISPPARAMS* pdispparams,
  UINT        position,
  VARTYPE     vtTarg,
  VARIANT*    pvarResult,
  UINT*       puArgErr
 )

PARAMS

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.

DESCRIPTION

Retrieve a parameter from a DISPPARAMS structure and coerce it to the specified variant type.

NOTES

Coercion is done using system (0) locale.

RETURNS

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.

IMPLEMENTATION

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 Nov 2024.