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.

31 lines
766 B

  1. #ifndef _UTILS_H_
  2. #define _UTILS_H_
  3. #ifndef ISNULL
  4. #define ISNULL(psz) (*(psz) == TEXT('\0'))
  5. #endif
  6. #ifndef ISNONNULL
  7. #define ISNONNULL(psz) (*(psz) != TEXT('\0'))
  8. #endif
  9. DWORD FolderSize(LPCTSTR pszFolderName);
  10. HRESULT CopyFilesSrcToDest(LPCTSTR pszSrcPath, LPCTSTR pszSrcFilter, LPCTSTR pszDestPath,
  11. DWORD dwTicks = 0);
  12. void TooBig(HWND hWnd, WORD id);
  13. void SetWindowTextSmart(HWND hwnd, LPCTSTR pcszText);
  14. DWORD ShellExecAndWait(SHELLEXECUTEINFO shInfo);
  15. LPTSTR StrTok(LPTSTR pcszToken, LPCTSTR pcszDelimit);
  16. void LVGetItems(HWND hwndLV);
  17. LPTSTR GetOutputPlatformDir();
  18. int GetRole(BOOL g_fBranded, BOOL g_fIntranet);
  19. BOOL IsIconsInFavs(LPCTSTR pcszSection, LPCTSTR pcszCustIns);
  20. #endif