[PATCH v2 0/1] MR6316: netutils: Forward some exports to netapi32.
Fixes Lineage 2 -- v2: netutils: Forward some exports to netapi32. https://gitlab.winehq.org/wine/wine/-/merge_requests/6316
From: Etaash Mathamsetty <etaash.mathamsetty(a)gmail.com> --- dlls/netutils/Makefile.in | 1 + dlls/netutils/netutils.spec | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/dlls/netutils/Makefile.in b/dlls/netutils/Makefile.in index 8b16b2eb178..272600426ae 100644 --- a/dlls/netutils/Makefile.in +++ b/dlls/netutils/Makefile.in @@ -1,3 +1,4 @@ MODULE = netutils.dll +IMPORTS = netapi32 EXTRADLLFLAGS = -Wb,--prefer-native diff --git a/dlls/netutils/netutils.spec b/dlls/netutils/netutils.spec index ff022af2c57..50522dd321b 100644 --- a/dlls/netutils/netutils.spec +++ b/dlls/netutils/netutils.spec @@ -1,9 +1,9 @@ -@ stub NetApiBufferAllocate -@ stub NetApiBufferFree -@ stub NetApiBufferReallocate -@ stub NetApiBufferSize +@ stdcall NetApiBufferAllocate(long ptr) netapi32.NetApiBufferAllocate +@ stdcall NetApiBufferFree(ptr) netapi32.NetApiBufferFree +@ stdcall NetApiBufferReallocate(ptr long ptr) netapi32.NetApiBufferReallocate +@ stdcall NetApiBufferSize(ptr ptr) netapi32.NetApiBufferSize @ stub NetRemoteComputerSupports -@ stub NetapipBufferAllocate +@ stdcall NetapipBufferAllocate(long ptr) netapi32.NetapipBufferAllocate @ stub NetpIsComputerNameValid @ stub NetpIsDomainNameValid @ stub NetpIsGroupNameValid -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/6316
Have you checked if it's not the other way around? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6316#note_79214
On Tue Aug 20 01:05:54 2024 +0000, Nikolay Sivov wrote:
Have you checked if it's not the other way around? it is the other way around :( Time for a very big patch
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/6316#note_79220
participants (3)
-
Etaash Mathamsetty -
Etaash Mathamsetty (@etaash.mathamsetty) -
Nikolay Sivov (@nsivov)