IClusCfgNodeInfo::GetOSVersion method

[This method is available for use only in Windows Server 2003.]

Retrieves the version of the operating system installed on the local computer.

Syntax

HRESULT GetOSVersion(
  [out] DWORD *pdwMajorVersionOut,
  [out] DWORD *pdwMinorVersionOut,
  [out] WORD  *pwSuiteMaskOut,
  [out] BYTE  *pbProductTypeOut,
  [out] BSTR  *pbstrCSDVersionOut
);

Parameters

  • pdwMajorVersionOut [out]
    Pointer to a DWORD that receives the major version of the operating system.

  • pdwMinorVersionOut [out]
    Pointer to a DWORD that receives the minor version of the operating system.

  • pwSuiteMaskOut [out]
    Pointer to a WORD that receives the suite mask of the operating system.

  • pbProductTypeOut [out]
    Byte array that receives the product type of the operating system.

  • pbstrCSDVersionOut [out]
    Pointer to a BSTR that receives the CSD version of the operating system.

Return value

If the GetOSVersion method successfully retrieves the operating system version, it returns S_OK.

Any other HRESULT value indicates that the call failed.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2003

End of server support

Windows Server 2003

IDL

ClusCfgServer.idl

DLL

ClCfgSrv.dll

IID

IID_IClusCfgNodeInfo is defined as E4B5FA15-DD07-439E-A623-8823524E3D19

See also

IClusCfgNodeInfo