WiseMo Guest Component API
|
This page describes param to InvokeRmOperation call and returned value from OnRmOperationResult for snapinId = 15001.
When operation fails, OnRmOperationResult comes with non-zero status and Error object in value:
When status is zero, value is as provided in following documentation.
RM requests may yield lots of data so responses are restricted in size.
That's where StartAt, UpTo and Total are used.
StartAt
UpTo says which StartAt use next to continue data retrieval
Total says how many data at all. When UpTo equals to Total, then all data has been retrieved.
snapinId=15001 opId=0
Check if host supports Disk drives subsystem (Snap-In) for RM calls.
Parameters
Returns
Supported 1 if supports, 0 if not
snapinId=15001 opId=201
Parameters
Returns
InfoReq in response items indicates whether details on that particular drive have been queried.
SizeInBytesHi,SizeInBytesLo: drive size as SizeInBytesHi*2^32 + SizeInBytesLo (bytes)
FreeSpaceInBytesHi,FreeSpaceInBytesLo: drive free space, same algorithm
Slow drives such as removable and CD-ROMs are not queried, InfoReq is 0 for them.
To get details on them use DDS_GET_DRIVE_INFO operation.
snapinId=15001 opId=202
This operation can be used to get details on removable and CD-ROM drives, which is not returned with Get drives operation.
Data format is the same, except Drives array contains only one item.
Parameters
Returns
SizeInBytesHi, SizeInBytesLo: drive size as SizeInBytesHi*2^32 + SizeInBytesLo (bytes)
FreeSpaceInBytesHi, FreeSpaceInBytesLo: drive free space, same algorithm