Commit c6fecdd
committed
[NTUSER] NtUserSetLogonNotifyWindow(): Lock-protect access to global data (reactos#8369)
Like with all the other win32k NtUser* functions, acquire on entry and
release on exit the global lock, since the function is reading/writing
to global variables.
Also, set the last-error to ERROR_ACCESS_DENIED if the caller isn't the
registered logon process.1 parent 10d57cb commit c6fecdd
1 file changed
+12
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1963 | 1963 | | |
1964 | 1964 | | |
1965 | 1965 | | |
1966 | | - | |
1967 | | - | |
1968 | | - | |
1969 | | - | |
| 1966 | + | |
| 1967 | + | |
| 1968 | + | |
1970 | 1969 | | |
1971 | 1970 | | |
| 1971 | + | |
| 1972 | + | |
| 1973 | + | |
1972 | 1974 | | |
1973 | | - | |
| 1975 | + | |
| 1976 | + | |
1974 | 1977 | | |
1975 | 1978 | | |
1976 | 1979 | | |
| 1980 | + | |
1977 | 1981 | | |
1978 | | - | |
| 1982 | + | |
| 1983 | + | |
| 1984 | + | |
1979 | 1985 | | |
1980 | 1986 | | |
1981 | 1987 | | |
| |||
0 commit comments