次の方法で共有


ICcCeshCB::GetCommand (Windows Embedded CE 6.0)

1/5/2010

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
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

ICcCeshCB
Core Connectivity Interfaces