Partager via


pfnCommandCallback (Windows Embedded CE 6.0)

1/6/2010

This is the function prototype for the callback function to StartCommandHandler.

Syntax

typedef HRESULT STDAPICALLTYPE pfnCommandCallback(
    DWORD dwCmd,
  const CCommandPacket *pCmdIn,
  CCommandPacket *pCmdOut
);

Parameters

  • dwCmd
    Command ID sent by the desktop
  • pCmdIn
    Command object with the data from the desktop.
  • pCmdOut
    Command object you use to send data back to the desktop.

Return Value

The return value is ignored by the framework.

When the desktop wants to stop, it will send a value of 0xFFFFFFFF (END_COMMAND) as the dwCmd.

See Also

Reference

Remote Tools Framework Functions
Remote Tools Framework Reference
StartCommandHandler