windows-nt/Source/XPSP1/NT/enduser/windows.com/wuau/inc/audirectory.h

21 lines
992 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
#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);