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.

32 lines
1.1 KiB

  1. //+--------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1994 - 1997.
  5. //
  6. // File: packages.h
  7. //
  8. // Contents: Methods on CScopePane related to package deployment
  9. // and maintenence of the various index and cross-reference
  10. // structures.
  11. //
  12. // Classes:
  13. //
  14. // Functions: CopyPackageDetail
  15. // FreePackageDetail
  16. // GetPackageProperty
  17. //
  18. // History: 2-03-1998 stevebl Created
  19. // 3-25-1998 stevebl Added GetMsiProperty
  20. // 5-20-1998 RahulTh Added GetUNCPath
  21. // Added GetCapitalizedExt
  22. //
  23. //---------------------------------------------------------------------------
  24. HRESULT CopyPackageDetail(PACKAGEDETAIL * & ppdOut, PACKAGEDETAIL * & ppdIn);
  25. void FreePackageDetail(PACKAGEDETAIL * & ppd);
  26. UINT GetMsiProperty(const TCHAR * szPackagePath, const TCHAR* szProperty, TCHAR* szValue, DWORD* puiSize);
  27. HRESULT GetUNCPath (LPCOLESTR szPath, CString& szUNCPath);
  28. BOOL GetCapitalizedExt (LPCOLESTR szName, CString& szExt);