-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Registry access of large unsigned values
- Loading branch information
Showing
4 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Imports System.Runtime.InteropServices | ||
|
||
<StructLayout(LayoutKind.Explicit)> | ||
Public Structure ReinterpretableDword | ||
<FieldOffset(0)> Public Signed As Integer | ||
<FieldOffset(0)> Public Unsigned As UInteger | ||
End Structure | ||
|
||
<StructLayout(LayoutKind.Explicit)> | ||
Public Structure ReinterpretableQword | ||
<FieldOffset(0)> Public Signed As Long | ||
<FieldOffset(0)> Public Unsigned As ULong | ||
End Structure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters