LoadStringByReference method

int LoadStringByReference(
  1. int Flags,
  2. Pointer<Uint16> Language,
  3. Pointer<Uint16> SourceString,
  4. Pointer<Uint16> Buffer,
  5. int cchBuffer,
  6. Pointer<Uint16> Directory,
  7. Pointer<Uint64> pcchBufferOut,
)

Implementation

int LoadStringByReference(
  int Flags,
  ffi.Pointer<ffi.Uint16> Language,
  ffi.Pointer<ffi.Uint16> SourceString,
  ffi.Pointer<ffi.Uint16> Buffer,
  int cchBuffer,
  ffi.Pointer<ffi.Uint16> Directory,
  ffi.Pointer<ffi.Uint64> pcchBufferOut,
) {
  return (_LoadStringByReference ??= _dylib.lookupFunction<
      _c_LoadStringByReference,
      _dart_LoadStringByReference>('LoadStringByReference'))(
    Flags,
    Language,
    SourceString,
    Buffer,
    cchBuffer,
    Directory,
    pcchBufferOut,
  );
}