Fix work item enumaration values.

svn path=/trunk/; revision=12679
This commit is contained in:
Alex Ionescu 2005-01-01 04:55:11 +00:00
parent 849dcb1be9
commit cd9f2f7964
5 changed files with 15 additions and 16 deletions

View file

@ -17,16 +17,6 @@
*/
#define NR_PRIORITY_LEVELS (32)
/*
* PURPOSE: Type of queue to insert a work item in
*/
enum
{
CriticalWorkQueue,
DelayedWorkQueue,
HyperCriticalWorkQueue,
};
/*
* Types of memory to allocate
*/

View file

@ -699,7 +699,7 @@ ExSetResourceOwnerPointer (
IN PVOID OwnerPointer
);
VOID
ULONG
STDCALL
ExSetTimerResolution (
IN ULONG DesiredTime,

View file

@ -1,10 +1,16 @@
/* $Id: extypes.h,v 1.25 2004/10/22 22:49:00 weiden Exp $ */
/* $Id$ */
#ifndef __INCLUDE_DDK_EXTYPES_H
#define __INCLUDE_DDK_EXTYPES_H
typedef ULONG INTERLOCKED_RESULT;
typedef ULONG WORK_QUEUE_TYPE;
typedef enum _WORK_QUEUE_TYPE {
CriticalWorkQueue,
DelayedWorkQueue,
HyperCriticalWorkQueue,
MaximumWorkQueue
} WORK_QUEUE_TYPE;
typedef ULONG_PTR ERESOURCE_THREAD, *PERESOURCE_THREAD;

View file

@ -1,4 +1,4 @@
/* $Id: time.c,v 1.28 2004/12/05 00:20:22 navaraf Exp $
/* $Id$
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -228,7 +228,7 @@ ExLocalTimeToSystemTime (
/*
* @unimplemented
*/
VOID
ULONG
STDCALL
ExSetTimerResolution (
IN ULONG DesiredTime,

View file

@ -1,4 +1,4 @@
/* $Id: work.c,v 1.24 2004/12/24 02:09:12 gdalsnes Exp $
/* $Id$
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -172,6 +172,9 @@ ExQueueWorkItem (PWORK_QUEUE_ITEM WorkItem,
&WorkItem->List
);
break;
default:
break;
}
}