1 | /* $Id: VBoxGINA.h 96407 2022-08-22 17:43:14Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * VBoxGINA - Windows Logon DLL for VirtualBox.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2006-2022 Oracle and/or its affiliates.
|
---|
8 | *
|
---|
9 | * This file is part of VirtualBox base platform packages, as
|
---|
10 | * available from https://www.virtualbox.org.
|
---|
11 | *
|
---|
12 | * This program is free software; you can redistribute it and/or
|
---|
13 | * modify it under the terms of the GNU General Public License
|
---|
14 | * as published by the Free Software Foundation, in version 3 of the
|
---|
15 | * License.
|
---|
16 | *
|
---|
17 | * This program is distributed in the hope that it will be useful, but
|
---|
18 | * WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
20 | * General Public License for more details.
|
---|
21 | *
|
---|
22 | * You should have received a copy of the GNU General Public License
|
---|
23 | * along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
24 | *
|
---|
25 | * SPDX-License-Identifier: GPL-3.0-only
|
---|
26 | */
|
---|
27 |
|
---|
28 | #ifndef GA_INCLUDED_SRC_WINNT_VBoxGINA_VBoxGINA_h
|
---|
29 | #define GA_INCLUDED_SRC_WINNT_VBoxGINA_VBoxGINA_h
|
---|
30 | #ifndef RT_WITHOUT_PRAGMA_ONCE
|
---|
31 | # pragma once
|
---|
32 | #endif
|
---|
33 |
|
---|
34 | /** Handle to Winlogon service */
|
---|
35 | extern HANDLE hGinaWlx;
|
---|
36 | /** Winlog function dispatch table */
|
---|
37 | extern PWLX_DISPATCH_VERSION_1_1 pWlxFuncs;
|
---|
38 |
|
---|
39 |
|
---|
40 | /** @name GINA entry point calls
|
---|
41 | * @{
|
---|
42 | */
|
---|
43 | typedef BOOL (WINAPI *PGWLXNEGOTIATE)(DWORD, DWORD*);
|
---|
44 | typedef BOOL (WINAPI *PGWLXINITIALIZE)(LPWSTR, HANDLE, PVOID, PVOID, PVOID*);
|
---|
45 | typedef VOID (WINAPI *PGWLXDISPLAYSASNOTICE)(PVOID);
|
---|
46 | typedef int (WINAPI *PGWLXLOGGEDOUTSAS)(PVOID, DWORD, PLUID, PSID, PDWORD,
|
---|
47 | PHANDLE, PWLX_MPR_NOTIFY_INFO, PVOID*);
|
---|
48 | typedef BOOL (WINAPI *PGWLXACTIVATEUSERSHELL)(PVOID, PWSTR, PWSTR, PVOID);
|
---|
49 | typedef int (WINAPI *PGWLXLOGGEDONSAS)(PVOID, DWORD, PVOID);
|
---|
50 | typedef VOID (WINAPI *PGWLXDISPLAYLOCKEDNOTICE)(PVOID);
|
---|
51 | typedef int (WINAPI *PGWLXWKSTALOCKEDSAS)(PVOID, DWORD);
|
---|
52 | typedef BOOL (WINAPI *PGWLXISLOCKOK)(PVOID);
|
---|
53 | typedef BOOL (WINAPI *PGWLXISLOGOFFOK)(PVOID);
|
---|
54 | typedef VOID (WINAPI *PGWLXLOGOFF)(PVOID);
|
---|
55 | typedef VOID (WINAPI *PGWLXSHUTDOWN)(PVOID, DWORD);
|
---|
56 | /* 1.1 calls */
|
---|
57 | typedef BOOL (WINAPI *PGWLXSCREENSAVERNOTIFY)(PVOID, BOOL*);
|
---|
58 | typedef BOOL (WINAPI *PGWLXSTARTAPPLICATION)(PVOID, PWSTR, PVOID, PWSTR);
|
---|
59 | /* 1.3 calls */
|
---|
60 | typedef BOOL (WINAPI *PGWLXNETWORKPROVIDERLOAD)(PVOID, PWLX_MPR_NOTIFY_INFO);
|
---|
61 | typedef BOOL (WINAPI *PGWLXDISPLAYSTATUSMESSAGE)(PVOID, HDESK, DWORD, PWSTR, PWSTR);
|
---|
62 | typedef BOOL (WINAPI *PGWLXGETSTATUSMESSAGE)(PVOID, DWORD*, PWSTR, DWORD);
|
---|
63 | typedef BOOL (WINAPI *PGWLXREMOVESTATUSMESSAGE)(PVOID);
|
---|
64 | /* 1.4 calls */
|
---|
65 | typedef BOOL (WINAPI *PGWLXGETCONSOLESWITCHCREDENTIALS)(PVOID, PVOID);
|
---|
66 | typedef VOID (WINAPI *PGWLXRECONNECTNOTIFY)(PVOID);
|
---|
67 | typedef VOID (WINAPI *PGWLXDISCONNECTNOTIFY)(PVOID);
|
---|
68 | /** @} */
|
---|
69 |
|
---|
70 | #endif /* !GA_INCLUDED_SRC_WINNT_VBoxGINA_VBoxGINA_h */
|
---|
71 |
|
---|