Skip to content

Commit

Permalink
Handle other SOURCES_XXX errors
Browse files Browse the repository at this point in the history
DATA and NAME also should be handled.

Signed-off-by: Hiroshi Hatake <[email protected]>
  • Loading branch information
cosmo0920 committed Oct 8, 2021
1 parent fa7cde3 commit 2b1e7f7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ext/winevt/winevt_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,9 @@ get_message(EVT_HANDLE hMetadata, EVT_HANDLE handle)
case ERROR_EVT_MESSAGE_NOT_FOUND:
case ERROR_EVT_MESSAGE_ID_NOT_FOUND:
case ERROR_EVT_MESSAGE_LOCALE_NOT_FOUND:
case ERROR_RESOURCE_DATA_NOT_FOUND:
case ERROR_RESOURCE_TYPE_NOT_FOUND:
case ERROR_RESOURCE_NAME_NOT_FOUND:
case ERROR_RESOURCE_LANG_NOT_FOUND:
case ERROR_MUI_FILE_NOT_FOUND:
case ERROR_EVT_UNRESOLVED_PARAMETER_INSERT: {
Expand Down Expand Up @@ -435,7 +437,9 @@ get_message(EVT_HANDLE hMetadata, EVT_HANDLE handle)
case ERROR_EVT_MESSAGE_NOT_FOUND:
case ERROR_EVT_MESSAGE_ID_NOT_FOUND:
case ERROR_EVT_MESSAGE_LOCALE_NOT_FOUND:
case ERROR_RESOURCE_DATA_NOT_FOUND:
case ERROR_RESOURCE_TYPE_NOT_FOUND:
case ERROR_RESOURCE_NAME_NOT_FOUND:
case ERROR_RESOURCE_LANG_NOT_FOUND:
case ERROR_MUI_FILE_NOT_FOUND:
case ERROR_EVT_UNRESOLVED_PARAMETER_INSERT:
Expand Down

0 comments on commit 2b1e7f7

Please sign in to comment.