CreateFileMappingNumaW method

Pointer<Void> CreateFileMappingNumaW(
  1. Pointer<Void> hFile,
  2. Pointer<LPSECURITY_ATTRIBUTES> lpFileMappingAttributes,
  3. int flProtect,
  4. int dwMaximumSizeHigh,
  5. int dwMaximumSizeLow,
  6. Pointer<Uint16> lpName,
  7. int nndPreferred,
)

Implementation

ffi.Pointer<ffi.Void> CreateFileMappingNumaW(
  ffi.Pointer<ffi.Void> hFile,
  ffi.Pointer<LPSECURITY_ATTRIBUTES> lpFileMappingAttributes,
  int flProtect,
  int dwMaximumSizeHigh,
  int dwMaximumSizeLow,
  ffi.Pointer<ffi.Uint16> lpName,
  int nndPreferred,
) {
  return (_CreateFileMappingNumaW ??= _dylib.lookupFunction<
      _c_CreateFileMappingNumaW,
      _dart_CreateFileMappingNumaW>('CreateFileMappingNumaW'))(
    hFile,
    lpFileMappingAttributes,
    flProtect,
    dwMaximumSizeHigh,
    dwMaximumSizeLow,
    lpName,
    nndPreferred,
  );
}