requestTokenWithWebAccountForWindowAsync method

int requestTokenWithWebAccountForWindowAsync(
  1. int appWindow,
  2. Pointer<COMObject> request,
  3. Pointer<COMObject> webAccount,
  4. Pointer<GUID> riid,
  5. Pointer<Pointer<NativeType>> asyncInfo,
)

Implementation

int requestTokenWithWebAccountForWindowAsync(
        int appWindow,
        Pointer<COMObject> request,
        Pointer<COMObject> webAccount,
        Pointer<GUID> riid,
        Pointer<Pointer> asyncInfo) =>
    (ptr.ref.vtable + 7)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(
                            Pointer,
                            IntPtr appWindow,
                            Pointer<COMObject> request,
                            Pointer<COMObject> webAccount,
                            Pointer<GUID> riid,
                            Pointer<Pointer> asyncInfo)>>>()
            .value
            .asFunction<
                int Function(
                    Pointer,
                    int appWindow,
                    Pointer<COMObject> request,
                    Pointer<COMObject> webAccount,
                    Pointer<GUID> riid,
                    Pointer<Pointer> asyncInfo)>()(
        ptr.ref.lpVtbl, appWindow, request, webAccount, riid, asyncInfo);