kernel32: Remove unused functions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
57c6b9fd41
commit
8f1caca469
|
@ -50,12 +50,6 @@
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(sync);
|
WINE_DEFAULT_DEBUG_CHANNEL(sync);
|
||||||
|
|
||||||
/* check if current version is NT or Win95 */
|
|
||||||
static inline BOOL is_version_nt(void)
|
|
||||||
{
|
|
||||||
return !(GetVersion() & 0x80000000);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void get_create_object_attributes( OBJECT_ATTRIBUTES *attr, UNICODE_STRING *nameW,
|
static void get_create_object_attributes( OBJECT_ATTRIBUTES *attr, UNICODE_STRING *nameW,
|
||||||
SECURITY_ATTRIBUTES *sa, const WCHAR *name )
|
SECURITY_ATTRIBUTES *sa, const WCHAR *name )
|
||||||
{
|
{
|
||||||
|
@ -89,14 +83,6 @@ static BOOL get_open_object_attributes( OBJECT_ATTRIBUTES *attr, UNICODE_STRING
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* helper for kernel32->ntdll timeout format conversion */
|
|
||||||
static inline PLARGE_INTEGER get_nt_timeout( PLARGE_INTEGER pTime, DWORD timeout )
|
|
||||||
{
|
|
||||||
if (timeout == INFINITE) return NULL;
|
|
||||||
pTime->QuadPart = (ULONGLONG)timeout * -10000;
|
|
||||||
return pTime;
|
|
||||||
}
|
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* SwitchToThread (KERNEL32.@)
|
* SwitchToThread (KERNEL32.@)
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue