| class Debug::TXipLibraryListEntry |
Structure used for extracting data from a descriptor returned by a call to RSecuritySvrSession::GetList() when GetList() is called with TListId::EXipLibraries as the first argument.
//buffer is a TDesC8 containing 4-byte aligned TXipLibraryListEntry objects
//create a pointer to the start of the data
TUint8* ptr = (TUint8*)buffer.Ptr();
//create a pointer to the end of the data
const TUint8* ptrEnd = ptr + buffer.Length();
while(ptr < ptrEnd)
{
//cast the pointer to be a TXipLibraryListEntry object
TXipLibraryListEntry& entry = *(TXipLibraryListEntry*)ptr;
//use the TXipLibraryListEntry pointer, i.e.
TUint16 nameLength = entry.iNameLength;
TPtr name(&(entry.iName[0]), nameLength, nameLength);
// move ptr on to point to the next TXipLibraryListEntry object
ptr += Align4(entry.GetSize());
}
| Public Member Functions | |
|---|---|
| TInt | GetSize() |
| TInt | GetSize | ( | ) | const [inline] |
Returns the size of the TXipLibraryListEntry, including the file name length
| TUint16 | iName |
First two bytes of the code segment's name, the name should be considered to extend past the end of the TXipLibraryListEntry structure to a length corresponding to iNameLength
| TUint32 | iSpare1 |
Currently unused element. May be used in future to aid maintaining compatibility.
| TUint32 | iSpare2 |
Currently unused element. May be used in future to aid maintaining compatibility.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.