Click here to Skip to main content
       

System Admin

 
AnswerRe: Mixing Windows with Ubuntu PinmemberAlbert Holguin11-Oct-12 4:34 
QuestionSubnetting PinmemberAinnop24-Sep-12 20:57 
AnswerRe: Subnetting PinmemberEddy Vluggen25-Sep-12 0:32 
GeneralRe: Subnetting PinmvpRichard MacCutchan25-Sep-12 6:12 
QuestionSetting of internet connectin in RHL PinmemberHerambashree24-Aug-12 9:54 
AnswerRe: Setting of internet connectin in RHL Pinmember Michael Martin 24-Aug-12 13:51 
AnswerRe: Setting of internet connectin in RHL PinmemberAlbert Holguin27-Sep-12 10:29 
QuestionHow to modify context of packet in Ndis? Pinmemberhanlei000000000915-Aug-12 22: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 8:31 
AnswerRe: Laptop Connection Problem PinmemberAlbert Holguin15-Aug-12 4:53 
QuestionDell Latitude 2120 Netbook - Restore PinmemberJammoD8713-Aug-12 23:19 
AnswerRe: Dell Latitude 2120 Netbook - Restore PinmemberMikeC.pt21-Aug-12 23:45 
QuestionHP Radia Client Log Pinmembercjb11013-Aug-12 21:09 
AnswerRe: HP Radia Client Log PinmemberEddy Vluggen13-Aug-12 23:52 
QuestionReinstalling windows 7 home premium Pinmembermkheidzedavid10-Aug-12 23:02 
AnswerRe: Reinstalling windows 7 home premium PinmemberEddy Vluggen10-Aug-12 23:56 
General(fixed, but not really) Windows 7: Horrible display. [modified] PinmemberMaximilien30-Jul-12 4:12 
GeneralRe: (fixed, but not really) Windows 7: Horrible display. PinmemberRichard Andrew x6411-Aug-12 5:39 
QuestionBriefcase in Win 7 PinmemberVaclav_Sal21-Jul-12 15:52 
AnswerRe: Briefcase in Win 7 PinmvpRichard MacCutchan22-Jul-12 0:27 
GeneralRe: Briefcase in Win 7 PinmemberVaclav_Sal22-Jul-12 3:08 
GeneralRe: Briefcase in Win 7 PinmvpRichard MacCutchan22-Jul-12 3:23 
GeneralUNRESOLVED Re: Briefcase in Win 7 - perhaps solved in Win 10? PinmemberVaclav_Sal22-Jul-12 13:04 
GeneralRe: UNRESOLVED Re: Briefcase in Win 7 - perhaps solved in Win 10? PinmvpRichard MacCutchan22-Jul-12 21:18 
QuestionRestoring MBR in Windows 7 - how to? PinmemberVaclav_Sal15-Jul-12 5: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
Web02 | 2.8.140415.2 | Last Updated 5 Apr 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid