IPMPlatform::AddDevice (Windows CE 5.0)
This method adds a bootable device object to the IPMPlatform interface of type bstrDeviceName.
HRESULT AddDevice(BSTR bstrDeviceName,BSTR bstrDeviceId,IPMRemoteDevice** ppiDevice);
Parameters
- bstrDeviceName
[in] Name of the remote device object to be added. - bstrDeviceId
[in] Optional; GUID of the remote device object to be added. If this parameter is not specified, Platform Manager creates a GUID for the remote device object. - ppiDevice
[out] Pointer to a pointer to the IPMRemoteDevice interface.
Return Values
Returns S_OK if the call was successfully completed. If a failure occurs, the appropriate HRESULT value is returned.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Platform.h, Cemgr.idl.
See Also
Send Feedback on this topic to the authors