Commit 47ec6b2
Use IntPtr(-1) for INVALID_HANDLE_VALUE instead of IntPtr.Zero (PowerShell#3544)
- Fix incorrect handling of 'GetCurrentProcess()' API return value in 'IsWow64()' function (MainEntry.cpp)
- Remove unused INVALID_HANDLE_VALUE field from 'ProcessNativeMethods' class (Process.cs)1 parent 4ad4b19 commit 47ec6b2
3 files changed
Lines changed: 2 additions & 8 deletions
File tree
- src
- Microsoft.PowerShell.Commands.Management/commands/management
- System.Management.Automation/utils
- powershell-native/nativemsh/pwrshexe
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2608 | 2608 | | |
2609 | 2609 | | |
2610 | 2610 | | |
2611 | | - | |
2612 | 2611 | | |
2613 | 2612 | | |
2614 | 2613 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
558 | 558 | | |
559 | 559 | | |
560 | 560 | | |
561 | | - | |
| 561 | + | |
562 | 562 | | |
563 | 563 | | |
564 | 564 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1139 | 1139 | | |
1140 | 1140 | | |
1141 | 1141 | | |
1142 | | - | |
1143 | | - | |
1144 | | - | |
1145 | | - | |
1146 | | - | |
1147 | 1142 | | |
1148 | 1143 | | |
1149 | 1144 | | |
| |||
1152 | 1147 | | |
1153 | 1148 | | |
1154 | 1149 | | |
1155 | | - | |
| 1150 | + | |
1156 | 1151 | | |
1157 | 1152 | | |
1158 | 1153 | | |
| |||
0 commit comments