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

📄 w32syscall.h

📁 linux unified kernel test
💻 H
字号:
/* * w32syscall.h  * * Copyright (C) 2006  Insigme Co., Ltd * * Authors:  * - Decao Mao, Chenzhan Hu, Lixing Chu, Zhiqiang Jiao  * * 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. */  /*  * w32syscall.h includes the type definitions of W32 syscall functions.   */ #define IN#define OUT#define STATUS_SUCCESS 0#define ANYSIZE_ARRAY 1#define NTAPI __stdcall#define STDCALL __stdcall#ifndef __stdcall#define __stdcall __attribute__((stdcall))#endif#ifndef NULL#define NULL 0#endiftypedef void *PVOID;typedef long LONG;typedef unsigned short USHORT;typedef unsigned long ULONG,*PULONG;typedef unsigned char BYTE;typedef unsigned short WORD;typedef unsigned long DWORD;typedef unsigned char UCHAR;typedef void VOID;typedef LONG NTSTATUS, *PNTSTATUS;typedef PVOID HANDLE;typedef HANDLE *PHANDLE;typedef BYTE BOOLEAN;typedef WORD SECURITY_DESCRIPTOR_CONTROL,*PSECURITY_DESCRIPTOR_CONTROL;typedef PVOID PSID;typedef DWORD ACCESS_MASK, *PACCESS_MASK;typedef UCHAR SSPT,*PSSPT;typedef PVOID (NTAPI * SSDT)(VOID);typedef SSDT *PSSDT; typedef struct _CLIENT_ID {  HANDLE  UniqueProcess;  HANDLE  UniqueThread;} CLIENT_ID, *PCLIENT_ID;typedef struct _LPC_MESSAGE{    USHORT  DataSize;    USHORT  MessageSize;    USHORT  MessageType;    USHORT  VirtualRangesOffset;    CLIENT_ID  ClientId;    ULONG  MessageId;    ULONG  SectionSize;} LPC_MESSAGE, *PLPC_MESSAGE;typedef struct _LPC_SECTION_WRITE{    ULONG  Length;    HANDLE  SectionHandle;    ULONG  SectionOffset;    ULONG  ViewSize;    PVOID  ViewBase;    PVOID  TargetViewBase;} LPC_SECTION_WRITE, *PLPC_SECTION_WRITE;typedef struct _LPC_SECTION_READ{    ULONG  Length;    ULONG  ViewSize;    PVOID  ViewBase;} LPC_SECTION_READ, *PLPC_SECTION_READ;typedef struct _ACL {	BYTE AclRevision;	BYTE Sbz1;	WORD AclSize;	WORD AceCount;	WORD Sbz2;} ACL,*PACL;typedef struct _SECURITY_DESCRIPTOR {	BYTE Revision;	BYTE Sbz1;	SECURITY_DESCRIPTOR_CONTROL Control;	PSID Owner;	PSID Group;	PACL Sacl;	PACL Dacl;} SECURITY_DESCRIPTOR, *PSECURITY_DESCRIPTOR, *PISECURITY_DESCRIPTOR;typedef struct _GENERIC_MAPPING {	ACCESS_MASK GenericRead;	ACCESS_MASK GenericWrite;	ACCESS_MASK GenericExecute;	ACCESS_MASK GenericAll;} GENERIC_MAPPING, *PGENERIC_MAPPING;typedef struct _LUID {    DWORD LowPart;    DWORD HighPart;} LUID, *PLUID;typedef struct _LUID_AND_ATTRIBUTES {	LUID   Luid;	DWORD  Attributes;} LUID_AND_ATTRIBUTES, *PLUID_AND_ATTRIBUTES;typedef struct _PRIVILEGE_SET {	DWORD PrivilegeCount;	DWORD Control;	LUID_AND_ATTRIBUTES Privilege[ANYSIZE_ARRAY];} PRIVILEGE_SET,*PPRIVILEGE_SET;/* From ReactOS, don't touch. */typedef struct _SSDT_ENTRY {	PSSDT  SSDT;	PULONG  ServiceCounterTable;	ULONG  NumberOfServices;	PSSPT  SSPT;} SSDT_ENTRY;

⌨️ 快捷键说明

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