HookNdis.h
上传用户:yitai_qhd
上传日期:2008-04-24
资源大小:31k
文件大小:1k
- #ifndef _HOOKNDIS_H
- #define _HOOKNDIS_H
- extern "C"
- {
- #include "ntddk.h"
- }
- #include "ndis.h"
- #define NDIS_API __stdcall
- typedef struct _SYSTEM_MODULE_INFORMATION
- {
- ULONG Reserved[2];
- PVOID BaseAddress;
- ULONG Size;
- ULONG Flags;
- USHORT Index;
- USHORT Rank;
- USHORT LoadCount;
- USHORT NameOffset;
- CHAR Name [256];
- } SYSTEM_MODULE_INFORMATION, * PSYSTEM_MODULE_INFORMATION;
- extern "C"
- NTSYSAPI
- NTSTATUS
- NTAPI
- ZwQuerySystemInformation
- (ULONG sic,
- PVOID pData,
- ULONG dSize,
- PULONG pdSize);
- extern "C"
- BOOLEAN
- GetNdisModuleAddress(PVOID m_BaseAddr);
- #endif