首页 > 代码库 > FwpmEngineOpen0无法解析;NET_BUFFER_LIST未定义

FwpmEngineOpen0无法解析;NET_BUFFER_LIST未定义

 

在链接器->输入 的附加依赖项中加入如下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

FwpmEngineOpen0无法解析;NET_BUFFER_LIST未定义