FindFirstFileExW method

Pointer<Void> FindFirstFileExW(
  1. Pointer<Uint16> lpFileName,
  2. int fInfoLevelId,
  3. Pointer<Void> lpFindFileData,
  4. int fSearchOp,
  5. Pointer<Void> lpSearchFilter,
  6. int dwAdditionalFlags,
)

Implementation

ffi.Pointer<ffi.Void> FindFirstFileExW(
  ffi.Pointer<ffi.Uint16> lpFileName,
  int fInfoLevelId,
  ffi.Pointer<ffi.Void> lpFindFileData,
  int fSearchOp,
  ffi.Pointer<ffi.Void> lpSearchFilter,
  int dwAdditionalFlags,
) {
  return (_FindFirstFileExW ??=
      _dylib.lookupFunction<_c_FindFirstFileExW, _dart_FindFirstFileExW>(
          'FindFirstFileExW'))(
    lpFileName,
    fInfoLevelId,
    lpFindFileData,
    fSearchOp,
    lpSearchFilter,
    dwAdditionalFlags,
  );
}