1 | /** @file
|
---|
2 | * VBoxGINA - Windows Logon DLL for VirtualBox.
|
---|
3 | */
|
---|
4 |
|
---|
5 | /*
|
---|
6 | * Copyright (C) 2006-2011 Oracle Corporation
|
---|
7 | *
|
---|
8 | * This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
9 | * available from http://www.virtualbox.org. This file is free software;
|
---|
10 | * you can redistribute it and/or modify it under the terms of the GNU
|
---|
11 | * General Public License (GPL) as published by the Free Software
|
---|
12 | * Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
13 | * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
14 | * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
15 | */
|
---|
16 |
|
---|
17 | #ifndef ___H_VBOXGINA
|
---|
18 | #define ___H_VBOXGINA
|
---|
19 |
|
---|
20 | #include <iprt/initterm.h>
|
---|
21 |
|
---|
22 | #define LOG_GROUP LOG_GROUP_AUTOLOGON
|
---|
23 | #include <VBox/log.h>
|
---|
24 |
|
---|
25 | /** Handle to Winlogon service */
|
---|
26 | extern HANDLE hGinaWlx;
|
---|
27 | /** Winlog function dispatch table */
|
---|
28 | extern PWLX_DISPATCH_VERSION_1_1 pWlxFuncs;
|
---|
29 |
|
---|
30 |
|
---|
31 | /** @name GINA entry point calls
|
---|
32 | * @{
|
---|
33 | */
|
---|
34 | typedef BOOL (WINAPI *PGWLXNEGOTIATE)(DWORD, DWORD*);
|
---|
35 | typedef BOOL (WINAPI *PGWLXINITIALIZE)(LPWSTR, HANDLE, PVOID, PVOID, PVOID*);
|
---|
36 | typedef VOID (WINAPI *PGWLXDISPLAYSASNOTICE)(PVOID);
|
---|
37 | typedef int (WINAPI *PGWLXLOGGEDOUTSAS)(PVOID, DWORD, PLUID, PSID, PDWORD,
|
---|
38 | PHANDLE, PWLX_MPR_NOTIFY_INFO, PVOID*);
|
---|
39 | typedef BOOL (WINAPI *PGWLXACTIVATEUSERSHELL)(PVOID, PWSTR, PWSTR, PVOID);
|
---|
40 | typedef int (WINAPI *PGWLXLOGGEDONSAS)(PVOID, DWORD, PVOID);
|
---|
41 | typedef VOID (WINAPI *PGWLXDISPLAYLOCKEDNOTICE)(PVOID);
|
---|
42 | typedef int (WINAPI *PGWLXWKSTALOCKEDSAS)(PVOID, DWORD);
|
---|
43 | typedef BOOL (WINAPI *PGWLXISLOCKOK)(PVOID);
|
---|
44 | typedef BOOL (WINAPI *PGWLXISLOGOFFOK)(PVOID);
|
---|
45 | typedef VOID (WINAPI *PGWLXLOGOFF)(PVOID);
|
---|
46 | typedef VOID (WINAPI *PGWLXSHUTDOWN)(PVOID, DWORD);
|
---|
47 | /* 1.1 calls */
|
---|
48 | typedef BOOL (WINAPI *PGWLXSCREENSAVERNOTIFY)(PVOID, BOOL*);
|
---|
49 | typedef BOOL (WINAPI *PGWLXSTARTAPPLICATION)(PVOID, PWSTR, PVOID, PWSTR);
|
---|
50 | /* 1.3 calls */
|
---|
51 | typedef BOOL (WINAPI *PGWLXNETWORKPROVIDERLOAD)(PVOID, PWLX_MPR_NOTIFY_INFO);
|
---|
52 | typedef BOOL (WINAPI *PGWLXDISPLAYSTATUSMESSAGE)(PVOID, HDESK, DWORD, PWSTR, PWSTR);
|
---|
53 | typedef BOOL (WINAPI *PGWLXGETSTATUSMESSAGE)(PVOID, DWORD*, PWSTR, DWORD);
|
---|
54 | typedef BOOL (WINAPI *PGWLXREMOVESTATUSMESSAGE)(PVOID);
|
---|
55 | /* 1.4 calls */
|
---|
56 | typedef BOOL (WINAPI *PGWLXGETCONSOLESWITCHCREDENTIALS)(PVOID, PVOID);
|
---|
57 | typedef VOID (WINAPI *PGWLXRECONNECTNOTIFY)(PVOID);
|
---|
58 | typedef VOID (WINAPI *PGWLXDISCONNECTNOTIFY)(PVOID);
|
---|
59 | /** @} */
|
---|
60 |
|
---|
61 | #endif /* !___H_VBOXGINA */
|
---|
62 |
|
---|