virtual qBool GetPersistenceInfo( ProtocolCallContext * pContext, qUnsignedInt32 pid, qVector< qUnsignedInt16 > persistenceSlotIds, qVector< DataStorePersistenceInfo > * pPersistenceInfos, qVector< qResult > * pResults = NULL );
Name | Description | |
---|---|---|
in | pContext |
Call information. |
in | pid |
The principal ID of the target for which you want to get the persistence information. If INVALID_PRINCIPALID is specified, then the information of the local system itself is obtained. |
in | persistenceSlotIds |
List of persistence slot IDs. If specified as blank, the function gets information for all slots. |
out | pPersistenceInfos |
List of persistence information. |
out | pResults |
The obtained result for each slot ID. (Optional) |
Value | Description |
---|---|
true |
RMC call initialization succeeded. |
false |
Failure. |
Gets the persistence information.
Gets the persistence information for the specified principal ID and persistence slot ID. If the asynchronous process succeeds, the number of results as specified by persistenceSlotIds
is stored in pPersistenceInfos
and pResults
in the order as specified by persistenceSlotIds
. When the specified persistence slot is not used or has already been made non-persistent, or when there is no access rights for the target data, the objects included in pPersistenceInfos are invalid. You can check whether an object is valid or invalid with the DataStorePersistenceInfo::IsValid
function. Note that even if a valid data ID is obtained here, there is a possibility that when the data is accessed it will already be deleted.
CONFIDENTIAL