---
name: "DispGetIDsOfNames"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/DispGetIDsOfNames"
---

# 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)](/DispInvoke/3w.md)**.

## 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"**.
