getDefaultAudioEndpoint method
Implementation
int getDefaultAudioEndpoint(
int dataFlow, int role, Pointer<Pointer<COMObject>> ppEndpoint) =>
(ptr.ref.vtable + 4)
.cast<
Pointer<
NativeFunction<
Int32 Function(Pointer, Int32 dataFlow, Int32 role,
Pointer<Pointer<COMObject>> ppEndpoint)>>>()
.value
.asFunction<
int Function(Pointer, int dataFlow, int role,
Pointer<Pointer<COMObject>> ppEndpoint)>()(
ptr.ref.lpVtbl, dataFlow, role, ppEndpoint);