IVersionInfo::GetBuildVersion

Clients call IVersionInfo::GetBuildVersion to access build information for a specified component.

HRESULT GetBuildVersion(
ULONGulSub,DWORD* pdwMajor,DWORD* pdwMinor);

Parameters

  • ulSub
    [in] The ordinal position of the component in the tree.
  • pdwMajor
    [out] The major build version of the component specified in ulSub.
  • pdwMinor
    [out] The minor build version of the component specified in ulSub.

Return Values

If successful, returns S_OK. If not successful, returns a standard COM error code.

Requirements

**  Windows NT/2000/XP/Server 2003:** Included in Windows XP and Windows Server 2003.
**  Windows 95/98/Me:** Unsupported.
**  Redistributable:** Requires Active Accessibility 2.0 RDK on Windows NT 4.0 SP6 and Windows 98.
**  Header:** Declared in Msaatext.h.