在链接器->输入 的附加依赖项中加入如下lib
$(DDK_LIB_PATH)\NTOSKrnl.lib;$(DDK_LIB_PATH)\FwpKClnt.lib;$(DDK_LIB_PATH)\NetIO.lib;$(DDK_LIB_PATH)\NDIS.lib;$(DDK_LIB_PATH)\WDMSec.lib;$(SDK_LIB_PATH)\UUID.lib;
NET_BUFFER_LIST未定义时,需要定义NDIS版本,可以参考ndis.h
#define NDIS61
时间: 2024-10-09 12:51:01