getSensorsByType method

int getSensorsByType(
  1. Pointer<GUID> sensorType,
  2. Pointer<Pointer<COMObject>> ppSensorsFound
)

Implementation

int getSensorsByType(Pointer<GUID> sensorType,
        Pointer<Pointer<COMObject>> ppSensorsFound) =>
    (ptr.ref.vtable + 4)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(Pointer, Pointer<GUID> sensorType,
                            Pointer<Pointer<COMObject>> ppSensorsFound)>>>()
            .value
            .asFunction<
                int Function(Pointer, Pointer<GUID> sensorType,
                    Pointer<Pointer<COMObject>> ppSensorsFound)>()(
        ptr.ref.lpVtbl, sensorType, ppSensorsFound);