Commit f3f2eeb8 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

mstask: Add stdcall to cdecl thunks for AT Service RPC API.

parent a66c6a09
......@@ -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
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment