ICcCeshCB::GetCommand (Windows CE 5.0)
This method notifies clients when a Target Control service on the device requests that a new command be run on the device.
HRESULT GetCommand( intnMaxCmdSize,BSTR*pbstrCommand);
Parameters
- nMaxCmdSize
[in] Maximum size allowed for a Target Control command to be run on the device. - pbstrCommand
[out, retval] Command to run on the device.
Return Values
The following table shows return values for this method.
Value | Description |
---|---|
S_OK | Indicates the client handled the callback notification properly. |
E_FAIL | Indicates failure. |
Requirements
OS Version: Windows CE 5.0 and later.
Header: CcCeshCB.h.
Link Library: none.
See Also
Send Feedback on this topic to the authors