Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.6 KiB

  1. BOOL MatchLocale(DWORD dwReqLocale, DWORD dwPkgLocale);
  2. BOOL MatchPlatform(CSPLATFORM *pReqPlatform, CSPLATFORM *pPkgPlatform);
  3. //---------------------------------------------------------------
  4. // Query
  5. //----------------------------------------------------------------
  6. HRESULT FetchInstallData(HANDLE hADs,
  7. ADS_SEARCH_HANDLE hADsSearchHandle,
  8. QUERYCONTEXT *pQryContext,
  9. uCLSSPEC *pclsspec,
  10. LPOLESTR pszFileExt,
  11. ULONG cRows,
  12. ULONG *pcRowsFetched,
  13. PACKAGEDISPINFO *pPackageInfo,
  14. UINT *pdwPriority,
  15. BOOL OnDemandInstallOnly
  16. );
  17. HRESULT FetchPackageInfo(HANDLE hADs,
  18. ADS_SEARCH_HANDLE hADsSearchHandle,
  19. DWORD dwFlags,
  20. CSPLATFORM *pPlatform,
  21. ULONG cRows,
  22. ULONG *pcRowsFetched,
  23. PACKAGEDISPINFO *pPackageInfo,
  24. BOOL *fFirst
  25. );
  26. HRESULT FetchCategory(HANDLE hADs,
  27. ADS_SEARCH_HANDLE hADsSearchHandle,
  28. APPCATEGORYINFOLIST *pCategoryInfoList,
  29. LCID Locale
  30. );
  31. void GetCurrentUsn(LPOLESTR szStoreUsn);