|
ReactOS 0.4.16-dev-1948-gd260c1d
|
#include <stdarg.h>#include <stdlib.h>#include <tchar.h>#include <windef.h>#include <winbase.h>#include <winreg.h>#include <winuser.h>#include <winwlx.h>#include <ndk/rtlfuncs.h>#include <ndk/setypes.h>#include <ntsecapi.h>#include <strsafe.h>#include <wine/debug.h>#include "resource.h"

Go to the source code of this file.
Classes | |
| struct | GINA_CONTEXT |
| struct | _GINA_UI |
Macros | |
| #define | WIN32_NO_STATUS |
| #define | _INC_WINDOWS |
| #define | COM_NO_WINDOWS_H |
| #define | WLX_SHUTDOWN_STATE_LOGOFF 0x01 |
| Shutdown state flags. | |
| #define | WLX_SHUTDOWN_STATE_POWER_OFF 0x02 |
| "Shut down" | |
| #define | WLX_SHUTDOWN_STATE_REBOOT 0x04 |
| "Restart" | |
| #define | WLX_SHUTDOWN_STATE_SLEEP 0x10 |
| "Stand by" | |
| #define | WLX_SHUTDOWN_STATE_SLEEP2 0x20 |
| "Stand by (with wakeup events disabled)" | |
| #define | WLX_SHUTDOWN_STATE_HIBERNATE 0x40 |
| "Hibernate" | |
| #define | WLX_SHUTDOWN_STATE_DISCONNECT 0x80 |
| "Disconnect" (only available in Terminal Services sessions) | |
| #define | WLX_SHUTDOWN_AUTOUPDATE 0x100 |
| Set when updates are queued. | |
Typedefs | |
| typedef struct GINA_CONTEXT * | PGINA_CONTEXT |
| typedef BOOL(* | PFGINA_INITIALIZE) (PGINA_CONTEXT) |
| typedef BOOL(* | PFGINA_DISPLAYSTATUSMESSAGE) (PGINA_CONTEXT, HDESK, DWORD, PWSTR, PWSTR) |
| typedef BOOL(* | PFGINA_REMOVESTATUSMESSAGE) (PGINA_CONTEXT) |
| typedef VOID(* | PFGINA_DISPLAYSASNOTICE) (PGINA_CONTEXT) |
| typedef INT(* | PFGINA_LOGGEDONSAS) (PGINA_CONTEXT, DWORD) |
| typedef INT(* | PFGINA_LOGGEDOUTSAS) (PGINA_CONTEXT) |
| typedef INT(* | PFGINA_LOCKEDSAS) (PGINA_CONTEXT) |
| typedef VOID(* | PFGINA_DISPLAYLOCKEDNOTICE) (PGINA_CONTEXT) |
| typedef struct _GINA_UI | GINA_UI |
| typedef struct _GINA_UI * | PGINA_UI |
Variables | |
| HINSTANCE | hDllInstance |
| #define WLX_SHUTDOWN_AUTOUPDATE 0x100 |
| #define WLX_SHUTDOWN_STATE_DISCONNECT 0x80 |
| #define WLX_SHUTDOWN_STATE_LOGOFF 0x01 |
| #define WLX_SHUTDOWN_STATE_SLEEP2 0x20 |
| typedef VOID(* PFGINA_DISPLAYLOCKEDNOTICE) (PGINA_CONTEXT) |
| typedef VOID(* PFGINA_DISPLAYSASNOTICE) (PGINA_CONTEXT) |
| typedef BOOL(* PFGINA_DISPLAYSTATUSMESSAGE) (PGINA_CONTEXT, HDESK, DWORD, PWSTR, PWSTR) |
| typedef BOOL(* PFGINA_INITIALIZE) (PGINA_CONTEXT) |
| typedef INT(* PFGINA_LOCKEDSAS) (PGINA_CONTEXT) |
| typedef INT(* PFGINA_LOGGEDONSAS) (PGINA_CONTEXT, DWORD) |
| typedef INT(* PFGINA_LOGGEDOUTSAS) (PGINA_CONTEXT) |
| typedef BOOL(* PFGINA_REMOVESTATUSMESSAGE) (PGINA_CONTEXT) |
| typedef struct GINA_CONTEXT * PGINA_CONTEXT |
| NTSTATUS ConnectToLsa | ( | PGINA_CONTEXT | pgContext | ) |
Definition at line 11 of file lsa.c.
Referenced by DoAdminUnlock(), DoChangePassword(), DoLoginTasks(), and TUILockedSAS().
| BOOL CreateProfile | ( | IN OUT PGINA_CONTEXT | pgContext, |
| IN PWSTR | UserName, | ||
| IN PWSTR | Domain, | ||
| IN PWSTR | Password | ||
| ) |
Definition at line 759 of file msgina.c.
Referenced by DoLogon(), and TUILoggedOutSAS().
| BOOL DoAdminUnlock | ( | IN PGINA_CONTEXT | pgContext, |
| IN PWSTR | UserName, | ||
| IN PWSTR | Domain, | ||
| IN PWSTR | Password | ||
| ) |
Definition at line 639 of file msgina.c.
Referenced by DoUnlock().
| NTSTATUS DoLoginTasks | ( | IN OUT PGINA_CONTEXT | pgContext, |
| IN PWSTR | UserName, | ||
| IN PWSTR | Domain, | ||
| IN PWSTR | Password, | ||
| OUT PNTSTATUS | SubStatus | ||
| ) |
Definition at line 808 of file shutdown.c.
Referenced by OnShutDown(), ShellShutdownDialog(), and ShutdownDialog().
Definition at line 696 of file shutdown.c.
Referenced by OnShutDown(), ShellShutdownDialog(), and ShutdownDialog().
| NTSTATUS MyLogonUser | ( | HANDLE | LsaHandle, |
| ULONG | AuthenticationPackage, | ||
| LPWSTR | lpszUsername, | ||
| LPWSTR | lpszDomain, | ||
| LPWSTR | lpszPassword, | ||
| PHANDLE | phToken, | ||
| PNTSTATUS | SubStatus | ||
| ) |
Definition at line 55 of file lsa.c.
Referenced by DoAdminUnlock(), DoLoginTasks(), and TUILockedSAS().
Definition at line 90 of file utils.c.
Referenced by GetPolicyDWORDValue(), GetRegistrySettings(), and OnInitSecurityDlg().
Definition at line 57 of file utils.c.
Referenced by ChooseGinaUI(), and GUILoggedOutSAS().
| LONG RegOpenLoggedOnHKCU | ( | _In_opt_ HANDLE | hUserToken, |
| _In_ REGSAM | samDesired, | ||
| _Out_ PHKEY | phkResult | ||
| ) |
Opens and retrieves a handle to the HKEY_CURRENT_USER corresponding to the specified logged-on user.
| [in] | hUserToken | Optional handle to a primary or impersonation access token that represents a logged-on user. See ImpersonateLoggedOnUser() for more information. If NULL, opens the SYSTEM's HKEY_USERS.Default (i.e. HKEY_USERS\S-1-5-18). |
| [in] | samDesired | A mask (type: REGSAM or ACCESS_MASK) that specifies the desired access rights to the key. See RegOpenCurrentUser() for more information. |
| [out] | phkResult | A pointer to a variable that receives a handle to the opened key. When the handle is no longer needed, close it with RegCloseKey(). |
Definition at line 31 of file utils.c.
Referenced by OnInitSecurityDlg(), OnShutDown(), and WlxActivateUserShell().
Definition at line 759 of file shutdown.c.
Referenced by OnShutDown(), ShellShutdownDialog(), and ShutdownDialog().
Definition at line 1252 of file shutdown.c.
Referenced by OnShutDown(), and ShellShutdownDialog().
Verifies whether the specified token has the given privilege.
Definition at line 140 of file utils.c.
Referenced by GetAllowedShutdownOptions(), and OnInitSecurityDlg().
| WINE_DEFAULT_DEBUG_CHANNEL | ( | msgina | ) |