RatingAccessDeniedDialog2RatingAccessDeniedDialog2*
*



Contents  *



Index  *Topic Contents
*Previous Topic: RatingAccessDeniedDialog
*Next Topic: RatingCheckUserAccess

RatingAccessDeniedDialog2

HRESULT RatingAccessDeniedDialog2(
     HWND hwndParent, 
     LPCSTR pszUsername, 
     LPVOID pRatingDetails);

This function is identical in functionality to RatingAccessDeniedDialog except that if a ratings dialog box is already being displayed modal to the specified parent window, the details from the second call are inserted into the existing dialog box.

hwndParent
Handle to the parent window for the modal dialog box.
pszUsername
Address of a string that contains the name of the user who was denied access. If this parameter is NULL, the user name is extracted from the structure specified by pRatingDetails, or the current user name is used.
pRatingDetails
Opaque pointer returned by the RatingCheckUserAccess function. This parameter can provide the dialog box with additional information about why access was denied, such as whether the site is considered rated, which ratings exceeded limits, and where the rating was obtained.

See also RatingCheckUserAccess


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