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
6674e6d7
Commit
6674e6d7
authored
Nov 28, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msv1_0: Use the Unix call helpers.
parent
0e10e6ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
main.c
dlls/msv1_0/main.c
+5
-8
No files found.
dlls/msv1_0/main.c
View file @
6674e6d7
...
...
@@ -43,30 +43,28 @@ WINE_DEFAULT_DEBUG_CHANNEL(ntlm);
static
ULONG
ntlm_package_id
;
static
LSA_DISPATCH_TABLE
lsa_dispatch
;
static
unixlib_handle_t
ntlm_handle
;
static
NTSTATUS
ntlm_check_version
(
void
)
{
return
__wine_unix_call
(
ntlm_handle
,
unix_check_version
,
NULL
);
return
WINE_UNIX_CALL
(
unix_check_version
,
NULL
);
}
static
void
ntlm_cleanup
(
struct
ntlm_ctx
*
ctx
)
{
__wine_unix_call
(
ntlm_handle
,
unix_cleanup
,
ctx
);
WINE_UNIX_CALL
(
unix_cleanup
,
ctx
);
}
static
NTSTATUS
ntlm_chat
(
struct
ntlm_ctx
*
ctx
,
char
*
buf
,
unsigned
int
buflen
,
unsigned
int
*
retlen
)
{
struct
chat_params
params
=
{
ctx
,
buf
,
buflen
,
retlen
};
return
__wine_unix_call
(
ntlm_handle
,
unix_chat
,
&
params
);
return
WINE_UNIX_CALL
(
unix_chat
,
&
params
);
}
static
NTSTATUS
ntlm_fork
(
struct
ntlm_ctx
*
ctx
,
char
**
argv
)
{
struct
fork_params
params
=
{
ctx
,
argv
};
return
__wine_unix_call
(
ntlm_handle
,
unix_fork
,
&
params
);
return
WINE_UNIX_CALL
(
unix_fork
,
&
params
);
}
#define NTLM_CAPS \
...
...
@@ -1608,8 +1606,7 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, void *reserved )
switch
(
reason
)
{
case
DLL_PROCESS_ATTACH
:
if
(
NtQueryVirtualMemory
(
GetCurrentProcess
(),
hinst
,
MemoryWineUnixFuncs
,
&
ntlm_handle
,
sizeof
(
ntlm_handle
),
NULL
))
if
(
__wine_init_unix_call
())
return
FALSE
;
DisableThreadLibraryCalls
(
hinst
);
break
;
...
...
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