CreateFileFromAppW method
Implementation
ffi.Pointer<ffi.Void> CreateFileFromAppW(
ffi.Pointer<ffi.Uint16> lpFileName,
int dwDesiredAccess,
int dwShareMode,
ffi.Pointer<LPSECURITY_ATTRIBUTES> lpSecurityAttributes,
int dwCreationDisposition,
int dwFlagsAndAttributes,
ffi.Pointer<ffi.Void> hTemplateFile,
) {
return (_CreateFileFromAppW ??=
_dylib.lookupFunction<_c_CreateFileFromAppW, _dart_CreateFileFromAppW>(
'CreateFileFromAppW'))(
lpFileName,
dwDesiredAccess,
dwShareMode,
lpSecurityAttributes,
dwCreationDisposition,
dwFlagsAndAttributes,
hTemplateFile,
);
}