windows-nt/Source/XPSP1/NT/com/ole32/cs/backend/qry.hxx

38 lines
1.6 KiB
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
BOOL MatchLocale(DWORD dwReqLocale, DWORD dwPkgLocale);
BOOL MatchPlatform(CSPLATFORM *pReqPlatform, CSPLATFORM *pPkgPlatform);
//---------------------------------------------------------------
// Query
//----------------------------------------------------------------
HRESULT FetchInstallData(HANDLE hADs,
ADS_SEARCH_HANDLE hADsSearchHandle,
QUERYCONTEXT *pQryContext,
uCLSSPEC *pclsspec,
LPOLESTR pszFileExt,
ULONG cRows,
ULONG *pcRowsFetched,
PACKAGEDISPINFO *pPackageInfo,
UINT *pdwPriority,
BOOL OnDemandInstallOnly
);
HRESULT FetchPackageInfo(HANDLE hADs,
ADS_SEARCH_HANDLE hADsSearchHandle,
DWORD dwFlags,
CSPLATFORM *pPlatform,
ULONG cRows,
ULONG *pcRowsFetched,
PACKAGEDISPINFO *pPackageInfo,
BOOL *fFirst
);
HRESULT FetchCategory(HANDLE hADs,
ADS_SEARCH_HANDLE hADsSearchHandle,
APPCATEGORYINFOLIST *pCategoryInfoList,
LCID Locale
);
void GetCurrentUsn(LPOLESTR szStoreUsn);