IAgentEx::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 Microsoft Agent server.

  • 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.