Alistair Leslie-Hughes : include: Correct IBrowserService.IEGetDisplayName definition.
Alexandre Julliard
julliard at winehq.org
Mon Dec 17 15:36:38 CST 2018
Module: wine
Branch: master
Commit: 6f3e082c5cdccc8be4a9f52da38e73a607f123a0
URL: https://source.winehq.org/git/wine.git/?a=commit;h=6f3e082c5cdccc8be4a9f52da38e73a607f123a0
Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Sun Dec 16 22:15:11 2018 +0000
include: Correct IBrowserService.IEGetDisplayName definition.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
include/shdeprecated.idl | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/include/shdeprecated.idl b/include/shdeprecated.idl
index 3e1e5e7..c8bb3fd 100644
--- a/include/shdeprecated.idl
+++ b/include/shdeprecated.idl
@@ -34,6 +34,12 @@ cpp_quote("#define TLMENUF_BACK 0x00000010")
cpp_quote("#define TLMENUF_FORE 0x00000020")
cpp_quote("#define TLMENUF_BACKANDFORTH (TLMENUF_BACK | TLMENUF_FORE | TLMENUF_INCLUDECURRENT)")
+cpp_quote("#ifndef INTERNET_MAX_URL_LENGTH")
+cpp_quote("#define INTERNET_MAX_PATH_LENGTH 2048")
+cpp_quote("#define INTERNET_MAX_SCHEME_LENGTH 32")
+cpp_quote("#define INTERNET_MAX_URL_LENGTH (INTERNET_MAX_SCHEME_LENGTH + sizeof(\"://\")+ INTERNET_MAX_PATH_LENGTH)")
+cpp_quote("#endif")
+
[
hidden,
local,
@@ -214,7 +220,7 @@ interface IBrowserService : IUnknown
HRESULT IEGetDisplayName(
[in] PCIDLIST_ABSOLUTE pidl,
- [out] LPWSTR pwszName,
+ [out, size_is(INTERNET_MAX_URL_LENGTH)] LPWSTR pwszName,
[in] UINT uFlags);
HRESULT IEParseDisplayName(
More information about the wine-cvs
mailing list