⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 chew.h

📁 这是一个开放源代码的与WINNT/WIN2K/WIN2003兼容的操作系统
💻 H
字号:
/*
 * COPYRIGHT:       See COPYING in the top level directory
 * PROJECT:         ReactOS kernel
 * FILE:            include/chew/chew.h
 * 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).
 */
VOID ChewInit( PDEVICE_OBJECT DeviceObject );
/**
 * Shutdown CHEW, including removing remaining work items.
 */
VOID ChewShutdown();
/**
 * Create a work item, or perform the work, based on IRQL.
 * At passive level, Worker is called directly on UserSpace.
 * At greater than passive level, a work item is created with Bytes
 * context area and data copied from UserSpace.
 * If a work item is created, Item contains the address and the function
 * returns true.
 * If the work is performed immediately, Item contains NULL and the
 * function returns true.
 * Else, the function returns false and Item is undefined.
 */
BOOLEAN ChewCreate
( PVOID *Item, SIZE_T Bytes, VOID (*Worker)(PVOID), PVOID UserSpace );
/**
 * Remove a work item, given the pointer returned to Item in ChewCreate.
 */
VOID ChewRemove( PVOID Item );

#endif/*_REACTOS_CHEW_H*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -