Platform SDK: Agent

IAgentCommands::GetCommand

HRESULT GetCommand(
   long dwCommandID,         // Command ID
   IUnknown ** ppunkCommand  // address of IUnknown interface
);                    

Retrieves a Command object from the Commands collection.

dwCommandID
The ID of a Command object in the Commands collection.
IUnknown
The address of the IUnknown interface for the Command object.

See Also

IAgentCommand