windows-nt/Source/XPSP1/NT/com/ole32/cs/backend/qry.hxx
2020-09-26 16:20:57 +08:00

38 lines
1.6 KiB
C++

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);