CreateFileMapping2 method

Pointer<Void> CreateFileMapping2(
  1. Pointer<Void> File,
  2. Pointer<SECURITY_ATTRIBUTES> SecurityAttributes,
  3. int DesiredAccess,
  4. int PageProtection,
  5. int AllocationAttributes,
  6. int MaximumSize,
  7. Pointer<Uint16> Name,
  8. Pointer<MEM_EXTENDED_PARAMETER> ExtendedParameters,
  9. int ParameterCount,
)

Implementation

ffi.Pointer<ffi.Void> CreateFileMapping2(
  ffi.Pointer<ffi.Void> File,
  ffi.Pointer<SECURITY_ATTRIBUTES> SecurityAttributes,
  int DesiredAccess,
  int PageProtection,
  int AllocationAttributes,
  int MaximumSize,
  ffi.Pointer<ffi.Uint16> Name,
  ffi.Pointer<MEM_EXTENDED_PARAMETER> ExtendedParameters,
  int ParameterCount,
) {
  return _CreateFileMapping2(
    File,
    SecurityAttributes,
    DesiredAccess,
    PageProtection,
    AllocationAttributes,
    MaximumSize,
    Name,
    ExtendedParameters,
    ParameterCount,
  );
}