Leaked source code of windows server 2003
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.

51 lines
1.9 KiB

  1. //+------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1996-1999
  5. //
  6. // File: cstore.h
  7. //
  8. // Header for class store
  9. //-------------------------------------------------------------------------
  10. #if _MSC_VER > 1000
  11. #pragma once
  12. #endif
  13. #include "cs.h"
  14. void GetDefaultPlatform(CSPLATFORM *pPlatform,
  15. BOOL fArchitectureOverride = FALSE ,
  16. LONG OverridingArchitecture = 0);
  17. BOOL InitializeClassStore(BOOL fInit);
  18. void Uninitialize();
  19. STDAPI CsGetClassAccess(IClassAccess ** ppIClassAccess);
  20. STDAPI CsEnumApps(LPOLESTR pszPackageName,
  21. GUID *pCategory,
  22. ULONGLONG *pLastUsn,
  23. DWORD dwAppFlags,
  24. IEnumPackage **ppIEnumPackage);
  25. STDAPI CsGetAppInfo(uCLSSPEC * pclsspec,
  26. QUERYCONTEXT * pQueryContext,
  27. PACKAGEDISPINFO * pPackageInfo);
  28. STDAPI CsCreateClassStore(LPWSTR szServerName, LPWSTR szPath);
  29. STDAPI CsGetClassStore(LPWSTR szPath, void **ppIClassAdmin);
  30. STDAPI CsServerGetClassStore(LPWSTR szServerName, LPWSTR szPath, void **ppIClassAdmin);
  31. STDAPI CsDeleteClassStore(LPWSTR szPath);
  32. STDAPI CsGetAppCategories(APPCATEGORYINFOLIST *pAppCategoryList);
  33. STDAPI CsRegisterAppCategory(APPCATEGORYINFO *pAppCategory);
  34. STDAPI CsUnregisterAppCategory (GUID *pAppCategoryId);
  35. STDAPI CsGetClassStorePath(LPOLESTR DSProfilePath, LPOLESTR *pCSPath);
  36. STDAPI CsSetClassStorePath(LPOLESTR DSProfilePath, LPOLESTR szCSPath);
  37. STDAPI ReleasePackageInfo(PACKAGEDISPINFO *pPackageInfo);
  38. STDAPI ReleaseInstallInfo(INSTALLINFO *pInstallInfo);
  39. STDAPI ReleasePackageDetail(PACKAGEDETAIL *pPackageDetail);
  40. STDAPI ReleaseAppCategoryInfoList(APPCATEGORYINFOLIST *pAppCategoryInfoList);
  41. void CsSetOptions( DWORD dwOptions );
  42. const DWORD CsOption_AdminTool = 0x1;