Description |
Closes a MO:DCA file created with the CreateMODCAFileMem function. For closing MO:DCA file handles created by the CreateMODCAFile function, use the CloseMODCAFile function. |
||
Syntax |
Handle = [BITIFF.] CloseMODCAFileMem MODCAHandle |
||
Parameters |
MODCAHandle |
LONGLONG |
Handle returned by the CreateMODCAFileMem function. For closing MO:DCA file handles created by the CreateMODCAFile function, use the CloseMODCAFile function. |
Return Value |
Handle to the MO:DCA file in memory on success, NULL on failure. Use the BiTiffGetLastErrort function to get the error code. The handle is allocated using the GlobalAlloc Windows API function. Use the GlobalSize function to get the size of the MO:DCA document, the GlobalLock function to get a pointer to the document, and use the GlobalFree function to free the memory. |