Commit a54d9728 authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

kernel32: Forward threadpool cleanup group functions to ntdll.

parent 9f71015a
...@@ -229,8 +229,8 @@ ...@@ -229,8 +229,8 @@
@ stdcall CloseProfileUserMapping() @ stdcall CloseProfileUserMapping()
@ stub CloseSystemHandle @ stub CloseSystemHandle
# @ stub CloseThreadpool # @ stub CloseThreadpool
# @ stub CloseThreadpoolCleanupGroup @ stdcall CloseThreadpoolCleanupGroup(ptr) ntdll.TpReleaseCleanupGroup
# @ stub CloseThreadpoolCleanupGroupMembers @ stdcall CloseThreadpoolCleanupGroupMembers(ptr long ptr) ntdll.TpReleaseCleanupGroupMembers
# @ stub CloseThreadpoolIo # @ stub CloseThreadpoolIo
# @ stub CloseThreadpoolTimer # @ stub CloseThreadpoolTimer
# @ stub CloseThreadpoolWait # @ stub CloseThreadpoolWait
...@@ -332,7 +332,7 @@ ...@@ -332,7 +332,7 @@
@ stdcall CreateTapePartition(long long long long) @ stdcall CreateTapePartition(long long long long)
@ stdcall CreateThread(ptr long ptr long long ptr) @ stdcall CreateThread(ptr long ptr long long ptr)
# @ stub CreateThreadpool # @ stub CreateThreadpool
# @ stub CreateThreadpoolCleanupGroup @ stdcall CreateThreadpoolCleanupGroup()
# @ stub CreateThreadpoolIo # @ stub CreateThreadpoolIo
# @ stub CreateThreadpoolTimer # @ stub CreateThreadpoolTimer
# @ stub CreateThreadpoolWait # @ stub CreateThreadpoolWait
......
...@@ -860,3 +860,23 @@ BOOL WINAPI GetThreadPreferredUILanguages( DWORD flags, PULONG count, PCZZWSTR b ...@@ -860,3 +860,23 @@ BOOL WINAPI GetThreadPreferredUILanguages( DWORD flags, PULONG count, PCZZWSTR b
*buffersize = 0; *buffersize = 0;
return TRUE; return TRUE;
} }
/***********************************************************************
* CreateThreadpoolCleanupGroup (KERNEL32.@)
*/
PTP_CLEANUP_GROUP WINAPI CreateThreadpoolCleanupGroup( void )
{
TP_CLEANUP_GROUP *group;
NTSTATUS status;
TRACE( "\n" );
status = TpAllocCleanupGroup( &group );
if (status)
{
SetLastError( RtlNtStatusToDosError(status) );
return NULL;
}
return group;
}
...@@ -2616,6 +2616,12 @@ NTSYSAPI LONGLONG WINAPI RtlLargeIntegerSubtract(LONGLONG,LONGLONG); ...@@ -2616,6 +2616,12 @@ NTSYSAPI LONGLONG WINAPI RtlLargeIntegerSubtract(LONGLONG,LONGLONG);
NTSYSAPI NTSTATUS WINAPI RtlLargeIntegerToChar(const ULONGLONG *,ULONG,ULONG,PCHAR); NTSYSAPI NTSTATUS WINAPI RtlLargeIntegerToChar(const ULONGLONG *,ULONG,ULONG,PCHAR);
#endif #endif
/* Threadpool functions */
NTSYSAPI NTSTATUS WINAPI TpAllocCleanupGroup(TP_CLEANUP_GROUP **);
NTSYSAPI void WINAPI TpReleaseCleanupGroup(TP_CLEANUP_GROUP *);
NTSYSAPI void WINAPI TpReleaseCleanupGroupMembers(TP_CLEANUP_GROUP *,BOOL,PVOID);
/* Wine internal functions */ /* Wine internal functions */
NTSYSAPI NTSTATUS CDECL wine_nt_to_unix_file_name( const UNICODE_STRING *nameW, ANSI_STRING *unix_name_ret, NTSYSAPI NTSTATUS CDECL wine_nt_to_unix_file_name( const UNICODE_STRING *nameW, ANSI_STRING *unix_name_ret,
......
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