CreateFileW method
Implementation
ffi.Pointer<ffi.Void> CreateFileW(
ffi.Pointer<ffi.Uint16> lpFileName,
int dwDesiredAccess,
int dwShareMode,
ffi.Pointer<LPSECURITY_ATTRIBUTES> lpSecurityAttributes,
int dwCreationDisposition,
int dwFlagsAndAttributes,
ffi.Pointer<ffi.Void> hTemplateFile,
) {
return (_CreateFileW ??= _dylib
.lookupFunction<_c_CreateFileW, _dart_CreateFileW>('CreateFileW'))(
lpFileName,
dwDesiredAccess,
dwShareMode,
lpSecurityAttributes,
dwCreationDisposition,
dwFlagsAndAttributes,
hTemplateFile,
);
}