Perhaps one of the most misunderstood sentences in the Win32 documentation is this little bit in the documentation for :
If hFile is INVALID_HANDLE_VALUE, the calling process must also specify a size for the file mapping object in the dwMaximumSizeHigh and dwMaximumSizeLow parameters. In this scenario, CreateFile&...