Using File Mapping

The following examples demonstrate how two processes might access an existing file as named shared memory:

The processes must synchronize their access to the memory. For more information, see Synchronization.