getDeviceCapabilities method

int getDeviceCapabilities(
  1. Pointer<Pointer<COMObject>> deviceCapabilities
)

Implementation

int
    getDeviceCapabilities(
            Pointer<Pointer<COMObject>> deviceCapabilities) =>
        (ptr.ref.vtable + 8)
                .cast<
                    Pointer<
                        NativeFunction<
                            Int32 Function(
                                Pointer,
                                Pointer<Pointer<COMObject>>
                                    deviceCapabilities)>>>()
                .value
                .asFunction<
                    int Function(Pointer,
                        Pointer<Pointer<COMObject>> deviceCapabilities)>()(
            ptr.ref.lpVtbl, deviceCapabilities);