urlmon: Use E_NOT_SUFFICIENT_BUFFER definition.
This commit is contained in:
parent
6ebe8d5a2a
commit
8735cfc086
|
@ -740,7 +740,7 @@ static HRESULT generate_security_id(IUri *uri, BYTE *secid, DWORD *secid_len, DW
|
|||
|
||||
if(len+sizeof(DWORD) > *secid_len) {
|
||||
SysFreeString(display_uri);
|
||||
return HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER);
|
||||
return E_NOT_SUFFICIENT_BUFFER;
|
||||
}
|
||||
|
||||
WideCharToMultiByte(CP_ACP, 0, display_uri, -1, (LPSTR)secid, len, NULL, NULL);
|
||||
|
@ -776,7 +776,7 @@ static HRESULT generate_security_id(IUri *uri, BYTE *secid, DWORD *secid_len, DW
|
|||
if(len+sizeof(DWORD) > *secid_len) {
|
||||
SysFreeString(host);
|
||||
SysFreeString(scheme);
|
||||
return HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER);
|
||||
return E_NOT_SUFFICIENT_BUFFER;
|
||||
}
|
||||
|
||||
WideCharToMultiByte(CP_ACP, 0, scheme, -1, (LPSTR)secid, len, NULL, NULL);
|
||||
|
|
Loading…
Reference in New Issue