event.c
来自「该项目主要是将wingdows程序直接运行在linux上」· C语言 代码 · 共 45 行
C
45 行
/* * event.c * * Copyright (C) 2006 Insigme Co., Ltd * * Authors: * - Chenzhan Hu * * This software has been developed while working on the Linux Unified Kernel * project (http://linux.insigma.com.cn) in the Insigma Reaserch Institute, * which is a subdivision of Insigma Co., Ltd (http://www.insigma.com.cn). * * The project is sponsored by Insigma Co., Ltd. * * The authors can be reached at linux@insigma.com.cn. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. * * Revision History: * Jan 2006 - Created. *//* * event.c: * Reference to Reactos Kernel code */#include <linux/winternl.h>#include "../win32.h"/* * KeInitializeEvent */VOIDSTDCALLKeInitializeEvent(struct kevent *event, enum event_type type, BOOLEAN state){ /* Initialize the Dispatcher Header */ INIT_DISP_HEADER(&event->header, type, sizeof(event) / sizeof(ULONG), state);} /* end KeInitializeEvent */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?