Sync to Wine-20050830:
Huw Davies <huw@codeweavers.com>
- IUnknown_SetSite calls IObjectWithSite_SetSite or
  IInternetSecurityManager_SetSecuritySite.
- Fix call to GetMenuItemInfo and unicodify while we're at it.
- Implement SHLoadIndirectString.
- _CreateAllAccessSecurityAttributes takes three parameters.
- Forward ordinals 457,458 to GetLongPathNameW,A.
- Implement SHLoadRegUIStringW.
- Partial implementation of DeleteMenuWrap.
- Implement IUnknown_EnumObjects.
- Implement and add tests for the FDSA functions.
Alexandre Julliard <julliard@winehq.org>
- Don't prefix the functions DllInstall and DllGetVersion with the dll
  name so that the compiler can check the prototypes.
Vincent Beron <vberon@mecano.gme.usherb.ca>
- Correct typo in format string.
Mike McCormack <mike@codeweavers.com>
- gcc 4.0 warning fixes.
Steven Edwards <steven_ed4153@yahoo.com>
- Correct RegCreateKeyEx[A/W] prototype to match the PSDK.
Deleted: trunk/reactos/include/wine/urlmon.h
Modified: trunk/reactos/lib/shlwapi/istream.c
Modified: trunk/reactos/lib/shlwapi/ordinal.c
Modified: trunk/reactos/lib/shlwapi/reg.c
Modified: trunk/reactos/lib/shlwapi/regstream.c
Modified: trunk/reactos/lib/shlwapi/shlwapi.spec
Modified: trunk/reactos/lib/shlwapi/shlwapi_main.c
Modified: trunk/reactos/lib/shlwapi/string.c
Modified: trunk/reactos/lib/shlwapi/thread.c
Added: trunk/reactos/w32api/include/msxml.h
Modified: trunk/reactos/w32api/include/ocidl.h
Modified: trunk/reactos/w32api/include/shlwapi.h
Added: trunk/reactos/w32api/include/urlmon.h

