Export (0) Print
Expand All

RatingEnabledQuery function

Note  The Internet Ratings API is deprecated, and will be removed in a future release. Use Windows 8 Family Safety feature instead.

Reports whether ratings should be enforced.

Syntax


HRESULT RatingEnabledQuery(void);

Parameters

This function has no parameters.

Return value

Returns one of the following values. 

Return codeDescription
S_OK

Ratings are enabled and should be enforced.

S_FALSE

Ratings are disabled and should be ignored.

 

Remarks

If the supervisor has not configured any restrictions or has temporarily disabled them, the application can allow access to all content and does not have to call any other rating functions.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Product

Internet Explorer 4.0

Header

Ratings.h

Library

Msrating.lib

DLL

Msrating.dll

 

 

Show:
© 2015 Microsoft