Skip to content
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

LsaRegisterLogonProcess should not use HANDLE #135

Closed
AArnott opened this issue Jan 20, 2021 · 1 comment
Closed

LsaRegisterLogonProcess should not use HANDLE #135

AArnott opened this issue Jan 20, 2021 · 1 comment
Labels
broken api An API is inaccurate and could lead to runtime failure

Comments

@AArnott
Copy link
Member

AArnott commented Jan 20, 2021

The LsaRegisterLogonProcess method should use a different handle struct that reflects its particular release rules.

@AArnott AArnott added the broken api An API is inaccurate and could lead to runtime failure label Jan 20, 2021
@sotteson1
Copy link
Contributor

I'm not sure when this was fixed, but this is what I'm seeing:

public unsafe static extern NTSTATUS LsaRegisterLogonProcess([In] STRING* LogonProcessName, [Out] LsaHandle* LsaHandle, [Out] uint* SecurityMode);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
broken api An API is inaccurate and could lead to runtime failure
Projects
None yet
Development

No branches or pull requests

2 participants