GetWallpaper method

int GetWallpaper(
  1. Pointer<Utf16> monitorID,
  2. Pointer<Pointer<Utf16>> wallpaper
)

Implementation

int GetWallpaper(
        Pointer<Utf16> monitorID, Pointer<Pointer<Utf16>> wallpaper) =>
    ptr.ref.vtable
            .elementAt(4)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(Pointer, Pointer<Utf16> monitorID,
                            Pointer<Pointer<Utf16>> wallpaper)>>>()
            .value
            .asFunction<
                int Function(Pointer, Pointer<Utf16> monitorID,
                    Pointer<Pointer<Utf16>> wallpaper)>()(
        ptr.ref.lpVtbl, monitorID, wallpaper);