CreateFileA method
Implementation
ffi.Pointer<ffi.Void> CreateFileA(
ffi.Pointer<ffi.Int8> lpFileName,
int dwDesiredAccess,
int dwShareMode,
ffi.Pointer<LPSECURITY_ATTRIBUTES> lpSecurityAttributes,
int dwCreationDisposition,
int dwFlagsAndAttributes,
ffi.Pointer<ffi.Void> hTemplateFile,
) {
return (_CreateFileA ??= _dylib
.lookupFunction<_c_CreateFileA, _dart_CreateFileA>('CreateFileA'))(
lpFileName,
dwDesiredAccess,
dwShareMode,
lpSecurityAttributes,
dwCreationDisposition,
dwFlagsAndAttributes,
hTemplateFile,
);
}