urlmon: Added GetBindString(BINDSTRING_URL) implementation.

This commit is contained in:
Jacek Caban 2009-05-18 03:05:39 +02:00 committed by Alexandre Julliard
parent 806ea86be2
commit 5b72526052
1 changed files with 11 additions and 0 deletions

View File

@ -1172,6 +1172,17 @@ static HRESULT WINAPI InternetBindInfo_GetBindString(IInternetBindInfo *iface,
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);