nSize
The size in bytes of the file referenced by hMem. If you use the AnnSaveMemory method to create the file in memory, that method updates your handle and buffer size variables. Otherwise, your code must update and pass the appropriate variables.