ReactOS 0.4.16-dev-36-g301675c
|
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <wingdi.h>
#include <winuser.h>
#include <winreg.h>
#include <winwlx.h>
#include <ndk/rtlfuncs.h>
#include <ndk/exfuncs.h>
#include <strsafe.h>
#include <pseh/pseh2.h>
#include <reactos/undocuser.h>
#include <reactos/undocmpr.h>
#include <wine/debug.h>
#include "resource.h"
Go to the source code of this file.
Classes | |
struct | _GINAFUNCTIONS |
struct | _GINAINSTANCE |
struct | _WLSESSION |
Macros | |
#define | USE_GETLASTINPUTINFO |
#define | WIN32_NO_STATUS |
#define | LockWorkstation(Session) |
#define | UnlockWorkstation(Session) |
#define | WLX_SHUTTINGDOWN(Status) |
#define | WLX_SUSPENDING(Status) |
Variables | |
HINSTANCE | hAppInstance |
PWLSESSION | WLSession |
LUID | LuidNone |
#define LockWorkstation | ( | Session | ) |
Definition at line 216 of file winlogon.h.
#define UnlockWorkstation | ( | Session | ) |
Definition at line 217 of file winlogon.h.
#define USE_GETLASTINPUTINFO |
Definition at line 29 of file winlogon.h.
#define WIN32_NO_STATUS |
Definition at line 35 of file winlogon.h.
Definition at line 276 of file winlogon.h.
Definition at line 282 of file winlogon.h.
typedef struct _GINAFUNCTIONS GINAFUNCTIONS |
typedef struct _GINAINSTANCE GINAINSTANCE |
typedef enum _LOGON_STATE LOGON_STATE |
typedef enum _NOTIFICATION_TYPE NOTIFICATION_TYPE |
Definition at line 71 of file winlogon.h.
Definition at line 73 of file winlogon.h.
Definition at line 67 of file winlogon.h.
Definition at line 88 of file winlogon.h.
Definition at line 89 of file winlogon.h.
Definition at line 66 of file winlogon.h.
Definition at line 75 of file winlogon.h.
Definition at line 76 of file winlogon.h.
Definition at line 72 of file winlogon.h.
typedef int(WINAPI * PFWLXLOGGEDOUTSAS) (PVOID, DWORD, PLUID, PSID, PDWORD, PHANDLE, PWLX_MPR_NOTIFY_INFO, PVOID *) |
Definition at line 68 of file winlogon.h.
Definition at line 77 of file winlogon.h.
typedef BOOL(WINAPI * PFWLXNETWORKPROVIDERLOAD) (PVOID, PWLX_MPR_NOTIFY_INFO) |
Definition at line 87 of file winlogon.h.
Definition at line 90 of file winlogon.h.
Definition at line 82 of file winlogon.h.
Definition at line 83 of file winlogon.h.
typedef struct _GINAFUNCTIONS * PGINAFUNCTIONS |
typedef struct _GINAINSTANCE * PGINAINSTANCE |
typedef enum _LOGON_STATE * PLOGON_STATE |
typedef enum _NOTIFICATION_TYPE * PNOTIFICATION_TYPE |
typedef struct _WLSESSION * PWLSESSION |
typedef struct _WLSESSION WLSESSION |
Enumerator | |
---|---|
STATE_INIT | |
STATE_LOGGED_OFF | |
STATE_LOGGED_OFF_SAS | |
STATE_LOGGED_ON | |
STATE_LOGGED_ON_SAS | |
STATE_LOCKED | |
STATE_LOCKED_SAS | |
STATE_LOGGING_OFF | |
STATE_SHUTTING_DOWN | |
STATE_SHUT_DOWN | |
STATE_SCREENSAVER |
Definition at line 201 of file winlogon.h.
Definition at line 256 of file winlogon.h.
BOOL AllowAccessOnSession | ( | _In_ PWLSESSION | Session | ) |
Assigns both window station and desktop access to the specific session currently active on the system.
[in] | Session | A pointer to an active session. |
Definition at line 1391 of file security.c.
Referenced by HandleLogon().
Assigns access to the specific logon user to the default desktop. Such access is given to the user when it has logged in.
[in] | Desktop | A handle to a desktop where the user is given access to it. |
[in] | LogonSid | A pointer to a logon SID that represents the logged in user in question. |
Definition at line 1165 of file security.c.
Referenced by AllowAccessOnSession().
Assigns access to the specific logon user to the default window station. Such access is given to the user when it has logged in.
[in] | WinSta | A handle to a window station where the user is given access to it. |
[in] | LogonSid | A pointer to a logon SID that represents the logged in user in question. |
Definition at line 874 of file security.c.
Referenced by AllowAccessOnSession().
VOID CallNotificationDlls | ( | PWLSESSION | pSession, |
NOTIFICATION_TYPE | Type | ||
) |
Definition at line 390 of file notify.c.
Referenced by DoGenericAction(), HandleLogoff(), HandleLogon(), HandleShutdown(), StartScreenSaver(), and WinMain().
Definition at line 470 of file notify.c.
Referenced by WinMain().
Definition at line 95 of file wlx.c.
Referenced by DispatchSAS().
PSECURITY_DESCRIPTOR ConvertToSelfRelative | ( | _In_ PSECURITY_DESCRIPTOR | AbsoluteSd | ) |
Converts an absolute security descriptor to a self-relative format.
[in] | AbsoluteSd | A pointer to an absolute security descriptor to be converted. |
Definition at line 64 of file security.c.
Referenced by AllowDesktopAccessToUser(), AllowWinstaAccessToUser(), CreateApplicationDesktopSecurity(), CreateScreenSaverSecurity(), CreateWinlogonDesktopSecurity(), and CreateWinstaSecurity().
BOOL CreateApplicationDesktopSecurity | ( | _Out_ PSECURITY_DESCRIPTOR * | ApplicationDesktopSd | ) |
Creates a security descriptor for the default application desktop upon its creation.
[out] | ApplicationDesktopSd | A pointer to a created security descriptor for the application desktop. |
Definition at line 359 of file security.c.
Referenced by CreateWindowStationAndDesktops().
BOOL CreateScreenSaverSecurity | ( | _Out_ PSECURITY_DESCRIPTOR * | ScreenSaverDesktopSd | ) |
Creates a security descriptor for the screen saver desktop.
[out] | ScreenSaverDesktopSd | A pointer to a created security descriptor for the screen-saver desktop. |
Definition at line 690 of file security.c.
Referenced by CreateWindowStationAndDesktops().
BOOL CreateUserEnvironment | ( | IN PWLSESSION | Session | ) |
Definition at line 128 of file environment.c.
Referenced by HandleLogon().
BOOL CreateWindowStationAndDesktops | ( | _Inout_ PWLSESSION | Session | ) |
Definition at line 928 of file wlx.c.
Referenced by WinMain().
BOOL CreateWinlogonDesktopSecurity | ( | _Out_ PSECURITY_DESCRIPTOR * | WinlogonDesktopSd | ) |
Creates a security descriptor for the default Winlogon desktop. This descriptor serves as a security measure for the winlogon desktop so that only Winlogon itself (and admins) can interact with it.
[out] | WinlogonDesktopSd | A pointer to a created security descriptor for the Winlogon desktop. |
Definition at line 541 of file security.c.
Referenced by CreateWindowStationAndDesktops().
BOOL CreateWinstaSecurity | ( | _Out_ PSECURITY_DESCRIPTOR * | WinstaSd | ) |
Creates a security descriptor for the default window station upon its creation.
[out] | WinstaSd | A pointer to a created security descriptor for the window station. |
Definition at line 112 of file security.c.
Referenced by CreateWindowStationAndDesktops().
Definition at line 349 of file winlogon.c.
Referenced by HandleLogoff(), HandleLogon(), HandleShutdown(), and WinMain().
Definition at line 16 of file setup.c.
Referenced by SASWindowProc(), and WinMain().
BOOL GinaInit | ( | IN OUT PWLSESSION | Session | ) |
Definition at line 905 of file wlx.c.
Referenced by WinMain().
Definition at line 932 of file sas.c.
Referenced by DoGenericAction(), and WinMain().
BOOL InitializeSAS | ( | IN OUT PWLSESSION | Session | ) |
Definition at line 1482 of file sas.c.
Referenced by WinMain().
BOOL InitializeScreenSaver | ( | IN OUT PWLSESSION | Session | ) |
Definition at line 204 of file screensaver.c.
Referenced by HandleLogon().
Definition at line 253 of file notify.c.
Referenced by WinMain().
Definition at line 240 of file sas.c.
Referenced by PlayEventSound(), PlayLogoffSound(), and PlayLogonSoundThread().
BOOL RemoveStatusMessage | ( | IN PWLSESSION | Session | ) |
Definition at line 370 of file winlogon.c.
Referenced by DoGenericAction(), HandleLogon(), and WinMain().
Definition at line 153 of file setup.c.
Referenced by WinMain().
BOOL SetDefaultLanguage | ( | IN PWLSESSION | Session | ) |
Definition at line 111 of file sas.c.
Referenced by HandleLogon(), and InitializeSAS().
BOOL WINAPI SetWindowStationUser | ( | IN HWINSTA | hWindowStation, |
IN PLUID | pluid, | ||
IN PSID psid | OPTIONAL, | ||
IN DWORD | size | ||
) |
Definition at line 419 of file winsta.c.
Referenced by AllowAccessOnSession(), CreateWindowStationAndDesktops(), HandleLogoff(), and HandleLogon().
Definition at line 32 of file rpcserver.c.
VOID StartScreenSaver | ( | IN PWLSESSION | Session | ) |
Definition at line 257 of file screensaver.c.
Referenced by DispatchSAS().
DWORD StartSystemShutdown | ( | IN PUNICODE_STRING | pMessage, |
IN ULONG | dwTimeout, | ||
IN BOOLEAN | bForceAppsClosed, | ||
IN BOOLEAN | bRebootAfterShutdown, | ||
IN ULONG | dwReason | ||
) |
Definition at line 337 of file shutdown.c.
Referenced by BaseInitiateSystemShutdownEx().
Definition at line 328 of file shutdown.c.
Referenced by BaseAbortSystemShutdown().
WINE_DEFAULT_DEBUG_CHANNEL | ( | winlogon | ) |
Definition at line 248 of file wlx.c.
int WINAPI WlxChangePasswordNotify | ( | HANDLE | hWlx, |
PWLX_MPR_NOTIFY_INFO | pMprInfo, | ||
DWORD | dwChangeInfo | ||
) |
Definition at line 423 of file wlx.c.
int WINAPI WlxChangePasswordNotifyEx | ( | HANDLE | hWlx, |
PWLX_MPR_NOTIFY_INFO | pMprInfo, | ||
DWORD | dwChangeInfo, | ||
PWSTR | ProviderName, | ||
PVOID | Reserved | ||
) |
Definition at line 495 of file wlx.c.
BOOL WINAPI WlxCloseUserDesktop | ( | HANDLE | hWlx, |
PWLX_DESKTOP | pDesktop, | ||
HANDLE | hToken | ||
) |
Definition at line 517 of file wlx.c.
BOOL WINAPI WlxCreateUserDesktop | ( | HANDLE | hWlx, |
HANDLE | hToken, | ||
DWORD | Flags, | ||
PWSTR | pszDesktopName, | ||
PWLX_DESKTOP * | ppDesktop | ||
) |
Definition at line 473 of file wlx.c.
int WINAPI WlxDialogBox | ( | HANDLE | hWlx, |
HANDLE | hInst, | ||
LPWSTR | lpszTemplate, | ||
HWND | hwndOwner, | ||
DLGPROC | dlgprc | ||
) |
Definition at line 287 of file wlx.c.
int WINAPI WlxDialogBoxIndirect | ( | HANDLE | hWlx, |
HANDLE | hInst, | ||
LPCDLGTEMPLATE | hDialogTemplate, | ||
HWND | hwndOwner, | ||
DLGPROC | dlgprc | ||
) |
Definition at line 340 of file wlx.c.
int WINAPI WlxDialogBoxIndirectParam | ( | HANDLE | hWlx, |
HANDLE | hInst, | ||
LPCDLGTEMPLATE | hDialogTemplate, | ||
HWND | hwndOwner, | ||
DLGPROC | dlgprc, | ||
LPARAM | dwInitParam | ||
) |
Definition at line 359 of file wlx.c.
Referenced by WlxDialogBoxIndirect().
int WINAPI WlxDialogBoxParam | ( | HANDLE | hWlx, |
HANDLE | hInst, | ||
LPWSTR | lpszTemplate, | ||
HWND | hwndOwner, | ||
DLGPROC | dlgprc, | ||
LPARAM | dwInitParam | ||
) |
Definition at line 306 of file wlx.c.
Referenced by WlxDialogBox().
Definition at line 568 of file wlx.c.
BOOL WINAPI WlxGetSourceDesktop | ( | HANDLE | hWlx, |
PWLX_DESKTOP * | ppDesktop | ||
) |
Definition at line 441 of file wlx.c.
int WINAPI WlxMessageBox | ( | HANDLE | hWlx, |
HWND | hwndOwner, | ||
LPWSTR | lpszText, | ||
LPWSTR | lpszTitle, | ||
UINT | fuStyle | ||
) |
Definition at line 268 of file wlx.c.
BOOL WINAPI WlxQueryClientCredentials | ( | PWLX_CLIENT_CREDENTIALS_INFO_V1_0 | pCred | ) |
DWORD WINAPI WlxQueryConsoleSwitchCredentials | ( | PWLX_CONSOLESWITCH_CREDENTIALS_INFO_V1_0 | pCred | ) |
BOOL WINAPI WlxQueryInetConnectorCredentials | ( | PWLX_CLIENT_CREDENTIALS_INFO_V1_0 | pCred | ) |
DWORD WINAPI WlxQueryTerminalServicesData | ( | HANDLE | hWlx, |
PWLX_TERMINAL_SERVICES_DATA | pTSData, | ||
WCHAR * | UserName, | ||
WCHAR * | Domain | ||
) |
Definition at line 678 of file wlx.c.
BOOL WINAPI WlxQueryTsLogonCredentials | ( | PWLX_CLIENT_CREDENTIALS_INFO_V2_0 | pCred | ) |
Definition at line 535 of file wlx.c.
Referenced by WlxSetContextPointer(), and WlxUseCtrlAltDel().
BOOL WINAPI WlxSetReturnDesktop | ( | HANDLE | hWlx, |
PWLX_DESKTOP | pDesktop | ||
) |
Definition at line 457 of file wlx.c.
|
extern |
Definition at line 23 of file mmc.c.
Referenced by _tWinMain(), AddDialogControl(), CreateApplicationWindow(), CreateConsoleWindow(), CreateNewConsoleTitle(), DisplayStatusMessage(), DoSaveFileAs(), EnumConnectionsCallback(), FrameOnCommand(), FrameOnCreate(), HandleShutdown(), InitializeSAS(), InitializeScreenSaver(), InitiateSystemShutdownThread(), LoadDialogCtrls(), LoadDialogResource(), MainWindowProc(), OnInitDialog(), OnTimer(), RegisterApplicationClasses(), RegisterMMCWndClasses(), UninitializeSAS(), UnregisterApplicationClasses(), UnregisterMMCWndClasses(), and WinMain().
|
extern |
Definition at line 47 of file sas.c.
Referenced by CreateWindowStationAndDesktops(), HandleLogoff(), HandleLogon(), and SetWindowStationUser().
|
extern |
Definition at line 20 of file winlogon.c.
Referenced by DefaultWlxScreenSaverNotify(), RunSetupThreadProc(), and WinMain().