getDevice method
Implementation
int getDevice(Pointer<Utf16> pwstrId, Pointer<Pointer<COMObject>> ppDevice) =>
(ptr.ref.vtable + 5)
.cast<
Pointer<
NativeFunction<
Int32 Function(Pointer, Pointer<Utf16> pwstrId,
Pointer<Pointer<COMObject>> ppDevice)>>>()
.value
.asFunction<
int Function(Pointer, Pointer<Utf16> pwstrId,
Pointer<Pointer<COMObject>> ppDevice)>()(
ptr.ref.lpVtbl, pwstrId, ppDevice);