GetProfileStringW method

int GetProfileStringW(
  1. Pointer<Uint16> lpAppName,
  2. Pointer<Uint16> lpKeyName,
  3. Pointer<Uint16> lpDefault,
  4. Pointer<Uint16> lpReturnedString,
  5. int nSize,
)

Implementation

int GetProfileStringW(
  ffi.Pointer<ffi.Uint16> lpAppName,
  ffi.Pointer<ffi.Uint16> lpKeyName,
  ffi.Pointer<ffi.Uint16> lpDefault,
  ffi.Pointer<ffi.Uint16> lpReturnedString,
  int nSize,
) {
  return (_GetProfileStringW ??=
      _dylib.lookupFunction<_c_GetProfileStringW, _dart_GetProfileStringW>(
          'GetProfileStringW'))(
    lpAppName,
    lpKeyName,
    lpDefault,
    lpReturnedString,
    nSize,
  );
}