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.

20 lines
992 B

  1. #pragma once
  2. extern const TCHAR C_DOWNLD_DIR[];
  3. extern TCHAR g_szWUDir[MAX_PATH+1]; //Path to windows update directory
  4. /////////////////////////////////////////////////////////////////////
  5. // audirectory.cpp
  6. /////////////////////////////////////////////////////////////////////
  7. int DelDir(LPCTSTR lpszDir);
  8. int RegExpDelFile(LPCTSTR tszFilePath, LPCTSTR tszFilePattern);
  9. BOOL AUDelFileOrDir(LPCTSTR szFileOrDir);
  10. BOOL CreateWUDirectory(BOOL fGetPathOnly = FALSE);
  11. HRESULT GetDownloadPath(LPTSTR lpszDir, DWORD dwCchSize);
  12. HRESULT MakeTempDownloadDir(LPTSTR pstrTarget, DWORD dwCchSize);
  13. HRESULT GetRTFDownloadPath(LPTSTR lpszDir, DWORD dwCchSize);
  14. HRESULT GetRTFDownloadPath(LPTSTR lpszDir, DWORD dwCchSize, LANGID langid);
  15. HRESULT GetRTFLocalFileName(BSTR bstrRTFUrl, LPTSTR lpszFileName, DWORD dwCchSize, LANGID langid);
  16. HRESULT GetCabsDownloadPath(LPTSTR lpszDir, DWORD dwCchSize );
  17. BOOL EnsureDirExists(LPCTSTR lpDir);
  18. HRESULT LOGXMLFILE(LPCTSTR szFileName, BSTR bstrMessage);