IAgent::GetCharacter

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

HRESULT GetCharacter(
   long dwCharID  // character ID
);

Retrieves the IAgentCharacter for a loaded character.

  • Returns S_OK to indicate the operation was successful.

DwCharID

The character's ID.