Skip to content

Commit

Permalink
Add support for new MUI failure codes.
Browse files Browse the repository at this point in the history
  • Loading branch information
lilhoser committed Nov 15, 2024
1 parent 55e5a82 commit 5012d82
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions NativeDefinitions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -998,9 +998,11 @@ internal static extern uint EnumerateTraceGuidsEx(
public const int ERROR_NOT_FOUND = 1168;
public const int ERROR_XML_PARSE_ERROR = 1465;
public const int ERROR_RESOURCE_TYPE_NOT_FOUND = 1813;
public const int ERROR_RESOURCE_NOT_PRESENT = 4316;
public const int ERROR_WMI_GUID_NOT_FOUND = 4200;
public const int ERROR_EMPTY = 4306;
public const int ERROR_EVT_INVALID_EVENT_DATA = 15005;
public const int ERROR_MUI_FILE_NOT_FOUND = 15100;
public const int ERROR_MUI_FILE_NOT_LOADED = 15105;
}
}
2 changes: 2 additions & 0 deletions ProviderParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,8 @@ public static class ProviderParser
case ERROR_FILE_NOT_FOUND:
case ERROR_RESOURCE_TYPE_NOT_FOUND:
case ERROR_MUI_FILE_NOT_FOUND:
case ERROR_RESOURCE_NOT_PRESENT:
case ERROR_MUI_FILE_NOT_LOADED:
{
//
// We throw this exception here because it's our first chance
Expand Down
2 changes: 1 addition & 1 deletion etwlib.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<AssemblyVersion>1.1.0</AssemblyVersion>
<FileVersion>1.1.0</FileVersion>
<Version>1.10.0</Version>
<Version>1.11.1</Version>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 5012d82

Please sign in to comment.