RatingEnableRatingEnable*
*Contents  *Index  *Topic Contents
*Previous Topic: RatingCheckUserAccess
*Next Topic: RatingEnabledQuery

RatingEnable

HRESULT RatingEnable(
     HWND hwndParent, 
     LPCSTR pszUsername, 
     BOOL fEnable);

Enables or disables ratings.

hwndParent
Handle of a parent window used for any dialog boxes that might be presented.
pszUsername
Address of a string that contains the name of the user requesting that ratings should be enabled or disabled.
fEnable
Boolean value indicating whether ratings should be enabled or disabled. TRUE indicates that ratings should be enabled. FALSE indicates the contrary.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.