Foundation
Loading...
Searching...
No Matches
Namespaces | Macros | Functions
MmapWin32.cpp File Reference
#include "Mmap.hpp"
#include <Core/Logging.hpp>
#include <cerrno>
#include <cstring>
#include <limits>
#include <windows.h>

Namespaces

namespace  Foundation
 
namespace  Foundation::Platform
 

Macros

#define NOMINMAX
 
#define WIN32_LEAN_AND_MEAN
 

Functions

void Foundation::Platform::MmapOpen (MmapState &state, Core::StringView path, MmapAccess access)
 
void Foundation::Platform::MmapCreate (MmapState &state, Core::StringView path, uint64_t size)
 
void Foundation::Platform::MmapOpenOrCreate (MmapState &state, Core::StringView path, uint64_t size)
 
void Foundation::Platform::MmapResize (MmapState &state, uint64_t size)
 
void Foundation::Platform::MmapFlush (MmapState const &state, uint64_t offset, uint64_t size)
 
void Foundation::Platform::MmapClose (MmapState &state) noexcept
 
bool Foundation::Platform::MmapIsOpen (MmapState const &state) noexcept
 

Macro Definition Documentation

◆ NOMINMAX

#define NOMINMAX

◆ WIN32_LEAN_AND_MEAN

#define WIN32_LEAN_AND_MEAN