Partager via


ICcCeshCB::GetCommand (Windows CE 5.0)

Send Feedback

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

Core Connectivity Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.