IAgentCharacterEx::GetVersion

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

HRESULT GetVersion(
   short * psMajor,  // address of major version
   short * psMinor   // address of minor version
);

Retrieves the version number of the character standard animation set.

  • Returns S_OK to indicate the operation was successful.

psMajor

Address of a variable that receives the major version.

psMinor

Address of a variable that receives the minor version.

The standard animation set version number is automatically set when you build it with the Microsoft Agent Character Editor.