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