5/13/2011
This method is used by the device imaging component to get the last known device status that was set by a call to IImageDeploymentManager::SetDeviceStatus.
Syntax
HRESULT GetDeviceStatus( const BSTR DeploymentJobID, const BSTR DeviceID, ImageDeploymentStatus* pDeviceStatus, BSTR optionalMessage ); |
Parameters
- DeploymentJobID
-
[in] ID of the device imaging deployment.
- DeviceID
-
[in] ID of the device.
- pDeviceStatus
-
[out] Pointer to the status of the device.
- optionalMessage
-
[out] Message that can be included to provide more information.
Return Value
The following table shows the possible return values.
Value |
Description |
S_OK |
Success. |
E_INVALIDARG |
Invalid parameter passed to the method. |
E_OUTOFMEMORY |
OUT parameter contains insufficient buffer. |
E_FAIL |
OUT parameter is invalid (access violation). |
Remarks
None