[pso] tema 1 WIN - logging - EVENTLOGRECORD
Mihai Iancu
pso@cursuri.cs.pub.ro
Mon, 21 Jun 2004 04:02:40 -0700 (PDT)
--0-80880789-1087815760=:93308
Content-Type: text/plain; charset=us-ascii
log=IoAllocateErrorLogEntry( ....
log->ErrorCode=0;
log->DumpDataSize= ...
bagi in DumpData ce vrei sa trimiti si pachetul e gata
Ion Petrescu <pion@rdsnet.ro> wrote:
In testul test.c al temei 1 pe windows la linia 182 este conditia
>event->EventID == 0
Nu am idee cum sa loghez eu un eveniment care sa aiba EventID 0.
Din ce mi-am dat eu seama EventID e un camp care contine mai multe
informatii, si nu imi inchipui cum ar putea fi 0.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/event_identifiers.asp
Intrebarea este: cum fac eu in driver ca sa loghez un pachet
IO_ERROR_LOG_PACKET care sa ajunga in event log ca avand IDul 0?
Cu multumiri,
Ion Petrescu
_______________________________________________
pso mailing list
pso@cursuri.cs.pub.ro
http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/pso
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--0-80880789-1087815760=:93308
Content-Type: text/html; charset=us-ascii
<DIV>log=IoAllocateErrorLogEntry( ....</DIV>
<DIV>log->ErrorCode=0; </DIV>
<DIV>log->DumpDataSize= ...</DIV>
<DIV>bagi in DumpData ce vrei sa trimiti si pachetul e gata<BR><BR><B><I>Ion Petrescu <pion@rdsnet.ro></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">In testul test.c al temei 1 pe windows la linia 182 este conditia<BR>>event->EventID == 0<BR><BR>Nu am idee cum sa loghez eu un eveniment care sa aiba EventID 0.<BR>Din ce mi-am dat eu seama EventID e un camp care contine mai multe<BR>informatii, si nu imi inchipui cum ar putea fi 0.<BR>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/event_identifiers.asp<BR><BR><BR>Intrebarea este: cum fac eu in driver ca sa loghez un pachet<BR>IO_ERROR_LOG_PACKET care sa ajunga in event log ca avand IDul 0?<BR><BR><BR>Cu multumiri,<BR>Ion Petrescu<BR><BR>_______________________________________________<BR>pso mailing list<BR>pso@cursuri.cs.pub.ro<BR>http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/pso<BR></BLOCKQUOTE><p>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around
<br>http://mail.yahoo.com
--0-80880789-1087815760=:93308--