IAgentCommand::GetID

[Microsoft Agent is deprecated as of Windows 7, and may be unavailable in subsequent versions of Windows.]

HRESULT GetID(
   long * pdwID  // address of ID for Command
);

Retrieves the ID for a Command.

  • Returns S_OK to indicate the operation was successful.

pdwID

The address of a variable that receives the ID of a Command.

See Also

IAgentCommands::Add, IAgentCommands::Insert, IAgentCommands::Remove