|Microsoft DirectX 9.0|
The GetIDsOfNames method maps a set of names to a corresponding set of DISPIDs.
HRESULT GetIDsOfNames( REFIID riid, OLECHAR **rgszNames, UINT cNames, LCID lcid, DISPID *rgdispid );
Reference to an interface identifier (IID) that specifies the interface.
Address of an array of wide-character strings that contain the names to be mapped.
Size of the array given by the rgszNames parameter.
Locale context in which to interpret the names. Can be NULL.
Pointer to an array that receives the DISPIDs. Each element of receives an identifier that corresponds to one of the names passed in the rgszNames parameter.
Returns an HRESULT value. Possible values include the following.
|DISP_E_UNKNOWNNAME||One or more of the names were not known.|
This method behaves like the IDispatch::GetIDsOfNames method, but the riid parameter specifies the interface on which to retrieve DISPIDs. (In the IDispatch version, the riid parameter is reserved.)
If the method returns DISP_E_UNKNOWNNAME, the returned DISPIDs contain DISPID_UNKNOWN for each entry that corresponds to an unknown name.