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.

55 lines
2.0 KiB

  1. BOOL MatchLocale(DWORD dwReqLocale, DWORD dwPkgLocale);
  2. BOOL MatchPlatform(CSPLATFORM *pReqPlatform, CSPLATFORM *pPkgPlatform);
  3. //---------------------------------------------------------------
  4. // Query
  5. //----------------------------------------------------------------
  6. HRESULT StartQuery(IDBCreateCommand ** ppIDBCreateCommand);
  7. HRESULT EndQuery(IDBCreateCommand * pIDBCreateCommand);
  8. HRESULT ExecuteQuery (IDBCreateCommand * pIDBCreateCommand,
  9. LPWSTR pszCommandText,
  10. UINT nColumns,
  11. DBBINDING * pBinding,
  12. HACCESSOR * phAccessor,
  13. IAccessor ** ppIAccessor,
  14. IRowset ** ppIRowset
  15. );
  16. HRESULT FetchInstallData(IRowset *pIRowset,
  17. HACCESSOR hAccessor,
  18. QUERYCONTEXT *pQryContext,
  19. LPOLESTR pszFileExt,
  20. ULONG cRows,
  21. ULONG *pcRowsFetched,
  22. INSTALLINFO *pInstallInfo,
  23. UINT *pdwPriority
  24. );
  25. HRESULT FetchPackageInfo(IRowset *pIRowset,
  26. HACCESSOR hAccessor,
  27. DWORD dwFlags,
  28. DWORD *pdwLocale,
  29. CSPLATFORM *pPlatform,
  30. ULONG cRows,
  31. ULONG *pcRowsFetched,
  32. PACKAGEDISPINFO *pPackageInfo
  33. );
  34. HRESULT FetchCategory(IRowset * pIRowset,
  35. HACCESSOR hAccessor,
  36. ULONG cRows,
  37. ULONG * pcRowsFetched,
  38. APPCATEGORYINFO ** pCategory,
  39. LCID Locale
  40. );
  41. HRESULT CloseQuery(IAccessor *pAccessor,
  42. HACCESSOR hAccessor,
  43. IRowset *pIRowset);
  44. #define PACKAGEQUERY_COLUMN_COUNT 16
  45. #define PACKAGEENUM_COLUMN_COUNT 12
  46. #define APPCATEGORY_COLUMN_COUNT 2