GetProfileStringA method

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

Implementation

int GetProfileStringA(
  ffi.Pointer<ffi.Int8> lpAppName,
  ffi.Pointer<ffi.Int8> lpKeyName,
  ffi.Pointer<ffi.Int8> lpDefault,
  ffi.Pointer<ffi.Int8> lpReturnedString,
  int nSize,
) {
  return (_GetProfileStringA ??=
      _dylib.lookupFunction<_c_GetProfileStringA, _dart_GetProfileStringA>(
          'GetProfileStringA'))(
    lpAppName,
    lpKeyName,
    lpDefault,
    lpReturnedString,
    nSize,
  );
}