Share via


PushCommand (Windows Embedded CE 6.0)

1/6/2010

This function sends a command to the desktop and is used when you want to push data to the desktop asynchronously.

Syntax

RTFSUPP_API HRESULT PushCommand(
  DWORD dwCmd,
  HPACKET hPacket
);

Parameters

  • dwCmd
    [in] Command ID

    This will be the CommandID property of the command packet when the desktop receives the command.

  • hPacket
    A handle to a command packet.

Return Value

S_OK indicates success.

RT_ERROR_ALLOCATEDSIZETOOSMALL indicates that you need to call SetReservedSize to increase the reserved space in a packet.

See Also

Reference

Remote Tools Framework Functions
Remote Tools Framework Reference