isWindowOnCurrentVirtualDesktop method

int isWindowOnCurrentVirtualDesktop(
  1. int topLevelWindow,
  2. Pointer<Int32> onCurrentDesktop
)

Implementation

int isWindowOnCurrentVirtualDesktop(
        int topLevelWindow, Pointer<Int32> onCurrentDesktop) =>
    (ptr.ref.vtable + 3)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(Pointer, IntPtr topLevelWindow,
                            Pointer<Int32> onCurrentDesktop)>>>()
            .value
            .asFunction<
                int Function(Pointer, int topLevelWindow,
                    Pointer<Int32> onCurrentDesktop)>()(
        ptr.ref.lpVtbl, topLevelWindow, onCurrentDesktop);