Click here to Skip to main content

System Admin

 
AnswerRe: Mixing Windows with Ubuntu PinmemberAlbert Holguin11-Oct-12 5:34 
QuestionSubnetting PinmemberAinnop24-Sep-12 21:57 
AnswerRe: Subnetting PinmemberEddy Vluggen25-Sep-12 1:32 
GeneralRe: Subnetting PinmvpRichard MacCutchan25-Sep-12 7:12 
QuestionSetting of internet connectin in RHL PinmemberHerambashree24-Aug-12 10:54 
AnswerRe: Setting of internet connectin in RHL Pinmember Michael Martin 24-Aug-12 14:51 
AnswerRe: Setting of internet connectin in RHL PinmemberAlbert Holguin27-Sep-12 11:29 
QuestionHow to modify context of packet in Ndis? Pinmemberhanlei000000000915-Aug-12 23:42 
Ndis->passthru is a sample in WDK, passthru can get packet data by MPSendPackets()
NdisQueryPacket( pPacket,NULL,NULL,NULL,&PacketSize);  
NdisAllocateMemory( &pPacketContent, 2000, 0,HighestAcceptableMax);  		
NdisQueryBufferSafe(pPacket->Private.Head, &pBuf, &BufLength, 32 );  
i = BufLength;  	
pNext = pPacket->Private.Head;  
for(;;)
{  		
	if(pNext == pPacket->Private.Tail)  		
		break;  		
pNext = pNext->Next;  
 
	if(pNext == NULL)   			
		break;  		  		
 
	NdisQueryBufferSafe(pNext,&pBuf,&BufLength,32);
	NdisMoveMemory(pPacketContent+i,pBuf,BufLength);
	i+=BufLength;  	
}      
 
DBGPRINT(("(char*)&pPacketContent[54] : %s \n",(char *)&pPacketContent[54])); 
 

I want to modify data of pPacketContent[55], and remake the packet.

Can anyone give me a sample? Thanks!
QuestionLaptop Connection Problem [modified] PinmemberKevin Marois14-Aug-12 9:31 
AnswerRe: Laptop Connection Problem PinmemberAlbert Holguin15-Aug-12 5:53 
QuestionDell Latitude 2120 Netbook - Restore PinmemberJammoD8714-Aug-12 0:19 
AnswerRe: Dell Latitude 2120 Netbook - Restore PinmemberMikeC.pt22-Aug-12 0:45 
QuestionHP Radia Client Log Pinmembercjb11013-Aug-12 22:09 
AnswerRe: HP Radia Client Log PinmemberEddy Vluggen14-Aug-12 0:52 
QuestionReinstalling windows 7 home premium Pinmembermkheidzedavid11-Aug-12 0:02 
AnswerRe: Reinstalling windows 7 home premium PinmemberEddy Vluggen11-Aug-12 0:56 
General(fixed, but not really) Windows 7: Horrible display. [modified] PinmemberMaximilien30-Jul-12 5:12 
GeneralRe: (fixed, but not really) Windows 7: Horrible display. PinmemberRichard Andrew x6411-Aug-12 6:39 
QuestionBriefcase in Win 7 PinmemberVaclav_Sal21-Jul-12 16:52 
AnswerRe: Briefcase in Win 7 PinmvpRichard MacCutchan22-Jul-12 1:27 
GeneralRe: Briefcase in Win 7 PinmemberVaclav_Sal22-Jul-12 4:08 
GeneralRe: Briefcase in Win 7 PinmvpRichard MacCutchan22-Jul-12 4:23 
GeneralUNRESOLVED Re: Briefcase in Win 7 - perhaps solved in Win 10? PinmemberVaclav_Sal22-Jul-12 14:04 
GeneralRe: UNRESOLVED Re: Briefcase in Win 7 - perhaps solved in Win 10? PinmvpRichard MacCutchan22-Jul-12 22:18 
QuestionRestoring MBR in Windows 7 - how to? PinmemberVaclav_Sal15-Jul-12 6:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.150414.1 | Last Updated 11 Apr 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid