kernel32: Forward threadpool cleanup group functions to ntdll.
This commit is contained in:
parent
9f71015a99
commit
a54d972868
@ -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 @@
|
|||||||
@ 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
|
|||||||
*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);
|
|||||||
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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user