CSharedFile::CSharedFile

CSharedFile( UINT nAllocFlags = GMEM_DDESHARE | GMEM_MOVEABLE, UINT nGrowBytes = 4096 );

Parameters

nAllocFlags

Flags indicating how memory is to be allocated. See GlobalAlloc for a list of valid flag values.

nGrowBytes

The memory allocation increment in bytes.

Remarks

Constructs a CSharedFile object and allocates memory for it.

CSharedFile OverviewClass MembersHierarchy Chart

See Also   CSharedFile::Detach, CSharedFile::SetHandle