NAME

IDispatch_GetIDsOfNames  (OLEAUT32.@)

SYNOPSIS

 static HRESULT IDispatch_GetIDsOfNames
 (
  LPDISPATCH iface,
  REFIID     riid,
  LPOLESTR*  rgszNames,
  UINT       cNames,
  LCID       lcid,
  DISPID*    rgDispId
 )

DESCRIPTION

Convert a methods name and an optional set of parameter names into DISPIDs for passing to IDispatch_Invoke.

PARAMS

iface [In] IDispatch interface.
riid [In] Reserved, set to IID_NULL.
rgszNames [In] Name to convert.
cNames [In] Number of names in rgszNames.
lcid [In] Locale of the type information to convert from.
rgDispId [Out] Destination for converted DISPIDs.

RETURNS

Success: S_OK.

Failure: DISP_E_UNKNOWNNAME, if any of the names is invalid. DISP_E_UNKNOWNLCID if lcid is invalid. Otherwise, an HRESULT error code.

NOTES

This call defers to ITypeInfo_GetIDsOfNames, using the ITypeInfo object contained within the IDispatch object. The first member of the names list must be a method name. The names following the method name are the parameters for that method.

IMPLEMENTATION

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in "dlls/oleaut32/dispatch.c". https://source.winehq.org/source/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 Apr 2024.