Deleted: trunk/reactos/include/wine/urlmon.h
--- trunk/reactos/include/wine/urlmon.h	2005-09-07 15:09:06 UTC (rev 17715)
+++ trunk/reactos/include/wine/urlmon.h	2005-09-07 15:52:47 UTC (rev 17716)
@@ -1,2286 +0,0 @@
-/*** Autogenerated by WIDL 0.1 from urlmon.idl - Do not edit ***/
-#include <rpc.h>
-#include <rpcndr.h>
-
-#ifndef __WIDL_URLMON_H
-#define __WIDL_URLMON_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-#include <objidl.h>
-#include <oleidl.h>
-#include <servprov.h>
-#ifndef __IBinding_FWD_DEFINED__
-#define __IBinding_FWD_DEFINED__
-typedef struct IBinding IBinding;
-#endif
-
-typedef IBinding *LPBINDING;
-
-/*****************************************************************************
- * IBinding interface
- */
-#ifndef __IBinding_INTERFACE_DEFINED__
-#define __IBinding_INTERFACE_DEFINED__
-
-DEFINE_GUID(IID_IBinding, 0x79eac9c0, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b);
-#if defined(__cplusplus) && !defined(CINTERFACE)
-struct IBinding : public IUnknown
-{
-    virtual HRESULT STDMETHODCALLTYPE Abort(
-        ) = 0;
-
-    virtual HRESULT STDMETHODCALLTYPE Suspend(
-        ) = 0;
-
-    virtual HRESULT STDMETHODCALLTYPE Resume(
-        ) = 0;
-
-    virtual HRESULT STDMETHODCALLTYPE SetPriority(
-        LONG nPriority) = 0;
-
-    virtual HRESULT STDMETHODCALLTYPE GetPriority(
-        LONG* pnPriority) = 0;
-
-    virtual HRESULT STDMETHODCALLTYPE GetBindResult(
-        CLSID* pclsidProtocol,
-        DWORD* pdwResult,
-        LPOLESTR* pszResult,
-        DWORD* pdwReserved) = 0;
-
-};
-#else
-typedef struct IBindingVtbl IBindingVtbl;
-struct IBinding {
-    const IBindingVtbl* lpVtbl;
-};
-struct IBindingVtbl {
-    BEGIN_INTERFACE
-
-    /*** IUnknown methods ***/
-    HRESULT (STDMETHODCALLTYPE *QueryInterface)(
-        IBinding* This,
-        REFIID riid,
-        void** ppvObject);
-
-    ULONG (STDMETHODCALLTYPE *AddRef)(
-        IBinding* This);
-
-    ULONG (STDMETHODCALLTYPE *Release)(
-        IBinding* This);
-
-    /*** IBinding methods ***/
-    HRESULT (STDMETHODCALLTYPE *Abort)(
-        IBinding* This);
-
-    HRESULT (STDMETHODCALLTYPE *Suspend)(
-        IBinding* This);
-
-    HRESULT (STDMETHODCALLTYPE *Resume)(
-        IBinding* This);
-
-    HRESULT (STDMETHODCALLTYPE *SetPriority)(
-        IBinding* This,
-        LONG nPriority);
-
-    HRESULT (STDMETHODCALLTYPE *GetPriority)(
-        IBinding* This,
-        LONG* pnPriority);
-
-    HRESULT (STDMETHODCALLTYPE *GetBindResult)(
-        IBinding* This,
-        CLSID* pclsidProtocol,
-        DWORD* pdwResult,
-        LPOLESTR* pszResult,
-        DWORD* pdwReserved);
-
-    END_INTERFACE
-};
-
-#ifdef COBJMACROS
-/*** IUnknown methods ***/
-#define IBinding_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
-#define IBinding_AddRef(p) (p)->lpVtbl->AddRef(p)
-#define IBinding_Release(p) (p)->lpVtbl->Release(p)
-/*** IBinding methods ***/
-#define IBinding_Abort(p) (p)->lpVtbl->Abort(p)
-#define IBinding_Suspend(p) (p)->lpVtbl->Suspend(p)
-#define IBinding_Resume(p) (p)->lpVtbl->Resume(p)
-#define IBinding_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a)
-#define IBinding_GetPriority(p,a) (p)->lpVtbl->GetPriority(p,a)
-#define IBinding_GetBindResult(p,a,b,c,d) (p)->lpVtbl->GetBindResult(p,a,b,c,d)
-#endif
-
-#endif
-
-HRESULT CALLBACK IBinding_Abort_Proxy(
-    IBinding* This);
-void __RPC_STUB IBinding_Abort_Stub(
-    struct IRpcStubBuffer* This,
-    struct IRpcChannelBuffer* pRpcChannelBuffer,
-    PRPC_MESSAGE pRpcMessage,
-    DWORD* pdwStubPhase);
-HRESULT CALLBACK IBinding_Suspend_Proxy(
-    IBinding* This);
-void __RPC_STUB IBinding_Suspend_Stub(
-    struct IRpcStubBuffer* This,
-    struct IRpcChannelBuffer* pRpcChannelBuffer,
-    PRPC_MESSAGE pRpcMessage,
-    DWORD* pdwStubPhase);
-HRESULT CALLBACK IBinding_Resume_Proxy(
-    IBinding* This);
-void __RPC_STUB IBinding_Resume_Stub(
-    struct IRpcStubBuffer* This,
-    struct IRpcChannelBuffer* pRpcChannelBuffer,
-    PRPC_MESSAGE pRpcMessage,
-    DWORD* pdwStubPhase);
-HRESULT CALLBACK IBinding_SetPriority_Proxy(
-    IBinding* This,
-    LONG nPriority);
-void __RPC_STUB IBinding_SetPriority_Stub(
-    struct IRpcStubBuffer* This,
-    struct IRpcChannelBuffer* pRpcChannelBuffer,
-    PRPC_MESSAGE pRpcMessage,
-    DWORD* pdwStubPhase);
-HRESULT CALLBACK IBinding_GetPriority_Proxy(
-    IBinding* This,
-    LONG* pnPriority);
-void __RPC_STUB IBinding_GetPriority_Stub(
-    struct IRpcStubBuffer* This,
-    struct IRpcChannelBuffer* pRpcChannelBuffer,
-    PRPC_MESSAGE pRpcMessage,
-    DWORD* pdwStubPhase);
-HRESULT CALLBACK IBinding_RemoteGetBindResult_Proxy(
-    IBinding* This,
-    CLSID* pclsidProtocol,
-    DWORD* pdwResult,
-    LPOLESTR* pszResult,
-    DWORD dwReserved);
-void __RPC_STUB IBinding_RemoteGetBindResult_Stub(
-    struct IRpcStubBuffer* This,
-    struct IRpcChannelBuffer* pRpcChannelBuffer,
-    PRPC_MESSAGE pRpcMessage,
-    DWORD* pdwStubPhase);
-HRESULT CALLBACK IBinding_GetBindResult_Proxy(
-    IBinding* This,
-    CLSID* pclsidProtocol,
-    DWORD* pdwResult,
-    LPOLESTR* pszResult,
-    DWORD* pdwReserved);
-HRESULT __RPC_STUB IBinding_GetBindResult_Stub(
-    IBinding* This,
-    CLSID* pclsidProtocol,
-    DWORD* pdwResult,
-    LPOLESTR* pszResult,
-    DWORD dwReserved);
-
-#endif  /* __IBinding_INTERFACE_DEFINED__ */
-
-#ifndef __IBindStatusCallback_FWD_DEFINED__
-#define __IBindStatusCallback_FWD_DEFINED__
-typedef struct IBindStatusCallback IBindStatusCallback;
-#endif
-
-typedef IBindStatusCallback *LPBINDSTATUSCALLBACK;
-
-typedef enum {
-    BINDF_ASYNCHRONOUS = 0x1,
-    BINDF_ASYNCSTORAGE = 0x2,
-    BINDF_NOPROGRESSIVERENDERING = 0x4,
-    BINDF_OFFLINEOPERATION = 0x8,
-    BINDF_GETNEWESTVERSION = 0x10,
-    BINDF_NOWRITECACHE = 0x20,
-    BINDF_NEEDFILE = 0x40,
-    BINDF_PULLDATA = 0x80,
-    BINDF_IGNORESECURITYPROBLEM = 0x100,
-    BINDF_RESYNCHRONIZE = 0x200,
-    BINDF_HYPERLINK = 0x400,
-    BINDF_NO_UI = 0x800,
-    BINDF_SILENTOPERATION = 0x1000,
-    BINDF_PRAGMA_NO_CACHE = 0x2000,
-    BINDF_GETCLASSOBJECT = 0x4000,
-    BINDF_RESERVED_1 = 0x8000,
-    BINDF_FREE_THREADED = 0x10000,
-    BINDF_DIRECT_READ = 0x20000,
-    BINDF_FORMS_SUBMIT = 0x40000,
-    BINDF_GETFROMCACHE_IF_NET_FAIL = 0x80000,
-    BINDF_FROMURLMON = 0x100000,
-    BINDF_FWD_BACK = 0x200000,
-    BINDF_PREFERDEFAULTHANDLER = 0x400000,
-    BINDF_ENFORCERESTRICTED = 0x800000
-} BINDF;
-
-typedef struct _tagBINDINFO {
-    ULONG cbSize;
-    LPWSTR szExtraInfo;
-    STGMEDIUM stgmedData;
-    DWORD grfBindInfoF;
-    DWORD dwBindVerb;
-    LPWSTR szCustomVerb;
-    DWORD cbStgmedData;
-    DWORD dwOptions;
-    DWORD dwOptionsFlags;
-    DWORD dwCodePage;
-    SECURITY_ATTRIBUTES securityAttributes;
-    IID iid;
-    IUnknown *pUnk;
-    DWORD dwReserved;
-} BINDINFO;
-
-typedef struct _REMSECURITY_ATTRIBUTES {
-    DWORD nLength;
-    DWORD lpSecurityDescriptor;
-    BOOL bInheritHandle;
-} REMSECURITY_ATTRIBUTES, *PREMSECURITY_ATTRIBUTES, *LPREMSECURITY_ATTRIBUTES;
-
-typedef struct _tagRemBINDINFO {
-    ULONG cbSize;
-    LPWSTR szExtraInfo;
-    DWORD grfBindInfoF;
-    DWORD dwBindVerb;
-    LPWSTR szCustomVerb;
-    DWORD cbstgmedData;
-    DWORD dwOptions;
-    DWORD dwOptionsFlags;
-    DWORD dwCodePage;
-    REMSECURITY_ATTRIBUTES securityAttributes;
-    IID iid;
-    IUnknown *pUnk;
-    DWORD dwReserved;
-} RemBINDINFO;
-
-typedef struct tagRemFORMATETC {
-    DWORD cfFormat;
-    DWORD ptd;
-    DWORD dwAspect;
-    LONG lindex;
-    DWORD tymed;
-} RemFORMATETC, *LPREMFORMATETC;
-
-typedef enum {
-    BSCF_FIRSTDATANOTIFICATION = 0x1,
-    BSCF_INTERMEDIATEDATANOTIFICATION = 0x2,
-    BSCF_LASTDATANOTIFICATION = 0x4,
-    BSCF_DATAFULLYAVAILABLE = 0x8,
-    BSCF_AVAILABLEDATASIZEUNKNOWN = 0x10
-} BSCF;
-
-typedef enum BINDSTATUS {
-    BINDSTATUS_FINDINGRESOURCE = 1,
-    BINDSTATUS_CONNECTING,
-    BINDSTATUS_REDIRECTING,
-    BINDSTATUS_BEGINDOWNLOADDATA,
-    BINDSTATUS_DOWNLOADINGDATA,
-    BINDSTATUS_ENDDOWNLOADDATA,
-    BINDSTATUS_BEGINDOWNLOADCOMPONENTS,
-    BINDSTATUS_INSTALLINGCOMPONENTS,
-    BINDSTATUS_ENDDOWNLOADCOMPONENTS,
-    BINDSTATUS_USINGCACHEDCOPY,
-    BINDSTATUS_SENDINGREQUEST,
-    BINDSTATUS_CLASSIDAVAILABLE,
-    BINDSTATUS_MIMETYPEAVAILABLE,
-    BINDSTATUS_CACHEFILENAMEAVAILABLE,
-    BINDSTATUS_BEGINSYNCOPERATION,
-    BINDSTATUS_ENDSYNCOPERATION,
-    BINDSTATUS_BEGINUPLOADDATA,
-    BINDSTATUS_UPLOADINGDATA,
-    BINDSTATUS_ENDUPLOADINGDATA,
-    BINDSTATUS_PROTOCOLCLASSID,
-    BINDSTATUS_ENCODING,
-    BINDSTATUS_VERFIEDMIMETYPEAVAILABLE,
-    BINDSTATUS_CLASSINSTALLLOCATION,
-    BINDSTATUS_DECODING,
-    BINDSTATUS_LOADINGMIMEHANDLER,
-    BINDSTATUS_CONTENTDISPOSITIONATTACH,
-    BINDSTATUS_FILTERREPORTMIMETYPE,
-    BINDSTATUS_CLSIDCANINSTANTIATE,
-    BINDSTATUS_IUNKNOWNAVAILABLE,
-    BINDSTATUS_DIRECTBIND,
-    BINDSTATUS_RAWMIMETYPE,
-    BINDSTATUS_PROXYDETECTING,
-    BINDSTATUS_ACCEPTRANGES,
-    BINDSTATUS_COOKIE_SENT,
-    BINDSTATUS_COMPACT_POLICY_RECEIVED,
-    BINDSTATUS_COOKIE_SUPPRESSED,
-    BINDSTATUS_COOKIE_STATE_UNKNOWN,
-    BINDSTATUS_COOKIE_STATE_ACCEPT,
-    BINDSTATUS_COOKIE_STATE_REJECT,
-    BINDSTATUS_COOKIE_STATE_PROMPT,
-    BINDSTATUS_COOKIE_STATE_LEASH,
-    BINDSTATUS_COOKIE_STATE_DOWNGRADE,
-    BINDSTATUS_POLICY_HREF,
-    BINDSTATUS_P3P_HEADER,
-    BINDSTATUS_SESSION_COOKIE_RECEIVED,
-    BINDSTATUS_PERSISTENT_COOKIE_RECEIVED,
-    BINDSTATUS_SESSION_COOKIES_ALLOWED,
-    BINDSTATUS_CACHECONTROL
-} BINDSTATUS;
-
-/*****************************************************************************
- * IBindStatusCallback interface
- */
-#ifndef __IBindStatusCallback_INTERFACE_DEFINED__
-#define __IBindStatusCallback_INTERFACE_DEFINED__
-
-DEFINE_GUID(IID_IBindStatusCallback, 0x79eac9c1, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b);
-#if defined(__cplusplus) && !defined(CINTERFACE)
-struct IBindStatusCallback : public IUnknown
-{
-    virtual HRESULT STDMETHODCALLTYPE OnStartBinding(
-        DWORD dwReserved,
-        IBinding* pib) = 0;
-
-    virtual HRESULT STDMETHODCALLTYPE GetPriority(
-        LONG* pnPriority) = 0;
-
-    virtual HRESULT STDMETHODCALLTYPE OnLowResource(
-        DWORD reserved) = 0;
-
-    virtual HRESULT STDMETHODCALLTYPE OnProgress(
-        ULONG ulProgress,
-        ULONG ulProgressMax,
-        ULONG ulStatusCode,
-        LPCWSTR szStatusText) = 0;
-
-    virtual HRESULT STDMETHODCALLTYPE OnStopBinding(
-        HRESULT hresult,
-        LPCWSTR szError) = 0;
-
-    virtual HRESULT STDMETHODCALLTYPE GetBindInfo(
-        DWORD* grfBINDF,
-        BINDINFO* pbindinfo) = 0;
-
-    virtual HRESULT STDMETHODCALLTYPE OnDataAvailable(
-        DWORD grfBSCF,
-        DWORD dwSize,
-        FORMATETC* pformatetc,
-        STGMEDIUM* pstgmed) = 0;
-
-    virtual HRESULT STDMETHODCALLTYPE OnObjectAvailable(
-        REFIID riid,
-        IUnknown* punk) = 0;
-
-};
-#else
-typedef struct IBindStatusCallbackVtbl IBindStatusCallbackVtbl;
-struct IBindStatusCallback {
-    const IBindStatusCallbackVtbl* lpVtbl;
-};
-struct IBindStatusCallbackVtbl {
-    BEGIN_INTERFACE
-
-    /*** IUnknown methods ***/
-    HRESULT (STDMETHODCALLTYPE *QueryInterface)(
-        IBindStatusCallback* This,
-        REFIID riid,
-        void** ppvObject);
-
-    ULONG (STDMETHODCALLTYPE *AddRef)(
-        IBindStatusCallback* This);
-
-    ULONG (STDMETHODCALLTYPE *Release)(
-        IBindStatusCallback* This);
-
-    /*** IBindStatusCallback methods ***/
-    HRESULT (STDMETHODCALLTYPE *OnStartBinding)(
-        IBindStatusCallback* This,
-        DWORD dwReserved,
-        IBinding* pib);
-
-    HRESULT (STDMETHODCALLTYPE *GetPriority)(
-        IBindStatusCallback* This,
-        LONG* pnPriority);
-
-    HRESULT (STDMETHODCALLTYPE *OnLowResource)(
-        IBindStatusCallback* This,
-        DWORD reserved);
-
-    HRESULT (STDMETHODCALLTYPE *OnProgress)(
-        IBindStatusCallback* This,
-        ULONG ulProgress,
-        ULONG ulProgressMax,
-        ULONG ulStatusCode,
-        LPCWSTR szStatusText);
-
-    HRESULT (STDMETHODCALLTYPE *OnStopBinding)(
-        IBindStatusCallback* This,
-        HRESULT hresult,
-        LPCWSTR szError);
-
-    HRESULT (STDMETHODCALLTYPE *GetBindInfo)(
-        IBindStatusCallback* This,
-        DWORD* grfBINDF,
-        BINDINFO* pbindinfo);
-
-    HRESULT (STDMETHODCALLTYPE *OnDataAvailable)(
-        IBindStatusCallback* This,
-        DWORD grfBSCF,
-        DWORD dwSize,
-        FORMATETC* pformatetc,
-        STGMEDIUM* pstgmed);
-
-    HRESULT (STDMETHODCALLTYPE *OnObjectAvailable)(
-        IBindStatusCallback* This,
-        REFIID riid,
-        IUnknown* punk);
-
-    END_INTERFACE
-};
-
-#ifdef COBJMACROS
-/*** IUnknown methods ***/
-#define IBindStatusCallback_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
-#define IBindStatusCallback_AddRef(p) (p)->lpVtbl->AddRef(p)
-#define IBindStatusCallback_Release(p) (p)->lpVtbl->Release(p)
-/*** IBindStatusCallback methods ***/
-#define IBindStatusCallback_OnStartBinding(p,a,b) (p)->lpVtbl->OnStartBinding(p,a,b)
-#define IBindStatusCallback_GetPriority(p,a) (p)->lpVtbl->GetPriority(p,a)
-#define IBindStatusCallback_OnLowResource(p,a) (p)->lpVtbl->OnLowResource(p,a)
-#define IBindStatusCallback_OnProgress(p,a,b,c,d) (p)->lpVtbl->OnProgress(p,a,b,c,d)
-#define IBindStatusCallback_OnStopBinding(p,a,b) (p)->lpVtbl->OnStopBinding(p,a,b)
-#define IBindStatusCallback_GetBindInfo(p,a,b) (p)->lpVtbl->GetBindInfo(p,a,b)
-#define IBindStatusCallback_OnDataAvailable(p,a,b,c,d) (p)->lpVtbl->OnDataAvailable(p,a,b,c,d)
-#define IBindStatusCallback_OnObjectAvailable(p,a,b) (p)->lpVtbl->OnObjectAvailable(p,a,b)
-#endif
-
-#endif
-
-HRESULT CALLBACK IBindStatusCallback_OnStartBinding_Proxy(
-    IBindStatusCallback* This,
-    DWORD dwReserved,
-    IBinding* pib);
-void __RPC_STUB IBindStatusCallback_OnStartBinding_Stub(
-    struct IRpcStubBuffer* This,
-    struct IRpcChannelBuffer* pRpcChannelBuffer,
-    PRPC_MESSAGE pRpcMessage,
-    DWORD* pdwStubPhase);
-HRESULT CALLBACK IBindStatusCallback_GetPriority_Proxy(
-    IBindStatusCallback* This,
-    LONG* pnPriority);
-void __RPC_STUB IBindStatusCallback_GetPriority_Stub(
-    struct IRpcStubBuffer* This,
-    struct IRpcChannelBuffer* pRpcChannelBuffer,
-    PRPC_MESSAGE pRpcMessage,
-    DWORD* pdwStubPhase);
-HRESULT CALLBACK IBindStatusCallback_OnLowResource_Proxy(
-    IBindStatusCallback* This,
-    DWORD reserved);
-void __RPC_STUB IBindStatusCallback_OnLowResource_Stub(
-    struct IRpcStubBuffer* This,
-    struct IRpcChannelBuffer* pRpcChannelBuffer,
-    PRPC_MESSAGE pRpcMessage,
-    DWORD* pdwStubPhase);
-HRESULT CALLBACK IBindStatusCallback_OnProgress_Proxy(
-    IBindStatusCallback* This,
-    ULONG ulProgress,
-    ULONG ulProgressMax,
-    ULONG ulStatusCode,
-    LPCWSTR szStatusText);
-void __RPC_STUB IBindStatusCallback_OnProgress_Stub(
-    struct IRpcStubBuffer* This,
-    struct IRpcChannelBuffer* pRpcChannelBuffer,
-    PRPC_MESSAGE pRpcMessage,
-    DWORD* pdwStubPhase);
-HRESULT CALLBACK IBindStatusCallback_OnStopBinding_Proxy(
-    IBindStatusCallback* This,
-    HRESULT hresult,
-    LPCWSTR szError);
-void __RPC_STUB IBindStatusCallback_OnStopBinding_Stub(
-    struct IRpcStubBuffer* This,
-    struct IRpcChannelBuffer* pRpcChannelBuffer,
-    PRPC_MESSAGE pRpcMessage,
-    DWORD* pdwStubPhase);
-HRESULT CALLBACK IBindStatusCallback_RemoteGetBindInfo_Proxy(
-    IBindStatusCallback* This,
-    DWORD* grfBINDF,
-    RemBINDINFO* pbindinfo,
-    RemSTGMEDIUM* pstgmed);
-void __RPC_STUB IBindStatusCallback_RemoteGetBindInfo_Stub(
-    struct IRpcStubBuffer* This,
-    struct IRpcChannelBuffer* pRpcChannelBuffer,
-    PRPC_MESSAGE pRpcMessage,
-    DWORD* pdwStubPhase);
-HRESULT CALLBACK IBindStatusCallback_GetBindInfo_Proxy(
-    IBindStatusCallback* This,
-    DWORD* grfBINDF,
-    BINDINFO* pbindinfo);
-HRESULT __RPC_STUB IBindStatusCallback_GetBindInfo_Stub(
-    IBindStatusCallback* This,
-    DWORD* grfBINDF,
-    RemBINDINFO* pbindinfo,
-    RemSTGMEDIUM* pstgmed);
-HRESULT CALLBACK IBindStatusCallback_RemoteOnDataAvailable_Proxy(
-    IBindStatusCallback* This,
-    DWORD grfBSCF,
-    DWORD dwSize,
-    RemFORMATETC* pformatetc,
-    RemSTGMEDIUM* pstgmed);
-void __RPC_STUB IBindStatusCallback_RemoteOnDataAvailable_Stub(
-    struct IRpcStubBuffer* This,
-    struct IRpcChannelBuffer* pRpcChannelBuffer,
-    PRPC_MESSAGE pRpcMessage,
-    DWORD* pdwStubPhase);
-HRESULT CALLBACK IBindStatusCallback_OnDataAvailable_Proxy(
-    IBindStatusCallback* This,
-    DWORD grfBSCF,
-    DWORD dwSize,
-    FORMATETC* pformatetc,
-    STGMEDIUM* pstgmed);
-HRESULT __RPC_STUB IBindStatusCallback_OnDataAvailable_Stub(
-    IBindStatusCallback* This,
-    DWORD grfBSCF,
-    DWORD dwSize,
-    RemFORMATETC* pformatetc,
-    RemSTGMEDIUM* pstgmed);
-HRESULT CALLBACK IBindStatusCallback_OnObjectAvailable_Proxy(
-    IBindStatusCallback* This,
-    REFIID riid,
-    IUnknown* punk);
-void __RPC_STUB IBindStatusCallback_OnObjectAvailable_Stub(
-    struct IRpcStubBuffer* This,
-    struct IRpcChannelBuffer* pRpcChannelBuffer,
-    PRPC_MESSAGE pRpcMessage,
-    DWORD* pdwStubPhase);
-
-#endif  /* __IBindStatusCallback_INTERFACE_DEFINED__ */
-
-#define SID_IBindHost IID_IBindHost
-#define SID_SBindHost IID_IBindHost
-#ifndef __IBindHost_FWD_DEFINED__
-#define __IBindHost_FWD_DEFINED__
-typedef struct IBindHost IBindHost;
-#endif
-
-typedef IBindHost *LPBINDHOST;
-
-/*****************************************************************************
- * IBindHost interface
- */
-#ifndef __IBindHost_INTERFACE_DEFINED__
-#define __IBindHost_INTERFACE_DEFINED__
-
-DEFINE_GUID(IID_IBindHost, 0xfc4801a1, 0x2ba9, 0x11cf, 0xa2,0x29, 0x00,0xaa,0x00,0x3d,0x73,0x52);
-#if defined(__cplusplus) && !defined(CINTERFACE)
-struct IBindHost : public IUnknown
-{
-    virtual HRESULT STDMETHODCALLTYPE CreateMoniker(
-        LPOLESTR szName,
-        IBindCtx* pBC,
-        IMoniker** ppmk,
-        DWORD dwReserved) = 0;
-
-    virtual HRESULT STDMETHODCALLTYPE MonikerBindToStorage(
-        IMoniker* pMk,
-        IBindCtx* pBC,
-        IBindStatusCallback* pBSC,
-        REFIID riid,
-        void** ppvObj) = 0;
-
-    virtual HRESULT STDMETHODCALLTYPE MonikerBindToObject(
-        IMoniker* pMk,
-        IBindCtx* pBC,
-        IBindStatusCallback* pBSC,
-        REFIID riid,
-        void** ppvObj) = 0;
-
-};
-#else
-typedef struct IBindHostVtbl IBindHostVtbl;
-struct IBindHost {
-    const IBindHostVtbl* lpVtbl;
-};
-struct IBindHostVtbl {
-    BEGIN_INTERFACE
-
-    /*** IUnknown methods ***/
-    HRESULT (STDMETHODCALLTYPE *QueryInterface)(
-        IBindHost* This,
-        REFIID riid,
-        void** ppvObject);
-
-    ULONG (STDMETHODCALLTYPE *AddRef)(
-        IBindHost* This);
-
-    ULONG (STDMETHODCALLTYPE *Release)(
-        IBindHost* This);
-
-    /*** IBindHost methods ***/
-    HRESULT (STDMETHODCALLTYPE *CreateMoniker)(
-        IBindHost* This,
-        LPOLESTR szName,
-        IBindCtx* pBC,
-        IMoniker** ppmk,
-        DWORD dwReserved);
-
-    HRESULT (STDMETHODCALLTYPE *MonikerBindToStorage)(
-        IBindHost* This,
-        IMoniker* pMk,
-        IBindCtx* pBC,
-        IBindStatusCallback* pBSC,
-        REFIID riid,
-        void** ppvObj);
-
-    HRESULT (STDMETHODCALLTYPE *MonikerBindToObject)(
-        IBindHost* This,
-        IMoniker* pMk,
-        IBindCtx* pBC,
-        IBindStatusCallback* pBSC,
-        REFIID riid,
-        void** ppvObj);
-
-    END_INTERFACE
-};
-
-#ifdef COBJMACROS
-/*** IUnknown methods ***/
-#define IBindHost_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
-#define IBindHost_AddRef(p) (p)->lpVtbl->AddRef(p)
-#define IBindHost_Release(p) (p)->lpVtbl->Release(p)
-/*** IBindHost methods ***/
-#define IBindHost_CreateMoniker(p,a,b,c,d) (p)->lpVtbl->CreateMoniker(p,a,b,c,d)
-#define IBindHost_MonikerBindToStorage(p,a,b,c,d,e) (p)->lpVtbl->MonikerBindToStorage(p,a,b,c,d,e)
-#define IBindHost_MonikerBindToObject(p,a,b,c,d,e) (p)->lpVtbl->MonikerBindToObject(p,a,b,c,d,e)
-#endif
-
-#endif
-
-HRESULT CALLBACK IBindHost_CreateMoniker_Proxy(
-    IBindHost* This,
-    LPOLESTR szName,
-    IBindCtx* pBC,
-    IMoniker** ppmk,
-    DWORD dwReserved);
-void __RPC_STUB IBindHost_CreateMoniker_Stub(
-    struct IRpcStubBuffer* This,
-    struct IRpcChannelBuffer* pRpcChannelBuffer,
-    PRPC_MESSAGE pRpcMessage,
-    DWORD* pdwStubPhase);
-HRESULT CALLBACK IBindHost_RemoteMonikerBindToStorage_Proxy(
-    IBindHost* This,
-    IMoniker* pMk,
-    IBindCtx* pBC,
-    IBindStatusCallback* pBSC,
-    REFIID riid,
-    IUnknown** ppvObj);
-void __RPC_STUB IBindHost_RemoteMonikerBindToStorage_Stub(
-    struct IRpcStubBuffer* This,
-    struct IRpcChannelBuffer* pRpcChannelBuffer,
-    PRPC_MESSAGE pRpcMessage,
-    DWORD* pdwStubPhase);
-HRESULT CALLBACK IBindHost_MonikerBindToStorage_Proxy(
-    IBindHost* This,
-    IMoniker* pMk,
-    IBindCtx* pBC,
-    IBindStatusCallback* pBSC,
-    REFIID riid,
-    void** ppvObj);
-HRESULT __RPC_STUB IBindHost_MonikerBindToStorage_Stub(
-    IBindHost* This,
-    IMoniker* pMk,
-    IBindCtx* pBC,
-    IBindStatusCallback* pBSC,
-    REFIID riid,
-    IUnknown** ppvObj);
-HRESULT CALLBACK IBindHost_RemoteMonikerBindToObject_Proxy(
-    IBindHost* This,
-    IMoniker* pMk,
-    IBindCtx* pBC,
-    IBindStatusCallback* pBSC,
-    REFIID riid,
-    IUnknown** ppvObj);
-void __RPC_STUB IBindHost_RemoteMonikerBindToObject_Stub(
-    struct IRpcStubBuffer* This,
-    struct IRpcChannelBuffer* pRpcChannelBuffer,
-    PRPC_MESSAGE pRpcMessage,
-    DWORD* pdwStubPhase);
-HRESULT CALLBACK IBindHost_MonikerBindToObject_Proxy(
-    IBindHost* This,
-    IMoniker* pMk,
-    IBindCtx* pBC,
-    IBindStatusCallback* pBSC,
-    REFIID riid,
-    void** ppvObj);
-HRESULT __RPC_STUB IBindHost_MonikerBindToObject_Stub(
-    IBindHost* This,
-    IMoniker* pMk,
-    IBindCtx* pBC,
-    IBindStatusCallback* pBSC,
-    REFIID riid,
-    IUnknown** ppvObj);
-
-#endif  /* __IBindHost_INTERFACE_DEFINED__ */
-
-#ifndef __IWinInetInfo_FWD_DEFINED__
-#define __IWinInetInfo_FWD_DEFINED__
-typedef struct IWinInetInfo IWinInetInfo;
-#endif
-
-typedef IWinInetInfo *LPWININETINFO;
-
-/*****************************************************************************
- * IWinInetInfo interface
- */
-#ifndef __IWinInetInfo_INTERFACE_DEFINED__
-#define __IWinInetInfo_INTERFACE_DEFINED__
-
-DEFINE_GUID(IID_IWinInetInfo, 0x79eac9d6, 0xbafa, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b);
-#if defined(__cplusplus) && !defined(CINTERFACE)
-struct IWinInetInfo : public IUnknown
-{
-    virtual HRESULT STDMETHODCALLTYPE QueryOption(
-        DWORD dwOption,
-        LPVOID pBuffer,
-        DWORD* pcbBuf) = 0;
-
-};
-#else
-typedef struct IWinInetInfoVtbl IWinInetInfoVtbl;
-struct IWinInetInfo {
-    const IWinInetInfoVtbl* lpVtbl;
-};
-struct IWinInetInfoVtbl {
-    BEGIN_INTERFACE
-
-    /*** IUnknown methods ***/
-    HRESULT (STDMETHODCALLTYPE *QueryInterface)(
-        IWinInetInfo* This,
-        REFIID riid,
-        void** ppvObject);
-
-    ULONG (STDMETHODCALLTYPE *AddRef)(
-        IWinInetInfo* This);
-
-    ULONG (STDMETHODCALLTYPE *Release)(
-        IWinInetInfo* This);
-
-    /*** IWinInetInfo methods ***/
-    HRESULT (STDMETHODCALLTYPE *QueryOption)(
-        IWinInetInfo* This,
-        DWORD dwOption,
-        LPVOID pBuffer,
-        DWORD* pcbBuf);
-
-    END_INTERFACE
-};
-
-#ifdef COBJMACROS
-/*** IUnknown methods ***/
-#define IWinInetInfo_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
-#define IWinInetInfo_AddRef(p) (p)->lpVtbl->AddRef(p)
-#define IWinInetInfo_Release(p) (p)->lpVtbl->Release(p)
-/*** IWinInetInfo methods ***/
-#define IWinInetInfo_QueryOption(p,a,b,c) (p)->lpVtbl->QueryOption(p,a,b,c)
-#endif
-
-#endif
-
-HRESULT CALLBACK IWinInetInfo_RemoteQueryOption_Proxy(
-    IWinInetInfo* This,
-    DWORD dwOption,
-    BYTE* pBuffer,
-    DWORD* pcbBuf);
-void __RPC_STUB IWinInetInfo_RemoteQueryOption_Stub(
-    struct IRpcStubBuffer* This,
-    struct IRpcChannelBuffer* pRpcChannelBuffer,
-    PRPC_MESSAGE pRpcMessage,
-    DWORD* pdwStubPhase);
-HRESULT CALLBACK IWinInetInfo_QueryOption_Proxy(
-    IWinInetInfo* This,
-    DWORD dwOption,
-    LPVOID pBuffer,
-    DWORD* pcbBuf);
-HRESULT __RPC_STUB IWinInetInfo_QueryOption_Stub(
-    IWinInetInfo* This,
-    DWORD dwOption,
-    BYTE* pBuffer,
-    DWORD* pcbBuf);
-
-#endif  /* __IWinInetInfo_INTERFACE_DEFINED__ */
-
-#ifndef __IWinInetHttpInfo_FWD_DEFINED__
-#define __IWinInetHttpInfo_FWD_DEFINED__
-typedef struct IWinInetHttpInfo IWinInetHttpInfo;
-#endif
-
-typedef IWinInetHttpInfo *LPWININETHTTPINFO;
-
-/*****************************************************************************
- * IWinInetHttpInfo interface
- */
-#ifndef __IWinInetHttpInfo_INTERFACE_DEFINED__
-#define __IWinInetHttpInfo_INTERFACE_DEFINED__
-
-DEFINE_GUID(IID_IWinInetHttpInfo, 0x79eac9d8, 0xbafa, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b);
-#if defined(__cplusplus) && !defined(CINTERFACE)
-struct IWinInetHttpInfo : public IWinInetInfo
-{
-    virtual HRESULT STDMETHODCALLTYPE QueryInfo(
-        DWORD dwOption,
-        LPVOID pBuffer,
-        DWORD* pcbBuf,
-        DWORD* pdwFlags,
-        DWORD* pdwReserved) = 0;
-
-};
-#else
-typedef struct IWinInetHttpInfoVtbl IWinInetHttpInfoVtbl;
-struct IWinInetHttpInfo {
-    const IWinInetHttpInfoVtbl* lpVtbl;
-};
-struct IWinInetHttpInfoVtbl {
-    BEGIN_INTERFACE
-
-    /*** IUnknown methods ***/
-    HRESULT (STDMETHODCALLTYPE *QueryInterface)(
-        IWinInetHttpInfo* This,
-        REFIID riid,
-        void** ppvObject);
-
-    ULONG (STDMETHODCALLTYPE *AddRef)(
-        IWinInetHttpInfo* This);
-
-    ULONG (STDMETHODCALLTYPE *Release)(
-        IWinInetHttpInfo* This);
-
-    /*** IWinInetInfo methods ***/
-    HRESULT (STDMETHODCALLTYPE *QueryOption)(
-        IWinInetHttpInfo* This,
-        DWORD dwOption,
-        LPVOID pBuffer,
-        DWORD* pcbBuf);
-
-    /*** IWinInetHttpInfo methods ***/
-    HRESULT (STDMETHODCALLTYPE *QueryInfo)(
-        IWinInetHttpInfo* This,
-        DWORD dwOption,
-        LPVOID pBuffer,
-        DWORD* pcbBuf,
-        DWORD* pdwFlags,
-        DWORD* pdwReserved);
-
-    END_INTERFACE
-};
-
-#ifdef COBJMACROS
-/*** IUnknown methods ***/
-#define IWinInetHttpInfo_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
-#define IWinInetHttpInfo_AddRef(p) (p)->lpVtbl->AddRef(p)
-#define IWinInetHttpInfo_Release(p) (p)->lpVtbl->Release(p)
-/*** IWinInetInfo methods ***/
-#define IWinInetHttpInfo_QueryOption(p,a,b,c) (p)->lpVtbl->QueryOption(p,a,b,c)
-/*** IWinInetHttpInfo methods ***/
-#define IWinInetHttpInfo_QueryInfo(p,a,b,c,d,e) (p)->lpVtbl->QueryInfo(p,a,b,c,d,e)
-#endif
-
-#endif
-
-HRESULT CALLBACK IWinInetHttpInfo_RemoteQueryInfo_Proxy(
-    IWinInetHttpInfo* This,
-    DWORD dwOption,
-    BYTE* pBuffer,
-    DWORD* pcbBuf,
-    DWORD* pdwFlags,
-    DWORD* pdwReserved);
-void __RPC_STUB IWinInetHttpInfo_RemoteQueryInfo_Stub(
-    struct IRpcStubBuffer* This,
-    struct IRpcChannelBuffer* pRpcChannelBuffer,
-    PRPC_MESSAGE pRpcMessage,
-    DWORD* pdwStubPhase);
-HRESULT CALLBACK IWinInetHttpInfo_QueryInfo_Proxy(
-    IWinInetHttpInfo* This,
-    DWORD dwOption,
-    LPVOID pBuffer,
-    DWORD* pcbBuf,
-    DWORD* pdwFlags,
-    DWORD* pdwReserved);
-HRESULT __RPC_STUB IWinInetHttpInfo_QueryInfo_Stub(
-    IWinInetHttpInfo* This,
-    DWORD dwOption,
-    BYTE* pBuffer,
-    DWORD* pcbBuf,
-    DWORD* pdwFlags,
-    DWORD* pdwReserved);
-
-#endif  /* __IWinInetHttpInfo_INTERFACE_DEFINED__ */
-
-#ifndef __IPersistMoniker_FWD_DEFINED__
-#define __IPersistMoniker_FWD_DEFINED__
-typedef struct IPersistMoniker IPersistMoniker;
-#endif
-
-typedef IPersistMoniker *LPPERSISTMONIKER;
-
-/*****************************************************************************
- * IPersistMoniker interface
- */
-#ifndef __IPersistMoniker_INTERFACE_DEFINED__
-#define __IPersistMoniker_INTERFACE_DEFINED__
-
-DEFINE_GUID(IID_IPersistMoniker, 0x79eac9c9, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b);
-#if defined(__cplusplus) && !defined(CINTERFACE)
-struct IPersistMoniker : public IUnknown
-{
-    virtual HRESULT STDMETHODCALLTYPE GetClassID(
-        CLSID* pClassID) = 0;
-
-    virtual HRESULT STDMETHODCALLTYPE IsDirty(
-        ) = 0;
-
-    virtual HRESULT STDMETHODCALLTYPE Load(
-        BOOL fFullyAvailable,
-        IMoniker* pimkName,
-        LPBC pibc,
-        DWORD grfMode) = 0;
-
-    virtual HRESULT STDMETHODCALLTYPE Save(
-        IMoniker* pimkName,
-        LPBC pbc,
-        BOOL fRemember) = 0;
-
-    virtual HRESULT STDMETHODCALLTYPE SaveCompleted(
-        IMoniker* pimkName,
-        LPBC pibc) = 0;
-
-    virtual HRESULT STDMETHODCALLTYPE GetCurMoniker(
-        IMoniker** ppimkName) = 0;
-
-};
-#else
-typedef struct IPersistMonikerVtbl IPersistMonikerVtbl;
-struct IPersistMoniker {
-    const IPersistMonikerVtbl* lpVtbl;
-};
-struct IPersistMonikerVtbl {
-    BEGIN_INTERFACE
-
-    /*** IUnknown methods ***/
-    HRESULT (STDMETHODCALLTYPE *QueryInterface)(
-        IPersistMoniker* This,
-        REFIID riid,
-        void** ppvObject);
-
-    ULONG (STDMETHODCALLTYPE *AddRef)(
-        IPersistMoniker* This);
-
-    ULONG (STDMETHODCALLTYPE *Release)(
-        IPersistMoniker* This);
-
-    /*** IPersistMoniker methods ***/
-    HRESULT (STDMETHODCALLTYPE *GetClassID)(
-        IPersistMoniker* This,
-        CLSID* pClassID);
-
-    HRESULT (STDMETHODCALLTYPE *IsDirty)(
-        IPersistMoniker* This);
-
-    HRESULT (STDMETHODCALLTYPE *Load)(
-        IPersistMoniker* This,
-        BOOL fFullyAvailable,
-        IMoniker* pimkName,
-        LPBC pibc,
-        DWORD grfMode);
-
-    HRESULT (STDMETHODCALLTYPE *Save)(
-        IPersistMoniker* This,
-        IMoniker* pimkName,
-        LPBC pbc,
-        BOOL fRemember);
-
-    HRESULT (STDMETHODCALLTYPE *SaveCompleted)(
-        IPersistMoniker* This,
-        IMoniker* pimkName,
-        LPBC pibc);
-
-    HRESULT (STDMETHODCALLTYPE *GetCurMoniker)(
-        IPersistMoniker* This,
[truncated at 1000 lines; 7006 more skipped]