summaryrefslogtreecommitdiffstats
path: root/src/windows/gina/ginastub.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/windows/gina/ginastub.h')
-rw-r--r--src/windows/gina/ginastub.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/windows/gina/ginastub.h b/src/windows/gina/ginastub.h
new file mode 100644
index 0000000000..e9c833492d
--- /dev/null
+++ b/src/windows/gina/ginastub.h
@@ -0,0 +1,39 @@
+/* WinLogin 1.0 */
+typedef BOOL (CALLBACK * PGWLX_Negotiate)
+ (DWORD, DWORD *);
+typedef BOOL (CALLBACK * PGWLX_Initialize)
+ (LPWSTR, HANDLE, PVOID, PVOID, PVOID);
+typedef VOID (CALLBACK * PGWLX_DisplaySASNotice)
+ (PVOID);
+typedef int (CALLBACK * PGWLX_LoggedOutSAS)
+ (PVOID, DWORD, PLUID, PSID, PDWORD, PHANDLE,
+ PWLX_MPR_NOTIFY_INFO, PVOID *);
+typedef BOOL (CALLBACK * PGWLX_ActivateUserShell)
+ (PVOID, PWSTR, PWSTR, PVOID);
+typedef int (CALLBACK * PGWLX_LoggedOnSAS)
+ (PVOID, DWORD, PVOID);
+typedef VOID (CALLBACK * PGWLX_DisplayLockedNotice)
+ (PVOID);
+typedef int (CALLBACK * PGWLX_WkstaLockedSAS)
+ (PVOID, DWORD);
+typedef BOOL (CALLBACK * PGWLX_IsLockOk)
+ (PVOID);
+typedef BOOL (CALLBACK * PGWLX_IsLogoffOk)
+ (PVOID);
+typedef VOID (CALLBACK * PGWLX_Logoff)
+ (PVOID);
+typedef VOID (CALLBACK * PGWLX_Shutdown)
+ (PVOID, DWORD);
+
+/* WinLogin 1.1 */
+typedef BOOL (CALLBACK * PGWLX_StartApplication)
+ (PVOID, PWSTR, PVOID, PWSTR);
+typedef BOOL (CALLBACK * PGWLX_ScreenSaverNotify)
+ (PVOID, BOOL *);
+
+
+#if defined(WLX_VERSION_1_1)
+typedef PWLX_DISPATCH_VERSION_1_1 PGWLX_DISPATCH_VERSION;
+#else
+typedef PWLX_DISPATCH_VERSION_1_0 PGWLX_DISPATCH_VERSION;
+#endif