Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
982f1983
Commit
982f1983
authored
Jul 11, 2023
by
Vitaly Lipatov
Committed by
Alexandre Julliard
Aug 04, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Update SECURITY_LOGON_TYPE and SECURITY_LOGON_SESSION_DATA in ntsecapi.h.
Signed-off-by:
Vitaly Lipatov
<
lav@etersoft.ru
>
parent
0b3b28c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
1 deletion
+28
-1
ntsecapi.h
include/ntsecapi.h
+28
-1
No files found.
include/ntsecapi.h
View file @
982f1983
...
...
@@ -121,11 +121,19 @@ typedef NTSTATUS *PNTSTATUS;
typedef
enum
_SECURITY_LOGON_TYPE
{
UndefinedLogonType
=
0
,
Interactive
=
2
,
Network
,
Batch
,
Service
,
Proxy
Proxy
,
Unlock
,
NetworkCleartext
,
NewCredentials
,
RemoteInteractive
,
CachedInteractive
,
CachedRemoteInteractive
,
CachedUnlock
}
SECURITY_LOGON_TYPE
,
*
PSECURITY_LOGON_TYPE
;
typedef
enum
_POLICY_AUDIT_EVENT_TYPE
...
...
@@ -249,6 +257,12 @@ typedef struct _POLICY_MODIFICATION_INFO
LARGE_INTEGER
DatabaseCreationTime
;
}
POLICY_MODIFICATION_INFO
,
*
PPOLICY_MODIFICATION_INFO
;
typedef
struct
_LSA_LAST_INTER_LOGON_INFO
{
LARGE_INTEGER
LastSuccessfulLogon
;
LARGE_INTEGER
LastFailedLogon
;
ULONG
FailedAttemptCountSinceLastSuccessfulLogon
;
}
LSA_LAST_INTER_LOGON_INFO
,
*
PLSA_LAST_INTER_LOGON_INFO
;
typedef
struct
_SECURITY_LOGON_SESSION_DATA
{
ULONG
Size
;
LUID
LogonId
;
...
...
@@ -262,6 +276,17 @@ typedef struct _SECURITY_LOGON_SESSION_DATA {
LSA_UNICODE_STRING
LogonServer
;
LSA_UNICODE_STRING
DnsDomainName
;
LSA_UNICODE_STRING
Upn
;
ULONG
UserFlags
;
LSA_LAST_INTER_LOGON_INFO
LastLogonInfo
;
LSA_UNICODE_STRING
LogonScript
;
LSA_UNICODE_STRING
ProfilePath
;
LSA_UNICODE_STRING
HomeDirectory
;
LSA_UNICODE_STRING
HomeDirectoryDrive
;
LARGE_INTEGER
LogoffTime
;
LARGE_INTEGER
KickOffTime
;
LARGE_INTEGER
PasswordLastSet
;
LARGE_INTEGER
PasswordCanChange
;
LARGE_INTEGER
PasswordMustChange
;
}
SECURITY_LOGON_SESSION_DATA
,
*
PSECURITY_LOGON_SESSION_DATA
;
typedef
struct
...
...
@@ -636,6 +661,8 @@ typedef struct _KERB_PURGE_TKT_CACHE_REQUEST
#define RtlEncryptMemory SystemFunction040
#define RtlDecryptMemory SystemFunction041
#define LSA_SUCCESS(Error) ((LONG)(Error) >= 0)
WINADVAPI
BOOLEAN
WINAPI
AuditQuerySystemPolicy
(
const
GUID
*
,
ULONG
,
AUDIT_POLICY_INFORMATION
**
);
WINADVAPI
BOOLEAN
WINAPI
RtlGenRandom
(
PVOID
,
ULONG
);
WINADVAPI
NTSTATUS
WINAPI
RtlEncryptMemory
(
PVOID
,
ULONG
,
ULONG
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment