-
Notifications
You must be signed in to change notification settings - Fork 119
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
OpenInputDesktop no found GENERIC_ALL #1949
Comments
Sounds like a question for the Win32 metadata repo. |
Does this related to #1948? |
So to clarify the original issue, the This enum appears to duplicate a lot of existing standard rights, which is something we're discussing in #1948 as well. public enum DESKTOP_ACCESS_FLAGS : uint
{
DESKTOP_DELETE = 65536u,
DESKTOP_READ_CONTROL = 131072u,
DESKTOP_WRITE_DAC = 262144u,
DESKTOP_WRITE_OWNER = 524288u,
DESKTOP_SYNCHRONIZE = 1048576u,
DESKTOP_READOBJECTS = 1u,
DESKTOP_CREATEWINDOW = 2u,
DESKTOP_CREATEMENU = 4u,
DESKTOP_HOOKCONTROL = 8u,
DESKTOP_JOURNALRECORD = 16u,
DESKTOP_JOURNALPLAYBACK = 32u,
DESKTOP_ENUMERATE = 64u,
DESKTOP_WRITEOBJECTS = 128u,
DESKTOP_SWITCHDESKTOP = 256u
} |
I can't use Windows.Win32.Foundation.GENERIC_ACCESS_RIGHTS.GENERIC_ALL because OpenInputDesktop's parameter is DESKTOP_ACCESS_FLAGS, but it's of type GENERIC_ACCESS_ RIGHTS |
You would need to cast it, yes. |
Suggestion
The OpenInputDesktop function does not have a GENERIC_ALL parameter, or a parameter for complete replacement.
The text was updated successfully, but these errors were encountered: