初始
hFile = CreateFile
hMem = CreateFileMapping (要设定初始大小)
pMem = MapViewOfFile
以后若要增长时,
先
UnampViewOfFile(pMem)
CloseHandle(hMem)
再重新
CreateFileMapping
MapViewOfFile
最后保存时
UnampViewOfFile(pMem)
CloseHandle(hMem)
SetFilePointer(hFile,...)
SendEndOfFile(hFile)
CloseHandle(hFile)