hMem

A global handle (HGLOBAL) to the file in memory. 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.