void SetHandle( HGLOBAL hGlobalMemory, BOOL bAllowGrow = TRUE );
Parameters
hGlobalMemory
Handle to the global memory to be attached to the CSharedFile.
bAllowGrow
Specifies whether the memory block is allowed to grow.
Remarks
Call this function to attach a block of global memory to the CSharedFile object. If bAllowGrow is nonzero, the size of the memory block is increased as necessary, for example, if an attempt is made to write more bytes to the file than were allocated for the memory block.
CSharedFile Overview | Class Members | Hierarchy Chart
See Also CSharedFile::CSharedFile, CSharedFile::Detach