2006-11-08 11:47:44 +00:00
|
|
|
/*
|
|
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
|
|
* PROJECT: ReactOS kernel
|
2009-10-12 03:27:45 +00:00
|
|
|
* FILE: include/reactos/chew/chew.h
|
2006-11-08 11:47:44 +00:00
|
|
|
* PURPOSE: Common Highlevel Executive Worker
|
|
|
|
*
|
|
|
|
* PROGRAMMERS: arty (ayerkes@speakeasy.net)
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _REACTOS_CHEW_H
|
|
|
|
#define _REACTOS_CHEW_H
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Initialize CHEW, given a device object (since IoAllocateWorkItem relies on
|
|
|
|
* it).
|
|
|
|
*/
|
2009-10-12 03:27:45 +00:00
|
|
|
VOID ChewInit(PDEVICE_OBJECT DeviceObject);
|
|
|
|
|
2006-11-08 11:47:44 +00:00
|
|
|
/**
|
2009-09-19 00:58:36 +00:00
|
|
|
* Shutdown CHEW, waits for remaining work items.
|
2006-11-08 11:47:44 +00:00
|
|
|
*/
|
2009-10-12 03:27:45 +00:00
|
|
|
VOID ChewShutdown(VOID);
|
|
|
|
|
2006-11-08 11:47:44 +00:00
|
|
|
/**
|
2009-09-19 00:58:36 +00:00
|
|
|
* Creates and queues a work item.
|
2006-11-08 11:47:44 +00:00
|
|
|
*/
|
2009-10-12 03:27:45 +00:00
|
|
|
BOOLEAN ChewCreate(VOID (*Worker)(PVOID), PVOID WorkerContext);
|
2006-11-08 11:47:44 +00:00
|
|
|
|
|
|
|
#endif/*_REACTOS_CHEW_H*/
|