getIDsOfNames method
void
getIDsOfNames()
Maps a single member and an optional set of argument names to a corresponding set of integer DISPIDs, which can be used on subsequent calls to Invoke.
Throws a WindowsException on failure.
To learn more, see learn.microsoft.com/windows/win32/api/oaidl/nf-oaidl-idispatch-getidsofnames.
Implementation
@pragma('vm:prefer-inline')
void getIDsOfNames(
Pointer<GUID> riid,
Pointer<Pointer<Utf16>> rgszNames,
int cNames,
int lcid,
Pointer<Int32> rgDispId,
) {
final hr$ = HRESULT(
_GetIDsOfNamesFn(ptr, riid, rgszNames, cNames, lcid, rgDispId),
);
if (hr$.isError) throw WindowsException(hr$);
}