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

//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\
//
// utils.h
//
// Misc routines.
//
// History:
//
// 6/25/97 tnoonan Created.
//
////////////////////////////////////////////////////////////////////////////////
//
// Check for previous includes of this file.
//
#ifndef _UTILS_H_
#define _UTILS_H_
#define MAX_DEFCHANNELNAME 64
HRESULT GetURLFromIni(LPCTSTR pszPath, BSTR* pbstrURL);
HRESULT GetNameAndURLAndSubscriptionInfo(LPCTSTR pszPath, BSTR* pbstrName,
BSTR* pbstrURL, SUBSCRIPTIONINFO* psi);
int CDFMessageBox(HWND hwnd, UINT idTextFmt, UINT idCaption, UINT uType, ...);
BOOL DownloadCdfUI(HWND hwnd, LPCWSTR szURL, IXMLDocument* pIMLDocument);
BOOL IsGlobalOffline(void);
void SetGlobalOffline(BOOL fOffline);
BOOL CanSubscribe(LPCWSTR pwszURL);
#endif