-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ACCESS_MASK
is missing
#1948
Comments
I'd line to contribute to this repo for the first time. |
I believe you want |
@mikebattista is correct. If you ask for
So then if you replace |
@riverar why did you reactivate this? There isn't any missing API here. |
To set the To set To set the To set the standard rights bits (16-23), things get a little muddy. For example, we have the And finally, the specific object rights (0-15) are implementation specific. We should probably:
|
I don't think the metadata does anything for complex bitfield types other than providing the same constants the C headers do. And even types like HRESULT and NTSTATUS are actually a kind of packed structure but the metadata has no awareness of this. |
#1457 is probably relevant to this discussion. |
I'm cool with leaving it a naked (Oh, @AArnott points to a highly relevant similar discussion we all had, ha! #1457) |
From a Rust perspective, if the caller is using sys-style bindings it works fine. But if they're using non-sys-style - great name 😭 - bindings then the different enums have different types and it doesn't work unless its convertible in metadata. |
How come the name is different? I think this flag is also used for named pipe, registry keys and more (all securable objects)
I'm not in favor of this. My use case is often using all masks.
It would be nice to make those DWORD values into ACCESS_MASK. How come @riverar? |
I found it is missing when I added it to CsWin32 'NativeMethods.txt'. And I looked into this repo to find that definition but I couldn't.
If I'm not wrong, I should add it to enums.json according to the contributing guidelines.
The text was updated successfully, but these errors were encountered: