Reference

DispGetIDsOfNames(3w)

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

Declared in "oleauto.h".

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

Debug channel "ole".

History