CreateFileMappingFromApp method

Pointer<Void> CreateFileMappingFromApp(
  1. Pointer<Void> hFile,
  2. Pointer<LPSECURITY_ATTRIBUTES> SecurityAttributes,
  3. int PageProtection,
  4. int MaximumSize,
  5. Pointer<Uint16> Name,
)

Implementation

ffi.Pointer<ffi.Void> CreateFileMappingFromApp(
  ffi.Pointer<ffi.Void> hFile,
  ffi.Pointer<LPSECURITY_ATTRIBUTES> SecurityAttributes,
  int PageProtection,
  int MaximumSize,
  ffi.Pointer<ffi.Uint16> Name,
) {
  return (_CreateFileMappingFromApp ??= _dylib.lookupFunction<
      _c_CreateFileMappingFromApp,
      _dart_CreateFileMappingFromApp>('CreateFileMappingFromApp'))(
    hFile,
    SecurityAttributes,
    PageProtection,
    MaximumSize,
    Name,
  );
}