class RChunk : public RHandleBase |
A handle to a chunk.
The chunk itself is a kernel side object.
Public Member Enumerations | |
---|---|
enum | TRestrictions { EPreventAdjust = 0x01 } |
Inherited Enumerations | |
---|---|
RHandleBase:TAttributes |
Inherited Attributes | |
---|---|
RHandleBase::iHandle |
IMPORT_C TInt | Create | ( | TChunkCreateInfo & | aCreateInfo | ) |
TChunkCreateInfo & aCreateInfo |
IMPORT_C TInt | CreateDisconnectedGlobal | ( | const TDesC & | aName, |
TInt | aInitialBottom, | |||
TInt | aInitialTop, | |||
TInt | aMaxSize, | |||
TOwnerType | aType = EOwnerProcess | |||
) |
const TDesC & aName | |
TInt aInitialBottom | |
TInt aInitialTop | |
TInt aMaxSize | |
TOwnerType aType = EOwnerProcess |
IMPORT_C TInt | CreateDisconnectedLocal | ( | TInt | aInitialBottom, |
TInt | aInitialTop, | |||
TInt | aMaxSize, | |||
TOwnerType | aType = EOwnerProcess | |||
) |
TInt aInitialBottom | |
TInt aInitialTop | |
TInt aMaxSize | |
TOwnerType aType = EOwnerProcess |
IMPORT_C TInt | CreateDoubleEndedGlobal | ( | const TDesC & | aName, |
TInt | aInitialBottom, | |||
TInt | aInitialTop, | |||
TInt | aMaxSize, | |||
TOwnerType | aType = EOwnerProcess | |||
) |
const TDesC & aName | |
TInt aInitialBottom | |
TInt aInitialTop | |
TInt aMaxSize | |
TOwnerType aType = EOwnerProcess |
IMPORT_C TInt | CreateDoubleEndedLocal | ( | TInt | aInitialBottom, |
TInt | aInitialTop, | |||
TInt | aMaxSize, | |||
TOwnerType | aType = EOwnerProcess | |||
) |
TInt aInitialBottom | |
TInt aInitialTop | |
TInt aMaxSize | |
TOwnerType aType = EOwnerProcess |
IMPORT_C TInt | CreateGlobal | ( | const TDesC & | aName, |
TInt | aSize, | |||
TInt | aMaxSize, | |||
TOwnerType | aType = EOwnerProcess | |||
) |
const TDesC & aName | |
TInt aSize | |
TInt aMaxSize | |
TOwnerType aType = EOwnerProcess |
IMPORT_C TInt | CreateLocal | ( | TInt | aSize, |
TInt | aMaxSize, | |||
TOwnerType | aType = EOwnerProcess | |||
) |
TInt aSize | |
TInt aMaxSize | |
TOwnerType aType = EOwnerProcess |
IMPORT_C TInt | CreateLocalCode | ( | TInt | aSize, |
TInt | aMaxSize, | |||
TOwnerType | aType = EOwnerProcess | |||
) |
TInt aSize | |
TInt aMaxSize | |
TOwnerType aType = EOwnerProcess |
TBool | IsReadable | ( | ) | const [inline] |
Tests whether the chunk is mapped into its process address space.
True, if the chunk is readable; false, otherwise.
TBool | IsWritable | ( | ) | const [inline] |
Tests whether the chunk mapped into its process address space and is writable.
True, if the chunk is writable; false, otherwise.
TInt | Open | ( | const TFindChunk & | aFind, |
TOwnerType | aType = EOwnerProcess | |||
) | [inline] |
Opens a handle to the global chunk found using a TFindChunk object.
A TFindChunk object is used to find all chunks whose full names match a specified pattern.
By default, ownership of this chunk handle is vested in the current process, but can be vested in the current thread by passing EOwnerThread as the second parameter to this function.
KErrNone if successful, otherwise another of the system error codes.
const TFindChunk & aFind | A reference to the TFindChunk object used to find the chunk. |
TOwnerType aType = EOwnerProcess | An enumeration whose enumerators define the ownership of this chunk handle. If not explicitly specified, EOwnerProcess is taken as default. |
IMPORT_C TInt | Open | ( | RMessagePtr2 | aMessage, |
TInt | aParam, | |||
TBool | isReadOnly, | |||
TOwnerType | aType = EOwnerProcess | |||
) |
RMessagePtr2 aMessage | |
TInt aParam | |
TBool isReadOnly | |
TOwnerType aType = EOwnerProcess |
IMPORT_C TInt | Open | ( | TInt | aArgumentIndex, |
TOwnerType | aType = EOwnerProcess | |||
) |
TInt aArgumentIndex | |
TOwnerType aType = EOwnerProcess |
IMPORT_C TInt | OpenGlobal | ( | const TDesC & | aName, |
TBool | isReadOnly, | |||
TOwnerType | aType = EOwnerProcess | |||
) |
const TDesC & aName | |
TBool isReadOnly | |
TOwnerType aType = EOwnerProcess |
Set of flags used by SetRestrictions().
EPreventAdjust = 0x01 |
Prevent Adjust, Commit, Allocate and Decommit |