Commit c6e10ab
committed
bootconfig: fix BCDStore SetBooleanElement order
SetBooleanElement seems to not respect the method contract defined in
the document:
https://learn.microsoft.com/en-us/previous-versions/windows/desktop/bcd/setbooleanelement-bcdobject#syntax
Instead the method contract has the two parameters in the inverse order:
```
boolean SetBooleanElement(
[in] boolean Boolean,
[in] uint32 Type
);
```
Change-Id: I8938cd0333b21a89971de88da47559fa929162dc
Signed-off-by: Adrian Vladu <[email protected]>1 parent 4fd9b57 commit c6e10ab
File tree
2 files changed
+19
-8
lines changed- cloudbaseinit
- tests/utils/windows
- utils/windows
2 files changed
+19
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
156 | 161 | | |
157 | | - | |
158 | | - | |
| 162 | + | |
| 163 | + | |
159 | 164 | | |
160 | 165 | | |
161 | 166 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
101 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
102 | 107 | | |
103 | | - | |
104 | | - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
0 commit comments