CreateFile2 method
Implementation
ffi.Pointer<ffi.Void> CreateFile2(
ffi.Pointer<ffi.Uint16> lpFileName,
int dwDesiredAccess,
int dwShareMode,
int dwCreationDisposition,
ffi.Pointer<LPCREATEFILE2_EXTENDED_PARAMETERS> pCreateExParams,
) {
return (_CreateFile2 ??= _dylib
.lookupFunction<_c_CreateFile2, _dart_CreateFile2>('CreateFile2'))(
lpFileName,
dwDesiredAccess,
dwShareMode,
dwCreationDisposition,
pCreateExParams,
);
}