Commit 5b725260 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

urlmon: Added GetBindString(BINDSTRING_URL) implementation.

parent 806ea86b
...@@ -1172,6 +1172,17 @@ static HRESULT WINAPI InternetBindInfo_GetBindString(IInternetBindInfo *iface, ...@@ -1172,6 +1172,17 @@ static HRESULT WINAPI InternetBindInfo_GetBindString(IInternetBindInfo *iface,
return hres; return hres;
} }
case BINDSTRING_URL: {
DWORD size = (strlenW(This->url)+1) * sizeof(WCHAR);
if(!ppwzStr || !pcElFetched)
return E_INVALIDARG;
*ppwzStr = CoTaskMemAlloc(size);
memcpy(*ppwzStr, This->url, size);
*pcElFetched = 1;
return S_OK;
}
} }
FIXME("not supported string type %d\n", ulStringType); FIXME("not supported string type %d\n", ulStringType);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment