7.1.2 Sharing a Memory Block

If two (or more) processes need to share a block of memory not associated with a file, one process must use CreateFileMapping and specify (HANDLE)0xFFFFFFFF instead of an existing file handle. The corresponding file mapping object accesses memory from the system paging file. Processes sharing the system paging file must create file views by using MapViewOfFile or MapViewOfFileEx, just as when sharing a named file.