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
524251db
Commit
524251db
authored
Jul 18, 2005
by
Hans Leidekker
Committed by
Alexandre Julliard
Jul 18, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stub implementations for GetUserNameEx{A,W}, TranslateName{A,W},
LsaCallAuthenticationPackage, LsaConnectUntrusted and LsaDeregisterLogonProcess.
parent
f2ad5ade
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
68 additions
and
7 deletions
+68
-7
secur32.c
dlls/secur32/secur32.c
+58
-0
secur32.spec
dlls/secur32/secur32.spec
+7
-7
ntsecapi.h
include/ntsecapi.h
+3
-0
No files found.
dlls/secur32/secur32.c
View file @
524251db
...
...
@@ -27,6 +27,7 @@
#include "sspi.h"
#include "secur32_priv.h"
#include "secext.h"
#include "ntsecapi.h"
#include "thunks.h"
#include "wine/debug.h"
...
...
@@ -940,6 +941,63 @@ BOOLEAN WINAPI GetComputerObjectNameW(
return
FALSE
;
}
BOOLEAN
WINAPI
GetUserNameExA
(
EXTENDED_NAME_FORMAT
NameFormat
,
LPSTR
lpNameBuffer
,
PULONG
nSize
)
{
FIXME
(
"%d %p %p
\n
"
,
NameFormat
,
lpNameBuffer
,
nSize
);
return
FALSE
;
}
BOOLEAN
WINAPI
GetUserNameExW
(
EXTENDED_NAME_FORMAT
NameFormat
,
LPWSTR
lpNameBuffer
,
PULONG
nSize
)
{
FIXME
(
"%d %p %p
\n
"
,
NameFormat
,
lpNameBuffer
,
nSize
);
return
FALSE
;
}
NTSTATUS
WINAPI
LsaCallAuthenticationPackage
(
HANDLE
LsaHandle
,
ULONG
AuthenticationPackage
,
PVOID
ProtocolSubmitBuffer
,
ULONG
SubmitBufferLength
,
PVOID
*
ProtocolReturnBuffer
,
PULONG
ReturnBufferLength
,
NTSTATUS
*
ProtocolStatus
)
{
FIXME
(
"%p %ld %p %ld %p %p %p
\n
"
,
LsaHandle
,
AuthenticationPackage
,
ProtocolSubmitBuffer
,
SubmitBufferLength
,
ProtocolReturnBuffer
,
ReturnBufferLength
,
ProtocolStatus
);
return
0
;
}
NTSTATUS
WINAPI
LsaConnectUntrusted
(
PHANDLE
LsaHandle
)
{
FIXME
(
"%p
\n
"
,
LsaHandle
);
return
0
;
}
NTSTATUS
WINAPI
LsaDeregisterLogonProcess
(
HANDLE
LsaHandle
)
{
FIXME
(
"%p
\n
"
,
LsaHandle
);
return
0
;
}
BOOLEAN
WINAPI
TranslateNameA
(
LPCSTR
lpAccountName
,
EXTENDED_NAME_FORMAT
AccountNameFormat
,
EXTENDED_NAME_FORMAT
DesiredNameFormat
,
LPSTR
lpTranslatedName
,
PULONG
nSize
)
{
FIXME
(
"%p %d %d %p %p
\n
"
,
lpAccountName
,
AccountNameFormat
,
DesiredNameFormat
,
lpTranslatedName
,
nSize
);
return
FALSE
;
}
BOOLEAN
WINAPI
TranslateNameW
(
LPCWSTR
lpAccountName
,
EXTENDED_NAME_FORMAT
AccountNameFormat
,
EXTENDED_NAME_FORMAT
DesiredNameFormat
,
LPWSTR
lpTranslatedName
,
PULONG
nSize
)
{
FIXME
(
"%p %d %d %p %p
\n
"
,
lpAccountName
,
AccountNameFormat
,
DesiredNameFormat
,
lpTranslatedName
,
nSize
);
return
FALSE
;
}
/***********************************************************************
* DllMain (SECUR32.0)
*/
...
...
dlls/secur32/secur32.spec
View file @
524251db
...
...
@@ -23,8 +23,8 @@
@ stdcall GetComputerObjectNameA(long ptr ptr)
@ stdcall GetComputerObjectNameW(long ptr ptr)
@ stub GetSecurityUserInfo
@ st
ub GetUserNameExA
@ st
ub GetUserNameExW
@ st
dcall GetUserNameExA(long ptr ptr)
@ st
dcall GetUserNameExW(long ptr ptr)
@ stdcall ImpersonateSecurityContext(ptr)
@ stdcall ImportSecurityContextA(str ptr ptr ptr)
@ stdcall ImportSecurityContextW(wstr ptr ptr ptr)
...
...
@@ -32,9 +32,9 @@
@ stdcall InitSecurityInterfaceW()
@ stdcall InitializeSecurityContextA(ptr ptr str long long long ptr long ptr ptr ptr ptr)
@ stdcall InitializeSecurityContextW(ptr ptr wstr long long long ptr long ptr ptr ptr ptr)
@ st
ub LsaCallAuthenticationPackage
@ st
ub LsaConnectUntrusted
@ st
ub LsaDeregisterLogonProcess
@ st
dcall LsaCallAuthenticationPackage(long long ptr long ptr ptr ptr)
@ st
dcall LsaConnectUntrusted(long)
@ st
dcall LsaDeregisterLogonProcess(long)
@ stub LsaEnumerateLogonSessions
@ stub LsaFreeReturnBuffer
@ stub LsaGetLogonSessionData
...
...
@@ -67,7 +67,7 @@
@ stub SecpFreeMemory
@ stub SecpTranslateName
@ stub SecpTranslateNameEx
@ st
ub TranslateNameA
@ st
ub TranslateNameW
@ st
dcall TranslateNameA(str long long ptr ptr)
@ st
dcall TranslateNameW(wstr long long ptr ptr)
@ stub UnsealMessage
@ stdcall VerifySignature(ptr ptr long ptr)
include/ntsecapi.h
View file @
524251db
...
...
@@ -196,7 +196,10 @@ typedef struct _LSA_TRANSLATED_SID
LONG
DomainIndex
;
}
LSA_TRANSLATED_SID
,
*
PLSA_TRANSLATED_SID
;
NTSTATUS
WINAPI
LsaCallAuthenticationPackage
(
HANDLE
,
ULONG
,
PVOID
,
ULONG
,
PVOID
*
,
PULONG
,
NTSTATUS
*
);
NTSTATUS
WINAPI
LsaClose
(
LSA_HANDLE
);
NTSTATUS
WINAPI
LsaConnectUntrusted
(
PHANDLE
);
NTSTATUS
WINAPI
LsaDeregisterLogonProcess
(
HANDLE
);
NTSTATUS
WINAPI
LsaEnumerateTrustedDomains
(
LSA_HANDLE
,
PLSA_ENUMERATION_HANDLE
,
PVOID
*
,
ULONG
,
PULONG
);
NTSTATUS
WINAPI
LsaFreeMemory
(
PVOID
);
NTSTATUS
WINAPI
LsaLookupNames
(
LSA_HANDLE
,
ULONG
Count
,
PLSA_UNICODE_STRING
,
PLSA_REFERENCED_DOMAIN_LIST
*
,
...
...
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