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

#pragma once
extern const TCHAR C_DOWNLD_DIR[];
extern TCHAR g_szWUDir[MAX_PATH+1]; //Path to windows update directory
/////////////////////////////////////////////////////////////////////
// audirectory.cpp
/////////////////////////////////////////////////////////////////////
int DelDir(LPCTSTR lpszDir);
int RegExpDelFile(LPCTSTR tszFilePath, LPCTSTR tszFilePattern);
BOOL AUDelFileOrDir(LPCTSTR szFileOrDir);
BOOL CreateWUDirectory(BOOL fGetPathOnly = FALSE);
HRESULT GetDownloadPath(LPTSTR lpszDir, DWORD dwCchSize);
HRESULT MakeTempDownloadDir(LPTSTR pstrTarget, DWORD dwCchSize);
HRESULT GetRTFDownloadPath(LPTSTR lpszDir, DWORD dwCchSize);
HRESULT GetRTFDownloadPath(LPTSTR lpszDir, DWORD dwCchSize, LANGID langid);
HRESULT GetRTFLocalFileName(BSTR bstrRTFUrl, LPTSTR lpszFileName, DWORD dwCchSize, LANGID langid);
HRESULT GetCabsDownloadPath(LPTSTR lpszDir, DWORD dwCchSize );
BOOL EnsureDirExists(LPCTSTR lpDir);
HRESULT LOGXMLFILE(LPCTSTR szFileName, BSTR bstrMessage);