The Win32 API has a set of operations to manipulate virtual memory.
These include
VirtualAlloc()
VirtualFree()
VirtualLock() // doesn't work on Windows95
VirtualProtect()
VirtualQuery()
VirtualUnlock()
There is support for DLLs. Special Makefiles, header files and dependency
files need to be created. The standard memory allocation functions do
not work properly in DLLs and have to be replaced by GlobalAlloc()
and GlobalFree().
Files can be mapped into memory by
CreateFileMapping()
MapViewOfFile()
UnmapViewOfFile()
Shared memory between processes is done by mapping a common file into
each address space. A special file ``value'' can be used when no actual
file needs to be used for this i.e. for transient sharing.