White Papers
48 Version 1.0.0a
3) For the instance of CIM_USBRedirectionCapabilities that is found, if the
SAPCapabilitiesSupported array contains a value of 1 (Pre-configured SAPs), then at least one
pre-configured USB Redirection SAP exists.
9.10 Determine whether USB Redirection SAPs can be Created
A client can determine whether USB Redirection SAPs can be created on the computer system of interest
as follows:
1) Start at the instances of DCIM_OEMVirtualMediaService found using the use case in section
9.8.
2)
Traverse the instance of CIM_ElementCapabilities to find the instance of
CIM_USBRedirectionCapabilities.
3) For the instance of CIM_USBRedirectionCapabilities that is found, if the
SAPCapabilitiesSupported array contains a value of 2 (Create SAPs), then USB Redirection
SAPs can be created.
9.11 Determine the Emulated USB Devices Already Available via a USB
Redirection SAP
A client can determine the USB Redirection SAP Destinations managed by a Service as follows:
1) Start at the instance of DCIM_OEMVirtualMediaService of interest. (The instance can be found
using the use case in clause 9.8.)
2)
Enumerate the instances of CIM_USBRedirectionSAP that are associated through an instance
of CIM_ServiceAccessBySAP.
3) For each instance of CIM_USBRedirectionSAP, enumerate the instances CIM_USBDevice
associated to the CIM_USBRedirectionSAP through an instance of
CIM_SAPAvailableForElement.
4) Each instance of CIM_USBDevice represents a locally-emulated USB device that is available
through a SAP.
9.12 Determine if a USB Device is Redirected
A client can determine whether an Emulated USB Device of interest is configured to be redirected to a
USB Redirection SAP as follows:
1) Start at the instance of CIM_USBDevice that represents the device of interest.
2) Find the instance of CIM_USBRedirectionSAP that is associated through an instance of
CIM_SAPAvailableForElement.
3) If an instance of CIM_USBRedirectionSAP is not found, the instance of CIM_USBDevice is not
redirected.
4) Otherwise, the USB device is redirected and the instance of CIM_USBRedirectionSAP, if found,
represents the SAP.
9.13 Determine how the Virtual Media State is Managed
A client can determine whether a Virtual Media is managed through the state of the SAP only, or through
the Service and SAP states as follows:
1) Start at the instance of DCIM_OEMVirtualMediaService of interest using the use case described
in section 9.8.
2)
Select the CIM_USBRedirectionSAP that represents the USB Redirection SAP of interest using
the use case described in section 9.11.