CreateURLMoniker takes a LPCWSTR, not a LPWSTR.
This commit is contained in:
parent
62fb0825bf
commit
19337c7e18
|
@ -29,7 +29,7 @@ static WCHAR BSCBHolder[] = { '_','B','S','C','B','_','H','o','l','d','e','r','_
|
|||
* MK_E_SYNTAX not a valid url
|
||||
*
|
||||
*/
|
||||
HRESULT WINAPI CreateURLMoniker(IMoniker *pmkContext, LPWSTR szURL, IMoniker **ppmk)
|
||||
HRESULT WINAPI CreateURLMoniker(IMoniker *pmkContext, LPCWSTR szURL, IMoniker **ppmk)
|
||||
{
|
||||
TRACE("\n");
|
||||
|
||||
|
|
|
@ -273,7 +273,7 @@ ICOM_DEFINE(IWinInetHttpInfo,IWinInetInfo)
|
|||
/*** IWinInetHttpInfo methods ***/
|
||||
#define IWinInetHttpInfo_QueryInfo(p,a,b,c,d,e) ICOM_CALL5(QueryInfo,p,a,b,c,d,e)
|
||||
|
||||
HRESULT WINAPI CreateURLMoniker(IMoniker *pmkContext, LPWSTR szURL, IMoniker **ppmk);
|
||||
HRESULT WINAPI CreateURLMoniker(IMoniker *pmkContext, LPCWSTR szURL, IMoniker **ppmk);
|
||||
HRESULT WINAPI RegisterBindStatusCallback(IBindCtx *pbc, IBindStatusCallback *pbsc, IBindStatusCallback **ppbsc, DWORD dwReserved);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
Loading…
Reference in New Issue