SearchPathA method

int SearchPathA(
  1. Pointer<Int8> lpPath,
  2. Pointer<Int8> lpFileName,
  3. Pointer<Int8> lpExtension,
  4. int nBufferLength,
  5. Pointer<Int8> lpBuffer,
  6. Pointer<Pointer<Int8>> lpFilePart,
)

Implementation

int SearchPathA(
  ffi.Pointer<ffi.Int8> lpPath,
  ffi.Pointer<ffi.Int8> lpFileName,
  ffi.Pointer<ffi.Int8> lpExtension,
  int nBufferLength,
  ffi.Pointer<ffi.Int8> lpBuffer,
  ffi.Pointer<ffi.Pointer<ffi.Int8>> lpFilePart,
) {
  return (_SearchPathA ??= _dylib
      .lookupFunction<_c_SearchPathA, _dart_SearchPathA>('SearchPathA'))(
    lpPath,
    lpFileName,
    lpExtension,
    nBufferLength,
    lpBuffer,
    lpFilePart,
  );
}