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.
- Returns one of the following values:
S_OK The supervisor entered the password. Access should be allowed. S_FALSE The user is still denied access to the content. Error values An error occurred.
- 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
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.