阅读:1169回复:0
98 HOOKTDI驱动问题请教
98 HookTDI,导致DCOM(RPC)服务不可用
本机可以连接本机DCOM服务器,其它机器就连不上了 是不是AcceptEntry代码错误? 请帮我瞧瞧 谢谢! TDI_STATUS OurAcceptEntry(PTDI_REQUEST Request, PTDI_CONNECTION_INFORMATION AcceptInfo, PTDI_CONNECTION_INFORMATION ConnectedInfo ) { struct HandleInfo *p = HandleInfoListHead; while (p != NULL) { if (Request->Handle.ConnectionContext == p->ConnectionContext) { p->pRemoteAddr = ((TRANSPORT_ADDRESS *)AcceptInfo->RemoteAddress)->Address;; break; } else p = p->pNext; } return RealTdiAcceptEntry(Request,AcceptInfo,ConnectedInfo); } |
|