1 | /* $Id: VBoxGINA.h 76563 2019-01-01 03:53:56Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * VBoxGINA - Windows Logon DLL for VirtualBox.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2006-2019 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 GA_INCLUDED_SRC_WINNT_VBoxGINA_VBoxGINA_h
|
---|
19 | #define GA_INCLUDED_SRC_WINNT_VBoxGINA_VBoxGINA_h
|
---|
20 | #ifndef RT_WITHOUT_PRAGMA_ONCE
|
---|
21 | # pragma once
|
---|
22 | #endif
|
---|
23 |
|
---|
24 | /** Handle to Winlogon service */
|
---|
25 | extern HANDLE hGinaWlx;
|
---|
26 | /** Winlog function dispatch table */
|
---|
27 | extern PWLX_DISPATCH_VERSION_1_1 pWlxFuncs;
|
---|
28 |
|
---|
29 |
|
---|
30 | /** @name GINA entry point calls
|
---|
31 | * @{
|
---|
32 | */
|
---|
33 | typedef BOOL (WINAPI *PGWLXNEGOTIATE)(DWORD, DWORD*);
|
---|
34 | typedef BOOL (WINAPI *PGWLXINITIALIZE)(LPWSTR, HANDLE, PVOID, PVOID, PVOID*);
|
---|
35 | typedef VOID (WINAPI *PGWLXDISPLAYSASNOTICE)(PVOID);
|
---|
36 | typedef int (WINAPI *PGWLXLOGGEDOUTSAS)(PVOID, DWORD, PLUID, PSID, PDWORD,
|
---|
37 | PHANDLE, PWLX_MPR_NOTIFY_INFO, PVOID*);
|
---|
38 | typedef BOOL (WINAPI *PGWLXACTIVATEUSERSHELL)(PVOID, PWSTR, PWSTR, PVOID);
|
---|
39 | typedef int (WINAPI *PGWLXLOGGEDONSAS)(PVOID, DWORD, PVOID);
|
---|
40 | typedef VOID (WINAPI *PGWLXDISPLAYLOCKEDNOTICE)(PVOID);
|
---|
41 | typedef int (WINAPI *PGWLXWKSTALOCKEDSAS)(PVOID, DWORD);
|
---|
42 | typedef BOOL (WINAPI *PGWLXISLOCKOK)(PVOID);
|
---|
43 | typedef BOOL (WINAPI *PGWLXISLOGOFFOK)(PVOID);
|
---|
44 | typedef VOID (WINAPI *PGWLXLOGOFF)(PVOID);
|
---|
45 | typedef VOID (WINAPI *PGWLXSHUTDOWN)(PVOID, DWORD);
|
---|
46 | /* 1.1 calls */
|
---|
47 | typedef BOOL (WINAPI *PGWLXSCREENSAVERNOTIFY)(PVOID, BOOL*);
|
---|
48 | typedef BOOL (WINAPI *PGWLXSTARTAPPLICATION)(PVOID, PWSTR, PVOID, PWSTR);
|
---|
49 | /* 1.3 calls */
|
---|
50 | typedef BOOL (WINAPI *PGWLXNETWORKPROVIDERLOAD)(PVOID, PWLX_MPR_NOTIFY_INFO);
|
---|
51 | typedef BOOL (WINAPI *PGWLXDISPLAYSTATUSMESSAGE)(PVOID, HDESK, DWORD, PWSTR, PWSTR);
|
---|
52 | typedef BOOL (WINAPI *PGWLXGETSTATUSMESSAGE)(PVOID, DWORD*, PWSTR, DWORD);
|
---|
53 | typedef BOOL (WINAPI *PGWLXREMOVESTATUSMESSAGE)(PVOID);
|
---|
54 | /* 1.4 calls */
|
---|
55 | typedef BOOL (WINAPI *PGWLXGETCONSOLESWITCHCREDENTIALS)(PVOID, PVOID);
|
---|
56 | typedef VOID (WINAPI *PGWLXRECONNECTNOTIFY)(PVOID);
|
---|
57 | typedef VOID (WINAPI *PGWLXDISCONNECTNOTIFY)(PVOID);
|
---|
58 | /** @} */
|
---|
59 |
|
---|
60 | #endif /* !GA_INCLUDED_SRC_WINNT_VBoxGINA_VBoxGINA_h */
|
---|
61 |
|
---|