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
f3f2eeb8
Commit
f3f2eeb8
authored
May 11, 2018
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
May 11, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mstask: Add stdcall to cdecl thunks for AT Service RPC API.
Signed-off-by:
Dmitry Timoshkov
<
dmitry@baikal.ru
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a66c6a09
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
8 deletions
+29
-8
mstask.spec
dlls/mstask/mstask.spec
+8
-8
mstask_main.c
dlls/mstask/mstask_main.c
+21
-0
No files found.
dlls/mstask/mstask.spec
View file @
f3f2eeb8
...
...
@@ -2,10 +2,10 @@
@ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stub GetNetScheduleAccountInformation
@ stdcall NetrJobAdd(wstr ptr ptr)
@ stdcall NetrJobDel(wstr long long)
@ stdcall NetrJobEnum(wstr ptr long ptr ptr)
@ stdcall NetrJobGetInfo(wstr long ptr)
@ stdcall NetrJobAdd(wstr ptr ptr)
NetrJobAdd_wrapper
@ stdcall NetrJobDel(wstr long long)
NetrJobDel_wrapper
@ stdcall NetrJobEnum(wstr ptr long ptr ptr)
NetrJobEnum_wrapper
@ stdcall NetrJobGetInfo(wstr long ptr)
NetrJobGetInfo_wrapper
@ stub SAGetAccountInformation
@ stub SAGetNSAccountInformation
@ stub SASetAccountInformation
...
...
@@ -15,10 +15,10 @@
@ stub _DllCanUnloadNow@0
@ stub _DllGetClassObject@12
@ stub _GetNetScheduleAccountInformation@12
@ stdcall _NetrJobAdd@12(wstr ptr ptr) NetrJobAdd
@ stdcall _NetrJobDel@12(wstr long long) NetrJobDel
@ stdcall _NetrJobEnum@20(wstr ptr long ptr ptr) NetrJobEnum
@ stdcall _NetrJobGetInfo@12(wstr long ptr) NetrJobGetInfo
@ stdcall _NetrJobAdd@12(wstr ptr ptr) NetrJobAdd
_wrapper
@ stdcall _NetrJobDel@12(wstr long long) NetrJobDel
_wrapper
@ stdcall _NetrJobEnum@20(wstr ptr long ptr ptr) NetrJobEnum
_wrapper
@ stdcall _NetrJobGetInfo@12(wstr long ptr) NetrJobGetInfo
_wrapper
@ stub _SAGetAccountInformation@16
@ stub _SAGetNSAccountInformation@12
@ stub _SASetAccountInformation@20
...
...
dlls/mstask/mstask_main.c
View file @
f3f2eeb8
...
...
@@ -79,6 +79,27 @@ HRESULT WINAPI DllUnregisterServer(void)
return
__wine_unregister_resources
(
hInst
);
}
DWORD
WINAPI
NetrJobAdd_wrapper
(
ATSVC_HANDLE
server_name
,
LPAT_INFO
info
,
LPDWORD
jobid
)
{
return
NetrJobAdd
(
server_name
,
info
,
jobid
);
}
DWORD
WINAPI
NetrJobDel_wrapper
(
ATSVC_HANDLE
server_name
,
DWORD
min_jobid
,
DWORD
max_jobid
)
{
return
NetrJobDel
(
server_name
,
min_jobid
,
max_jobid
);
}
DWORD
WINAPI
NetrJobEnum_wrapper
(
ATSVC_HANDLE
server_name
,
LPAT_ENUM_CONTAINER
container
,
DWORD
max_length
,
LPDWORD
total
,
LPDWORD
resume
)
{
return
NetrJobEnum
(
server_name
,
container
,
max_length
,
total
,
resume
);
}
DWORD
WINAPI
NetrJobGetInfo_wrapper
(
ATSVC_HANDLE
server_name
,
DWORD
jobid
,
LPAT_INFO
*
info
)
{
return
NetrJobGetInfo
(
server_name
,
jobid
,
info
);
}
DECLSPEC_HIDDEN
void
__RPC_FAR
*
__RPC_USER
MIDL_user_allocate
(
SIZE_T
n
)
{
return
HeapAlloc
(
GetProcessHeap
(),
0
,
n
);
...
...
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