GetPrivateProfileStringA method

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

Implementation

int GetPrivateProfileStringA(
  ffi.Pointer<ffi.Int8> lpAppName,
  ffi.Pointer<ffi.Int8> lpKeyName,
  ffi.Pointer<ffi.Int8> lpDefault,
  ffi.Pointer<ffi.Int8> lpReturnedString,
  int nSize,
  ffi.Pointer<ffi.Int8> lpFileName,
) {
  return (_GetPrivateProfileStringA ??= _dylib.lookupFunction<
      _c_GetPrivateProfileStringA,
      _dart_GetPrivateProfileStringA>('GetPrivateProfileStringA'))(
    lpAppName,
    lpKeyName,
    lpDefault,
    lpReturnedString,
    nSize,
    lpFileName,
  );
}