CreateFile2FromAppW method

Pointer<Void> CreateFile2FromAppW(
  1. Pointer<Uint16> lpFileName,
  2. int dwDesiredAccess,
  3. int dwShareMode,
  4. int dwCreationDisposition,
  5. Pointer<LPCREATEFILE2_EXTENDED_PARAMETERS> pCreateExParams,
)

Implementation

ffi.Pointer<ffi.Void> CreateFile2FromAppW(
  ffi.Pointer<ffi.Uint16> lpFileName,
  int dwDesiredAccess,
  int dwShareMode,
  int dwCreationDisposition,
  ffi.Pointer<LPCREATEFILE2_EXTENDED_PARAMETERS> pCreateExParams,
) {
  return (_CreateFile2FromAppW ??= _dylib.lookupFunction<
      _c_CreateFile2FromAppW,
      _dart_CreateFile2FromAppW>('CreateFile2FromAppW'))(
    lpFileName,
    dwDesiredAccess,
    dwShareMode,
    dwCreationDisposition,
    pCreateExParams,
  );
}