DisplayUI method

int DisplayUI(
  1. int hWnd,
  2. Pointer<Utf16> Title,
  3. Pointer<Utf16> TypeOfUI,
  4. Pointer<VARIANT> ExtraData,
  5. Pointer<COMObject> Object,
)

Implementation

int DisplayUI(int hWnd, Pointer<Utf16> Title, Pointer<Utf16> TypeOfUI,
        Pointer<VARIANT> ExtraData, Pointer<COMObject> Object) =>
    ptr.ref.vtable
            .elementAt(18)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(
                            Pointer,
                            Int32 hWnd,
                            Pointer<Utf16> Title,
                            Pointer<Utf16> TypeOfUI,
                            Pointer<VARIANT> ExtraData,
                            Pointer<COMObject> Object)>>>()
            .value
            .asFunction<
                int Function(
                    Pointer,
                    int hWnd,
                    Pointer<Utf16> Title,
                    Pointer<Utf16> TypeOfUI,
                    Pointer<VARIANT> ExtraData,
                    Pointer<COMObject> Object)>()(
        ptr.ref.lpVtbl, hWnd, Title, TypeOfUI, ExtraData, Object);