Example code for Windows using the memory mapping API