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.
31 lines
766 B
31 lines
766 B
#ifndef _UTILS_H_
|
|
#define _UTILS_H_
|
|
|
|
#ifndef ISNULL
|
|
#define ISNULL(psz) (*(psz) == TEXT('\0'))
|
|
#endif
|
|
|
|
#ifndef ISNONNULL
|
|
#define ISNONNULL(psz) (*(psz) != TEXT('\0'))
|
|
#endif
|
|
|
|
DWORD FolderSize(LPCTSTR pszFolderName);
|
|
HRESULT CopyFilesSrcToDest(LPCTSTR pszSrcPath, LPCTSTR pszSrcFilter, LPCTSTR pszDestPath,
|
|
DWORD dwTicks = 0);
|
|
|
|
void TooBig(HWND hWnd, WORD id);
|
|
void SetWindowTextSmart(HWND hwnd, LPCTSTR pcszText);
|
|
|
|
DWORD ShellExecAndWait(SHELLEXECUTEINFO shInfo);
|
|
|
|
LPTSTR StrTok(LPTSTR pcszToken, LPCTSTR pcszDelimit);
|
|
|
|
void LVGetItems(HWND hwndLV);
|
|
|
|
LPTSTR GetOutputPlatformDir();
|
|
|
|
int GetRole(BOOL g_fBranded, BOOL g_fIntranet);
|
|
|
|
BOOL IsIconsInFavs(LPCTSTR pcszSection, LPCTSTR pcszCustIns);
|
|
|
|
#endif
|