Score Property
Collapse the table of content
Expand the table of content

IProvideWinSATAssessmentInfo::Score property

[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(
  [out] float *score
);

Property value

The score for the subcomponent.

Error codes

Returns S_OK if successful.

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

None supported

End of client support

Windows 8.1

End of server support

None supported

Header

Winsatcominterfacei.h

DLL

Winsatapi.dll

See also

IProvideWinSATAssessmentInfo
Win32_WinSAT

 

 

Community Additions

ADD
Show:
© 2016 Microsoft