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