WritePrivateProfileStringA method

int WritePrivateProfileStringA(
  1. Pointer<Int8> lpAppName,
  2. Pointer<Int8> lpKeyName,
  3. Pointer<Int8> lpString,
  4. Pointer<Int8> lpFileName,
)

Implementation

int WritePrivateProfileStringA(
  ffi.Pointer<ffi.Int8> lpAppName,
  ffi.Pointer<ffi.Int8> lpKeyName,
  ffi.Pointer<ffi.Int8> lpString,
  ffi.Pointer<ffi.Int8> lpFileName,
) {
  return (_WritePrivateProfileStringA ??= _dylib.lookupFunction<
      _c_WritePrivateProfileStringA,
      _dart_WritePrivateProfileStringA>('WritePrivateProfileStringA'))(
    lpAppName,
    lpKeyName,
    lpString,
    lpFileName,
  );
}