CreateFileMapping2 method
Implementation
ffi.Pointer<ffi.Void> CreateFileMapping2(
ffi.Pointer<ffi.Void> File,
ffi.Pointer<LPSECURITY_ATTRIBUTES> SecurityAttributes,
int DesiredAccess,
int PageProtection,
int AllocationAttributes,
int MaximumSize,
ffi.Pointer<ffi.Uint16> Name,
ffi.Pointer<PMEM_EXTENDED_PARAMETER> ExtendedParameters,
int ParameterCount,
) {
return (_CreateFileMapping2 ??=
_dylib.lookupFunction<_c_CreateFileMapping2, _dart_CreateFileMapping2>(
'CreateFileMapping2'))(
File,
SecurityAttributes,
DesiredAccess,
PageProtection,
AllocationAttributes,
MaximumSize,
Name,
ExtendedParameters,
ParameterCount,
);
}