Open tydunkel opened 1 year ago
I don't see any obvious errors in the C# code CsWin32 generates compared to the win32metadata. Can you try a few things to help with the investigation?
SetEntriesInAcl
overload (the one that takes cCountOfExplicitEntries
as a first parameter)?A subset of the above may be adequate.
Actual behavior
Calling
PInvoke.SetEntriesInAcl(Span, ACL, out ACL)
with an existing ACL (second param) fails withERROR_INVALID_PARAMETER
.Expected behavior
The entries are set in the out param.
Repro steps
NativeMethods.txt
content:NativeMethods.json
content (if present): N/AAny of your own code that should be shared?
Context
0.2.188-beta
net45
LangVersion
(if explicitly set by project):preview