load method

int load(
  1. Pointer<Utf16> pszFileName,
  2. int dwMode
)

Implementation

int load(Pointer<Utf16> pszFileName, int dwMode) => (ptr.ref.vtable + 5)
    .cast<
        Pointer<
            NativeFunction<
                Int32 Function(
                    Pointer, Pointer<Utf16> pszFileName, Uint32 dwMode)>>>()
    .value
    .asFunction<
        int Function(Pointer, Pointer<Utf16> pszFileName,
            int dwMode)>()(ptr.ref.lpVtbl, pszFileName, dwMode);