Sack Library Documentation
ContentsIndexReferenceHome
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. 
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!