Headers diff for msrating.dll between 11.00.9600.18315-Windows_7.0 and 11.00.9600.17416-Windows_8.1 versions



 ratings.h (11.00.9600.18315-Windows_7.0)   ratings.h (11.00.9600.17416-Windows_8.1) 
//********************************************************************* //*********************************************************************
//* Microsoft Windows ** //* Microsoft Windows **
//* Copyright (c) Microsoft Corporation. All rights reserved. ** //* Copyright (c) Microsoft Corporation. All rights reserved. **
//********************************************************************* //*********************************************************************
#pragma once #pragma once
#ifndef _RATINGS_H_ #ifndef _RATINGS_H_
#define _RATINGS_H_ #define _RATINGS_H_
#include <winapifamily.h>
#pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#include <winerror.h> #include <winerror.h>
#include <shlwapi.h> #include <shlwapi.h>
STDAPI RatingEnable(HWND hwndParent, LPCSTR pszUsername, BOOL fEnable); STDAPI RatingEnable(HWND hwndParent, LPCSTR pszUsername, BOOL fEnable);
STDAPI RatingEnableW(HWND hwndParent, LPCWSTR pszUsername, BOOL fEnable); STDAPI RatingEnableW(HWND hwndParent, LPCWSTR pszUsername, BOOL fEnable);
STDAPI RatingCheckUserAccess(__in_opt LPCSTR pszUsername, __in_opt LPCSTR pszURL STDAPI RatingCheckUserAccess(_In_opt_ LPCSTR pszUsername, _In_opt_ LPCSTR pszURL
, __in_opt LPCSTR pszRatingInfo, , _In_opt_ LPCSTR pszRatingInfo,
__in_bcount_opt(cbData) LPBYTE pData, DWORD cbData, __out_opt void **ppRatin _In_reads_bytes_opt_(cbData) LPBYTE pData, DWORD cbData, _Out_opt_ void **pp
gDetails); RatingDetails);
STDAPI RatingCheckUserAccessW(__in_opt LPCWSTR pszUsername, __in_opt LPCWSTR psz STDAPI RatingCheckUserAccessW(_In_opt_ LPCWSTR pszUsername, _In_opt_ LPCWSTR psz
URL, __in_opt LPCWSTR pszRatingInfo, URL, _In_opt_ LPCWSTR pszRatingInfo,
__in_bcount_opt(cbData) LPBYTE pData, DWORD cbData, __out_opt void **ppRatin _In_reads_bytes_opt_(cbData) LPBYTE pData, DWORD cbData, _Out_opt_ void **pp
gDetails); RatingDetails);
STDAPI RatingAccessDeniedDialog(HWND hDlg, __in_opt LPCSTR pszUsername, LPCSTR p STDAPI RatingAccessDeniedDialog(HWND hDlg, _In_opt_ LPCSTR pszUsername, LPCSTR p
szContentDescription, __out void *pRatingDetails); szContentDescription, _Out_ void *pRatingDetails);
STDAPI RatingAccessDeniedDialogW(HWND hDlg, __in_opt LPCWSTR pszUsername, LPCWST STDAPI RatingAccessDeniedDialogW(HWND hDlg, _In_opt_ LPCWSTR pszUsername, LPCWST
R pszContentDescription, __out void *pRatingDetails); R pszContentDescription, _Out_ void *pRatingDetails);
STDAPI RatingAccessDeniedDialog2(HWND hDlg, __in_opt LPCSTR pszUsername, __out v STDAPI RatingAccessDeniedDialog2(HWND hDlg, _In_opt_ LPCSTR pszUsername, _Out_ v
oid *pRatingDetails); oid *pRatingDetails);
STDAPI RatingAccessDeniedDialog2W(HWND hDlg, __in_opt LPCWSTR pszUsername, __out STDAPI RatingAccessDeniedDialog2W(HWND hDlg, _In_opt_ LPCWSTR pszUsername, _Out_
void *pRatingDetails); void *pRatingDetails);
STDAPI RatingFreeDetails(__in_opt void *pRatingDetails); STDAPI RatingFreeDetails(_In_opt_ void *pRatingDetails);
STDAPI RatingObtainCancel(HANDLE hRatingObtainQuery); STDAPI RatingObtainCancel(HANDLE hRatingObtainQuery);
STDAPI RatingObtainQuery(LPCSTR pszTargetUrl, DWORD dwUserData, STDAPI RatingObtainQuery(LPCSTR pszTargetUrl, DWORD dwUserData,
void (*fCallback)(DWORD dwUserData, HRESULT hr, LPCSTR pszRating, void *lpvR atingDetails), void (*fCallback)(DWORD dwUserData, HRESULT hr, LPCSTR pszRating, void *lpvR atingDetails),
__out_opt HANDLE *phRatingObtainQuery); _Out_opt_ HANDLE *phRatingObtainQuery);
STDAPI RatingObtainQueryW(LPCWSTR pszTargetUrl, DWORD dwUserData, STDAPI RatingObtainQueryW(LPCWSTR pszTargetUrl, DWORD dwUserData,
void (*fCallback)(DWORD dwUserData, HRESULT hr, LPCWSTR pszRating, void *lpv RatingDetails), void (*fCallback)(DWORD dwUserData, HRESULT hr, LPCWSTR pszRating, void *lpv RatingDetails),
__out_opt HANDLE *phRatingObtainQuery); _Out_opt_ HANDLE *phRatingObtainQuery);
STDAPI RatingSetupUI(HWND hDlg, LPCSTR pszUsername); STDAPI RatingSetupUI(HWND hDlg, LPCSTR pszUsername);
STDAPI RatingSetupUIW(HWND hDlg, LPCWSTR pszUsername); STDAPI RatingSetupUIW(HWND hDlg, LPCWSTR pszUsername);
#ifdef _INC_COMMCTRL #ifdef _INC_COMMCTRL
STDAPI RatingAddPropertyPage(PROPSHEETHEADER *ppsh); STDAPI RatingAddPropertyPage(PROPSHEETHEADER *ppsh);
#endif #endif
STDAPI RatingAddToApprovedSites(HWND hDlg, STDAPI RatingAddToApprovedSites(HWND hDlg,
DWORD cbPasswordBlob, DWORD cbPasswordBlob,
__inout_bcount(cbPasswordBlob) BYTE *pbPasswordB _Inout_updates_bytes_(cbPasswordBlob) BYTE *pbPa
lob, sswordBlob,
__in LPCWSTR lpszUrl, _In_ LPCWSTR lpszUrl,
BOOL fAlwaysNever, BOOL fAlwaysNever,
BOOL fSitePage, BOOL fSitePage,
BOOL fApprovedSitesEnforced); BOOL fApprovedSitesEnforced);
STDAPI RatingClickedOnPRFInternal(HWND hWndOwner, HINSTANCE /*p_hInstance*/, __i STDAPI RatingClickedOnPRFInternal(HWND hWndOwner, HINSTANCE /*p_hInstance*/, _In
n LPSTR lpszFileName, int nShow); _ LPSTR lpszFileName, int nShow);
STDAPI RatingClickedOnRATInternal(HWND hWndOwner, HINSTANCE /*p_hInstance*/, __i STDAPI RatingClickedOnRATInternal(HWND hWndOwner, HINSTANCE /*p_hInstance*/, _In
n LPSTR lpszFileName, int nShow); _ 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);
} }
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion
#endif #endif
// _RATINGS_H_ // _RATINGS_H_
 End of changes. 7 change blocks. 
26 lines changed or deleted 34 lines changed or added

This html diff was produced by rfcdiff 1.41.