Documentation Project 1
ContentsIndexHome
PreviousUpNext
sack::memory::OpenSpace Function
C++
MEM_PROC POINTER MEM_API OpenSpace(CTEXTSTR pWhat, CTEXTSTR pWhere, PTRSZVAL * dwSize);
MEM_PROC POINTER MEM_API OpenSpaceExx(CTEXTSTR pWhat, CTEXTSTR pWhere, PTRSZVAL address, PTRSZVAL * dwSize, P_32 bCreated);
Parameters 
Description 
CTEXTSTR pWhat 
String to a named shared memory region. NULL is unnamed. 
CTEXTSTR pWhere 
Filename to back the shared memory with. The file name itself may also be used to share the memory
PTRSZVAL address 
A base address to map the memory at. If 0, specifies do not care. 
PTRSZVAL * dwSize 
pointer to a PTRSZVAL that defines the size to create. If 0, then the region is only opened. The size of the region opened is set back into this value after it is opened. 
P_32 bCreated 
pointer to a boolean to indicate whether the space was created or not. 
Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!