IAgentCommands::GetCommand
[Microsoft Agent is deprecated as of Windows 7, and may be unavailable in subsequent versions of Windows.]
HRESULT GetCommand(
long dwCommandID, // Command ID
IUnknown ** ppunkCommand // address of IUnknown interface
);
Retrieves a Command object from the Commands collection.
- Returns S_OK to indicate the operation was successful.
See Also