GetPrivateProfileStringW method

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

Implementation

int GetPrivateProfileStringW(
  ffi.Pointer<ffi.Uint16> lpAppName,
  ffi.Pointer<ffi.Uint16> lpKeyName,
  ffi.Pointer<ffi.Uint16> lpDefault,
  ffi.Pointer<ffi.Uint16> lpReturnedString,
  int nSize,
  ffi.Pointer<ffi.Uint16> lpFileName,
) {
  return (_GetPrivateProfileStringW ??= _dylib.lookupFunction<
      _c_GetPrivateProfileStringW,
      _dart_GetPrivateProfileStringW>('GetPrivateProfileStringW'))(
    lpAppName,
    lpKeyName,
    lpDefault,
    lpReturnedString,
    nSize,
    lpFileName,
  );
}