Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
6fb12fc2
Commit
6fb12fc2
authored
Aug 16, 2005
by
Francois Gouget
Committed by
Alexandre Julliard
Aug 16, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Declare PNTSTATUS in lmaccess.h and ntsecapi.h to match the PSDK.
Protect against multiple definitions. Use PNTSTATUS where appropriate.
parent
71af5954
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
2 deletions
+23
-2
secur32.c
dlls/secur32/secur32.c
+1
-1
lmaccess.h
include/lmaccess.h
+9
-0
ntsecapi.h
include/ntsecapi.h
+10
-1
winternl.h
include/winternl.h
+3
-0
No files found.
dlls/secur32/secur32.c
View file @
6fb12fc2
...
@@ -960,7 +960,7 @@ BOOLEAN WINAPI GetUserNameExW(
...
@@ -960,7 +960,7 @@ BOOLEAN WINAPI GetUserNameExW(
NTSTATUS
WINAPI
LsaCallAuthenticationPackage
(
NTSTATUS
WINAPI
LsaCallAuthenticationPackage
(
HANDLE
LsaHandle
,
ULONG
AuthenticationPackage
,
PVOID
ProtocolSubmitBuffer
,
HANDLE
LsaHandle
,
ULONG
AuthenticationPackage
,
PVOID
ProtocolSubmitBuffer
,
ULONG
SubmitBufferLength
,
PVOID
*
ProtocolReturnBuffer
,
PULONG
ReturnBufferLength
,
ULONG
SubmitBufferLength
,
PVOID
*
ProtocolReturnBuffer
,
PULONG
ReturnBufferLength
,
NTSTATUS
*
ProtocolStatus
)
PNTSTATUS
ProtocolStatus
)
{
{
FIXME
(
"%p %ld %p %ld %p %p %p
\n
"
,
LsaHandle
,
AuthenticationPackage
,
FIXME
(
"%p %ld %p %ld %p %p %p
\n
"
,
LsaHandle
,
AuthenticationPackage
,
ProtocolSubmitBuffer
,
SubmitBufferLength
,
ProtocolReturnBuffer
,
ProtocolSubmitBuffer
,
SubmitBufferLength
,
ProtocolReturnBuffer
,
...
...
include/lmaccess.h
View file @
6fb12fc2
...
@@ -111,6 +111,15 @@ static const WCHAR GROUP_SPECIALGRP_GUESTS[] = { 'G','U','E','S','T','S',0 };
...
@@ -111,6 +111,15 @@ static const WCHAR GROUP_SPECIALGRP_GUESTS[] = { 'G','U','E','S','T','S',0 };
static
const
WCHAR
GROUP_SPECIALGRP_LOCAL
[]
=
{
'L'
,
'O'
,
'C'
,
'A'
,
'L'
,
0
};
static
const
WCHAR
GROUP_SPECIALGRP_LOCAL
[]
=
{
'L'
,
'O'
,
'C'
,
'A'
,
'L'
,
0
};
#endif
#endif
#ifndef WINE_NTSTATUS_DECLARED
#define WINE_NTSTATUS_DECLARED
typedef
LONG
NTSTATUS
;
#endif
#ifndef WINE_PNTSTATUS_DECLARED
#define WINE_PNTSTATUS_DECLARED
typedef
NTSTATUS
*
PNTSTATUS
;
#endif
/* NetGetUserInfo structures */
/* NetGetUserInfo structures */
typedef
struct
_USER_INFO_0
{
typedef
struct
_USER_INFO_0
{
LPWSTR
usri0_name
;
LPWSTR
usri0_name
;
...
...
include/ntsecapi.h
View file @
6fb12fc2
...
@@ -106,6 +106,15 @@ extern "C" {
...
@@ -106,6 +106,15 @@ extern "C" {
#define SE_DENY_SERVICE_LOGON_NAME \
#define SE_DENY_SERVICE_LOGON_NAME \
TEXT("SeDenyServiceLogonRight")
TEXT("SeDenyServiceLogonRight")
#ifndef WINE_NTSTATUS_DECLARED
#define WINE_NTSTATUS_DECLARED
typedef
LONG
NTSTATUS
;
#endif
#ifndef WINE_PNTSTATUS_DECLARED
#define WINE_PNTSTATUS_DECLARED
typedef
NTSTATUS
*
PNTSTATUS
;
#endif
typedef
enum
_SECURITY_LOGON_TYPE
typedef
enum
_SECURITY_LOGON_TYPE
{
{
Interactive
=
2
,
Interactive
=
2
,
...
@@ -196,7 +205,7 @@ typedef struct _LSA_TRANSLATED_SID
...
@@ -196,7 +205,7 @@ typedef struct _LSA_TRANSLATED_SID
LONG
DomainIndex
;
LONG
DomainIndex
;
}
LSA_TRANSLATED_SID
,
*
PLSA_TRANSLATED_SID
;
}
LSA_TRANSLATED_SID
,
*
PLSA_TRANSLATED_SID
;
NTSTATUS
WINAPI
LsaCallAuthenticationPackage
(
HANDLE
,
ULONG
,
PVOID
,
ULONG
,
PVOID
*
,
PULONG
,
NTSTATUS
*
);
NTSTATUS
WINAPI
LsaCallAuthenticationPackage
(
HANDLE
,
ULONG
,
PVOID
,
ULONG
,
PVOID
*
,
PULONG
,
PNTSTATUS
);
NTSTATUS
WINAPI
LsaClose
(
LSA_HANDLE
);
NTSTATUS
WINAPI
LsaClose
(
LSA_HANDLE
);
NTSTATUS
WINAPI
LsaConnectUntrusted
(
PHANDLE
);
NTSTATUS
WINAPI
LsaConnectUntrusted
(
PHANDLE
);
NTSTATUS
WINAPI
LsaDeregisterLogonProcess
(
HANDLE
);
NTSTATUS
WINAPI
LsaDeregisterLogonProcess
(
HANDLE
);
...
...
include/winternl.h
View file @
6fb12fc2
...
@@ -32,7 +32,10 @@ extern "C" {
...
@@ -32,7 +32,10 @@ extern "C" {
* Fundamental types and data structures
* Fundamental types and data structures
*/
*/
#ifndef WINE_NTSTATUS_DECLARED
#define WINE_NTSTATUS_DECLARED
typedef
LONG
NTSTATUS
;
typedef
LONG
NTSTATUS
;
#endif
typedef
CONST
char
*
PCSZ
;
typedef
CONST
char
*
PCSZ
;
...
...
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