SearchPathW method

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

Implementation

int SearchPathW(
  ffi.Pointer<ffi.Uint16> lpPath,
  ffi.Pointer<ffi.Uint16> lpFileName,
  ffi.Pointer<ffi.Uint16> lpExtension,
  int nBufferLength,
  ffi.Pointer<ffi.Uint16> lpBuffer,
  ffi.Pointer<ffi.Pointer<ffi.Uint16>> lpFilePart,
) {
  return (_SearchPathW ??= _dylib
      .lookupFunction<_c_SearchPathW, _dart_SearchPathW>('SearchPathW'))(
    lpPath,
    lpFileName,
    lpExtension,
    nBufferLength,
    lpBuffer,
    lpFilePart,
  );
}