20#ifndef __WINE_URLMON_MAIN_H
21#define __WINE_URLMON_MAIN_H
152#define FLAG_REQUEST_COMPLETE 0x0001
153#define FLAG_FIRST_CONTINUE_COMPLETE 0x0002
154#define FLAG_FIRST_DATA_REPORTED 0x0004
155#define FLAG_ALL_DATA_READ 0x0008
156#define FLAG_LAST_DATA_REPORTED 0x0010
157#define FLAG_RESULT_REPORTED 0x0020
158#define FLAG_ERROR 0x0040
159#define FLAG_SYNC_READ 0x0080
194 } default_protocol_handler;
static void * heap_alloc(size_t len)
#define InterlockedIncrement
#define InterlockedDecrement
#define WideCharToMultiByte
#define MultiByteToWideChar
static IN DWORD IN LPVOID lpvReserved
#define memcpy(s1, s2, n)
#define protocol_start(p, u, e)
static BOOL bind_to_object
IInternetProtocolEx IInternetProtocolEx_iface
IInternetProtocol IInternetProtocol_iface
IBindCallbackRedirect * redirect_callback
IServiceProvider * service_provider
IInternetProtocol * protocol_handler
IInternetProtocolSink * protocol_sink_handler
IInternetProtocolSink * protocol_sink
IInternetProtocol * protocol
IInternetBindInfo * bind_info
IInternetBindInfo IInternetBindInfo_iface
IInternetPriority IInternetPriority_iface
IInternetProtocolSink IInternetProtocolSink_iface
IServiceProvider IServiceProvider_iface
task_header_t * task_queue_head
HRESULT(* start_downloading)(Protocol *)
void(* on_error)(Protocol *, DWORD)
void(* close_connection)(Protocol *)
HRESULT(* end_request)(Protocol *)
const ProtocolVtbl * vtbl
IInternetProtocol * protocol
IInternetProtocolSink * protocol_sink
HRESULT GopherProtocol_Construct(IUnknown *pUnkOuter, LPVOID *ppobj) DECLSPEC_HIDDEN
HRESULT protocol_lock_request(Protocol *) DECLSPEC_HIDDEN
void free_session(void) DECLSPEC_HIDDEN
static void URLMON_LockModule(void)
HRESULT SecManagerImpl_Construct(IUnknown *pUnkOuter, LPVOID *ppobj) DECLSPEC_HIDDEN
HRESULT create_binding_protocol(BindProtocol **) DECLSPEC_HIDDEN
HRESULT find_mime_from_ext(const WCHAR *, WCHAR **) DECLSPEC_HIDDEN
HRESULT ZoneMgrImpl_Construct(IUnknown *pUnkOuter, LPVOID *ppobj) DECLSPEC_HIDDEN
tls_data_t * get_tls_data(void) DECLSPEC_HIDDEN
void update_user_agent(WCHAR *) DECLSPEC_HIDDEN
void find_domain_name(const WCHAR *, DWORD, INT *) DECLSPEC_HIDDEN
HINSTANCE hProxyDll DECLSPEC_HIDDEN
HINTERNET get_internet_session(IInternetBindInfo *) DECLSPEC_HIDDEN
const char * debugstr_bindstatus(ULONG) DECLSPEC_HIDDEN
HRESULT HttpSProtocol_Construct(IUnknown *pUnkOuter, LPVOID *ppobj) DECLSPEC_HIDDEN
HRESULT register_namespace(IClassFactory *, REFIID, LPCWSTR, BOOL) DECLSPEC_HIDDEN
static LPWSTR heap_strdupAtoW(const char *str)
static char * heap_strdupWtoA(const WCHAR *str)
HRESULT WINAPI URLMON_DllUnregisterServer(void) DECLSPEC_HIDDEN
HRESULT HttpProtocol_Construct(IUnknown *pUnkOuter, LPVOID *ppobj) DECLSPEC_HIDDEN
static void URLMON_UnlockModule(void)
void release_notif_hwnd(HWND) DECLSPEC_HIDDEN
static LPWSTR heap_strdupW(LPCWSTR str)
HRESULT Uri_Construct(IUnknown *pUnkOuter, LPVOID *ppobj) DECLSPEC_HIDDEN
HRESULT protocol_unlock_request(Protocol *) DECLSPEC_HIDDEN
HRESULT(* stop_cache_binding_proc_t)(void *, const WCHAR *, HRESULT, const WCHAR *)
void protocol_close_connection(Protocol *) DECLSPEC_HIDDEN
static LPWSTR heap_strndupW(LPCWSTR str, int len)
HRESULT FtpProtocol_Construct(IUnknown *pUnkOuter, LPVOID *ppobj) DECLSPEC_HIDDEN
HRESULT create_default_callback(IBindStatusCallback **) DECLSPEC_HIDDEN
HRESULT protocol_continue(Protocol *, PROTOCOLDATA *) DECLSPEC_HIDDEN
HRESULT WINAPI URLMON_DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv) DECLSPEC_HIDDEN
HRESULT StdURLMoniker_Construct(IUnknown *pUnkOuter, LPVOID *ppobj) DECLSPEC_HIDDEN
HRESULT protocol_abort(Protocol *, HRESULT) DECLSPEC_HIDDEN
HWND get_notif_hwnd(void) DECLSPEC_HIDDEN
BOOL WINAPI URLMON_DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) DECLSPEC_HIDDEN
HRESULT bind_to_storage(IUri *, IBindCtx *, REFIID, void **) DECLSPEC_HIDDEN
HRESULT protocol_syncbinding(Protocol *) DECLSPEC_HIDDEN
HRESULT WINAPI URLMON_DllRegisterServer(void) DECLSPEC_HIDDEN
IBindStatusCallback * bsc_from_bctx(IBindCtx *) DECLSPEC_HIDDEN
HRESULT get_protocol_handler(IUri *, CLSID *, IClassFactory **) DECLSPEC_HIDDEN
HINSTANCE urlmon_instance
HRESULT MimeFilter_Construct(IUnknown *pUnkOuter, LPVOID *ppobj) DECLSPEC_HIDDEN
HRESULT MkProtocol_Construct(IUnknown *pUnkOuter, LPVOID *ppobj) DECLSPEC_HIDDEN
IInternetProtocol * get_mime_filter(LPCWSTR) DECLSPEC_HIDDEN
HRESULT FileProtocol_Construct(IUnknown *pUnkOuter, LPVOID *ppobj) DECLSPEC_HIDDEN
BOOL is_registered_protocol(LPCWSTR) DECLSPEC_HIDDEN
HRESULT download_to_cache(IUri *, stop_cache_binding_proc_t, void *, IBindStatusCallback *) DECLSPEC_HIDDEN
WCHAR * get_useragent(void) DECLSPEC_HIDDEN
void unregister_notif_wnd_class(void) DECLSPEC_HIDDEN
IInternetProtocolInfo * get_protocol_info(LPCWSTR) DECLSPEC_HIDDEN
void set_binding_sink(BindProtocol *, IInternetProtocolSink *, IInternetBindInfo *) DECLSPEC_HIDDEN
HRESULT wrap_callback(IBindStatusCallback *, IBindStatusCallback **) DECLSPEC_HIDDEN
#define __WINE_ALLOC_SIZE(x)