DispGetIDsOfNames.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

DispGetIDsOfNames (OLEAUT32.29)

SYNOPSIS

HRESULT DispGetIDsOfNames
 (
  ITypeInfo* ptinfo,
  OLECHAR**  rgszNames,
  UINT       cNames,
  DISPID*    rgdispid
 )

PARAMS

ptinfo [In] Object's type info.

rgszNames [In] Array of names to get DISPIDs for.

cNames [In] Number of names in rgszNames.

rgdispid [Out] Destination for converted DISPIDs.

DESCRIPTION

Convert a set of parameter names to DISPIDs for DispInvoke(3w).

RETURNS

Success: S_OK.

Failure: An HRESULT error code.

NOTES

This call defers to ITypeInfo_GetIDsOfNames(3w). The ITypeInfo interface passed as ptinfo contains the information to map names to DISPIDs.

IMPLEMENTATION

Defined in "oleauto.h".

Implemented in "dlls/oleaut32/dispatch.c".

Debug channel "ole".