IProvideWinSATAssessmentInfo::get_Score method (winsatcominterfacei.h)

[IProvideWinSATAssessmentInfo::Score may be altered or unavailable for releases after Windows 8.1.]

Retrieves the score for the subcomponent.

This property is read-only.

Syntax

HRESULT get_Score(
  float *score
);

Parameters

score

Return value

None

Remarks

The score represents the subcomponent's metrics as normalized by WinSAT. The score is a floating point value that should be displayed with only one significant digit to the right of the decimal point. The value is 0.0 if the assessment is unavailable or not valid.

A user can use the score to determine if a subcomponent of the computer can support a specific type of application. For example, a user that spends more time reading or writing documents may require a higher score for the disk than a user who runs scientific applications, and a user who runs scientific applications would probably want a higher CPU subcomponent score and may not be concerned with a lower disk score.

To get the base score for the computer, call the IProvideWinSATResultsInfo::get_SystemRating method.

Examples

For an example, see the IProvideWinSATResultsInfo::GetAssessmentInfo method.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header winsatcominterfacei.h
DLL Winsatapi.dll

See also

IProvideWinSATAssessmentInfo

Win32_WinSAT