| ratings.h (7.00.6001.18000-Windows 6.0) | | ratings.h (11.00.9600.18315-Windows 7.0) |
| | |
| skipping to change at line 54 | | skipping to change at line 54 |
| | |
| STDAPI RatingClickedOnPRFInternal(HWND hWndOwner, HINSTANCE /*p_hInstance*/, __i
n LPSTR lpszFileName, int nShow); | | STDAPI RatingClickedOnPRFInternal(HWND hWndOwner, HINSTANCE /*p_hInstance*/, __i
n LPSTR lpszFileName, int nShow); |
| STDAPI RatingClickedOnRATInternal(HWND hWndOwner, HINSTANCE /*p_hInstance*/, __i
n LPSTR lpszFileName, int nShow); | | STDAPI RatingClickedOnRATInternal(HWND hWndOwner, HINSTANCE /*p_hInstance*/, __i
n LPSTR lpszFileName, int nShow); |
| | |
| STDAPI RatingEnabledQuery(); | | STDAPI RatingEnabledQuery(); |
| STDAPI RatingInit(); | | STDAPI RatingInit(); |
| STDAPI_(void) RatingTerm(); | | STDAPI_(void) RatingTerm(); |
| | |
| // A way to check if ratings are installed. We still need to calling | | // A way to check if ratings are installed. We still need to calling |
| // ratings dll to find out for sure but this allows us to delay load ratings. | | // ratings dll to find out for sure but this allows us to delay load ratings. |
|
| _inline BOOL IS_RATINGS_ENABLED() | | __inline BOOL IS_RATINGS_ENABLED() |
| { | | { |
| TCHAR szSup[200]; | | TCHAR szSup[200]; |
| DWORD dwType; | | DWORD dwType; |
| DWORD cbSize = sizeof(szSup); | | DWORD cbSize = sizeof(szSup); |
| | |
| return (SHGetValue(HKEY_LOCAL_MACHINE, | | return (SHGetValue(HKEY_LOCAL_MACHINE, |
| TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Polic
ies\\Ratings"), | | TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Polic
ies\\Ratings"), |
| TEXT("Key"), | | TEXT("Key"), |
| &dwType, szSup, &cbSize) == ERROR_SUCCESS); | | &dwType, szSup, &cbSize) == ERROR_SUCCESS); |
| } | | } |
| | |
| End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added |
|