Signed-off-by: Nikolay Sivov nsivov@codeweavers.com --- dlls/mferror/mferror.mc | 84 +++++++++++++++++++++++++++++++++++++++++ include/mferror.h | 12 ++++++ 2 files changed, 96 insertions(+)
diff --git a/dlls/mferror/mferror.mc b/dlls/mferror/mferror.mc index 89672c9c31..f0299b0986 100644 --- a/dlls/mferror/mferror.mc +++ b/dlls/mferror/mferror.mc @@ -435,6 +435,20 @@ SymbolicName=MF_E_NO_EVENTS_AVAILABLE Language=ENU No events available. . +MessageId=16002 +Severity=Error +Facility=MF +SymbolicName=MF_E_INVALID_STATE_TRANSITION +Language=ENU +Invalid media source state transition +. +MessageId=16004 +Severity=Error +Facility=MF +SymbolicName=MF_E_END_OF_STREAM +Language=ENU +End of media stream has been reached +. MessageId=16005 Severity=Error Facility=MF @@ -442,6 +456,76 @@ SymbolicName=MF_E_SHUTDOWN Language=ENU Shutdown() was called. . +MessageId=16010 +Severity=Error +Facility=MF +SymbolicName=MF_E_NO_DURATION +Language=ENU +Media stream has no duration set +. +MessageId=16012 +Severity=Error +Facility=MF +SymbolicName=MF_E_INVALID_FORMAT +Language=ENU +Media format was recognized but is invalid +. +MessageId=16013 +Severity=Error +Facility=MF +SymbolicName=MF_E_PROPERTY_NOT_FOUND +Language=ENU +Property wasn't found +. +MessageId=16014 +Severity=Error +Facility=MF +SymbolicName=MF_E_PROPERTY_READ_ONLY +Language=ENU +Property is read-only +. +MessageId=16015 +Severity=Error +Facility=MF +SymbolicName=MF_E_PROPERTY_NOT_ALLOWED +Language=ENU +Property is not allowed +. +MessageId=16017 +Severity=Error +Facility=MF +SymbolicName=MF_E_MEDIA_SOURCE_NOT_STARTED +Language=ENU +Media source is not started +. +MessageId=16024 +Severity=Error +Facility=MF +SymbolicName=MF_E_UNSUPPORTED_FORMAT +Language=ENU +Unsupported media format +. +MessageId=16027 +Severity=Error +Facility=MF +SymbolicName=MF_E_MEDIA_SOURCE_WRONGSTATE +Language=ENU +Media source is in wrong state +. +MessageId=16028 +Severity=Error +Facility=MF +SymbolicName=MF_E_MEDIA_SOURCE_NO_STREAMS_SELECTED +Language=ENU +No media streams were selected +. +MessageId=16030 +Severity=Error +Facility=MF +SymbolicName=MF_E_UNSUPPORTED_CHARACTERISTICS +Language=ENU +Unsupported media source characteristics +. MessageId=21006 Severity=Error Facility=MF diff --git a/include/mferror.h b/include/mferror.h index 46d25b6a31..a0acf90f8b 100644 --- a/include/mferror.h +++ b/include/mferror.h @@ -80,7 +80,19 @@ #define MF_E_BYTESTREAM_UNKNOWN_LENGTH _HRESULT_TYPEDEF_(0xc00d36fb) #define MF_E_INVALID_WORKQUEUE _HRESULT_TYPEDEF_(0xc00d36ff) #define MF_E_NO_EVENTS_AVAILABLE _HRESULT_TYPEDEF_(0xc00d3e80) +#define MF_E_INVALID_STATE_TRANSITION _HRESULT_TYPEDEF_(0xc00d3e82) +#define MF_E_END_OF_STREAM _HRESULT_TYPEDEF_(0xc00d3e84) #define MF_E_SHUTDOWN _HRESULT_TYPEDEF_(0xc00d3e85) +#define MF_E_NO_DURATION _HRESULT_TYPEDEF_(0xc00d3e8a) +#define MF_E_INVALID_FORMAT _HRESULT_TYPEDEF_(0xc00d3e8c) +#define MF_E_PROPERTY_NOT_FOUND _HRESULT_TYPEDEF_(0xc00d3e8d) +#define MF_E_PROPERTY_READ_ONLY _HRESULT_TYPEDEF_(0xc00d3e8e) +#define MF_E_PROPERTY_NOT_ALLOWED _HRESULT_TYPEDEF_(0xc00d3e8f) +#define MF_E_MEDIA_SOURCE_NOT_STARTED _HRESULT_TYPEDEF_(0xc00d3e91) +#define MF_E_UNSUPPORTED_FORMAT _HRESULT_TYPEDEF_(0xc00d3e98) +#define MF_E_MEDIA_SOURCE_WRONGSTATE _HRESULT_TYPEDEF_(0xc00d3e9b) +#define MF_E_MEDIA_SOURCE_NO_STREAMS_SELECTED _HRESULT_TYPEDEF_(0xc00d3e9c) +#define MF_E_UNSUPPORTED_CHARACTERISTICS _HRESULT_TYPEDEF_(0xc00d3e9e)
#define MF_E_TOPO_INVALID_OPTIONAL_NODE _HRESULT_TYPEDEF_(0xc00d520e) #define MF_E_TOPO_CANNOT_FIND_DECRYPTOR _HRESULT_TYPEDEF_(0xc00d5211)