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.

35 lines
896 B

  1. //\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\
  2. //
  3. // utils.h
  4. //
  5. // Misc routines.
  6. //
  7. // History:
  8. //
  9. // 6/25/97 tnoonan Created.
  10. //
  11. ////////////////////////////////////////////////////////////////////////////////
  12. //
  13. // Check for previous includes of this file.
  14. //
  15. #ifndef _UTILS_H_
  16. #define _UTILS_H_
  17. #define MAX_DEFCHANNELNAME 64
  18. HRESULT GetURLFromIni(LPCTSTR pszPath, BSTR* pbstrURL);
  19. HRESULT GetNameAndURLAndSubscriptionInfo(LPCTSTR pszPath, BSTR* pbstrName,
  20. BSTR* pbstrURL, SUBSCRIPTIONINFO* psi);
  21. int CDFMessageBox(HWND hwnd, UINT idTextFmt, UINT idCaption, UINT uType, ...);
  22. BOOL DownloadCdfUI(HWND hwnd, LPCWSTR szURL, IXMLDocument* pIMLDocument);
  23. BOOL IsGlobalOffline(void);
  24. void SetGlobalOffline(BOOL fOffline);
  25. BOOL CanSubscribe(LPCWSTR pwszURL);
  26. #endif