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