From: Indira on 25 Jul 2008 16:00 Thank you all for the answers. One more interesting thing I noticed is, though I pass different custom error code, it always results into event ID=11. It looks like this StorPortLogError() always expects error code, one from the predefined list, defined in storport.h file. Has anyone encountered the same? I could define custom error messages in NDIS driver and get it on to event log without any problems. However I'm not able to do the same in SCSI driver, could this be a restriction on SCSI miniport driver? Thanks, Indira "Maxim S. Shatskih" wrote: > > “The description for Event ID ( 11 ) in Source (xyz) cannot be found. > > Add: > > HKLM\SYSTEM\CurrentControlSet\Services\EventLog\System\<YourDriverServiceName> > TypesSupported DWORD 7 > EventMessageFile EXPAND_SZ > %SystemRoot%\system32\drivers\YourDriverFileName.sys > > You will probably also need to add the %SystemRoot%\system32\IoLogMsg.dll > before your driver with a semicolon. > > -- > Maxim Shatskih, Windows DDK MVP > StorageCraft Corporation > maxim(a)storagecraft.com > http://www.storagecraft.com > >
First
|
Prev
|
Pages: 1 2 3 Prev: Mirror display driver in the multimon configuration (negative origin) Next: storport.sys bug |