IAgentCharacterEx::GetGUID

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

HRESULT GetGUID(
   BSTR * pbszGUID  // address of character's ID
);

Retrieves the unique ID for the character.

  • Returns S_OK to indicate the operation was successful.

pbszGUID

Address of a BSTR that receives the ID for the character.

The property returns a string representation of the GUID (formatted with braces and dashes) that the server uses to uniquely identify the character. A character identifier is set when it is compiled with the Microsoft Agent Character Editor. The property is read-only.