Share via


ICcCeshCB::GetCommand (Compact 2013)

3/26/2014

Deprecated.

This method notifies clients when a Target Control service on the device requests that a new command be run on the device.

Syntax

HRESULT GetCommand(
  int nMaxCmdSize,
  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 Value

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

Header

ccceshcb.h

See Also

Reference

ICcCeshCB
Core Connectivity Interfaces