mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 10:53:38 +00:00
include: Generate error codes with correct type in urlmon.idl.
Use the _HRESULT_TYPEDEF_ macro to ensure that the error codes get the correct type.
This commit is contained in:
parent
573abdca4a
commit
55a28dd364
|
@ -1381,32 +1381,32 @@ cpp_quote("#define URLMON_OPTION_USERAGENT 0x10000001")
|
|||
cpp_quote("#define URLMON_OPTION_USERAGENT_REFRESH 0x10000002")
|
||||
cpp_quote("#define URLMON_OPTION_URL_ENCODING 0x10000004")
|
||||
|
||||
cpp_quote("#define MK_S_ASYNCHRONOUS 0x000401E8")
|
||||
cpp_quote("#define MK_S_ASYNCHRONOUS _HRESULT_TYPEDEF_(0x000401E8)")
|
||||
cpp_quote("#ifndef S_ASYNCHRONOUS")
|
||||
cpp_quote("#define S_ASYNCHRONOUS MK_S_ASYNCHRONOUS")
|
||||
cpp_quote("#endif")
|
||||
|
||||
cpp_quote("#define INET_E_ERROR_FIRST 0x800C0002")
|
||||
cpp_quote("#define INET_E_INVALID_URL 0x800C0002")
|
||||
cpp_quote("#define INET_E_NO_SESSION 0x800C0003")
|
||||
cpp_quote("#define INET_E_CANNOT_CONNECT 0x800C0004")
|
||||
cpp_quote("#define INET_E_RESOURCE_NOT_FOUND 0x800C0005")
|
||||
cpp_quote("#define INET_E_OBJECT_NOT_FOUND 0x800C0006")
|
||||
cpp_quote("#define INET_E_DATA_NOT_AVAILABLE 0x800C0007")
|
||||
cpp_quote("#define INET_E_DOWNLOAD_FAILURE 0x800C0008")
|
||||
cpp_quote("#define INET_E_AUTHENTICATION_REQUIRED 0x800C0009")
|
||||
cpp_quote("#define INET_E_NO_VALID_MEDIA 0x800C000A")
|
||||
cpp_quote("#define INET_E_CONNECTION_TIMEOUT 0x800C000B")
|
||||
cpp_quote("#define INET_E_INVALID_REQUEST 0x800C000C")
|
||||
cpp_quote("#define INET_E_UNKNOWN_PROTOCOL 0x800C000D")
|
||||
cpp_quote("#define INET_E_SECURITY_PROBLEM 0x800C000E")
|
||||
cpp_quote("#define INET_E_CANNOT_LOAD_DATA 0x800C000F")
|
||||
cpp_quote("#define INET_E_CANNOT_INSTANTIATE_OBJECT 0x800C0010")
|
||||
cpp_quote("#define INET_E_USE_DEFAULT_PROTOCOLHANDLER 0x800C0011")
|
||||
cpp_quote("#define INET_E_QUERYOPTION_UNKNOWN 0x800C0013")
|
||||
cpp_quote("#define INET_E_REDIRECT_FAILED 0x800C0014")
|
||||
cpp_quote("#define INET_E_REDIRECT_TO_DIR 0x800C0015")
|
||||
cpp_quote("#define INET_E_CANNOT_LOCK_REQUEST 0x800C0016")
|
||||
cpp_quote("#define INET_E_ERROR_FIRST _HRESULT_TYPEDEF_(0x800C0002)")
|
||||
cpp_quote("#define INET_E_INVALID_URL _HRESULT_TYPEDEF_(0x800C0002)")
|
||||
cpp_quote("#define INET_E_NO_SESSION _HRESULT_TYPEDEF_(0x800C0003)")
|
||||
cpp_quote("#define INET_E_CANNOT_CONNECT _HRESULT_TYPEDEF_(0x800C0004)")
|
||||
cpp_quote("#define INET_E_RESOURCE_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0005)")
|
||||
cpp_quote("#define INET_E_OBJECT_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0006)")
|
||||
cpp_quote("#define INET_E_DATA_NOT_AVAILABLE _HRESULT_TYPEDEF_(0x800C0007)")
|
||||
cpp_quote("#define INET_E_DOWNLOAD_FAILURE _HRESULT_TYPEDEF_(0x800C0008)")
|
||||
cpp_quote("#define INET_E_AUTHENTICATION_REQUIRED _HRESULT_TYPEDEF_(0x800C0009)")
|
||||
cpp_quote("#define INET_E_NO_VALID_MEDIA _HRESULT_TYPEDEF_(0x800C000A)")
|
||||
cpp_quote("#define INET_E_CONNECTION_TIMEOUT _HRESULT_TYPEDEF_(0x800C000B)")
|
||||
cpp_quote("#define INET_E_INVALID_REQUEST _HRESULT_TYPEDEF_(0x800C000C)")
|
||||
cpp_quote("#define INET_E_UNKNOWN_PROTOCOL _HRESULT_TYPEDEF_(0x800C000D)")
|
||||
cpp_quote("#define INET_E_SECURITY_PROBLEM _HRESULT_TYPEDEF_(0x800C000E)")
|
||||
cpp_quote("#define INET_E_CANNOT_LOAD_DATA _HRESULT_TYPEDEF_(0x800C000F)")
|
||||
cpp_quote("#define INET_E_CANNOT_INSTANTIATE_OBJECT _HRESULT_TYPEDEF_(0x800C0010)")
|
||||
cpp_quote("#define INET_E_USE_DEFAULT_PROTOCOLHANDLER _HRESULT_TYPEDEF_(0x800C0011)")
|
||||
cpp_quote("#define INET_E_QUERYOPTION_UNKNOWN _HRESULT_TYPEDEF_(0x800C0013)")
|
||||
cpp_quote("#define INET_E_REDIRECT_FAILED _HRESULT_TYPEDEF_(0x800C0014)")
|
||||
cpp_quote("#define INET_E_REDIRECT_TO_DIR _HRESULT_TYPEDEF_(0x800C0015)")
|
||||
cpp_quote("#define INET_E_CANNOT_LOCK_REQUEST _HRESULT_TYPEDEF_(0x800C0016)")
|
||||
cpp_quote("#define INET_E_ERROR_LAST INET_E_REDIRECT_TO_DIR")
|
||||
cpp_quote("#define INET_E_DEFAULT_ACTION INET_E_USE_DEFAULT_PROTOCOLHANDLER")
|
||||
|
||||
|
|
Loading…
Reference in a new issue