Re: SCSI miniport-Custom Log messages
- From: "Volodymyr M. Shcherbyna" <v_scherbina@xxxxxxxxxxxxxxx>
- Date: Tue, 22 Jul 2008 11:52:57 +0200
If you open your sys file in resource editor (for example, reshacker), and
goto message table, what id do you see there for your custom message?
--
Volodymyr, blog: http://www.shcherbyna.com/
(This posting is provided "AS IS" with no warranties, and confers no
rights)
"Indira" <Indira@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:29503D5E-AF48-491B-986F-D97A391D9424@xxxxxxxxxxxxxxxx
Hi,
Is it possible to generate custom error log messages for SCSI miniport
driver?
I tried the following but no luck:
1. Created a message (.mc) file, compiled and generated a corresponding
.rc
and .bin file, as per WDK and sample code.
2. Updated .inf file for event log as mentioned in the WDK and added .sys
file to look for messages.
3. Calling StorPortLogError() with this custom error ID.
After installing this driver, an event is getting logged in the event log,
however it complains that it's not able to find the description.
The following message is displayed in the description instead of my custom
error message.
"The description for Event ID ( 11 ) in Source (xyz) cannot be found. The
local computer may not have the necessary registry information or message
DLL
files to display messages from a remote computer. You may be able to use
the
/AUXSOURCE= flag to retrieve this description; see Help and Support for
details. The following information is part of the event:
\Device\RaidPort8.
"
Is it possible to have custom error messages in storport-miniport driver?
If
so could some one please point out the missing thing in the above steps?
Thanks,
Indira
.
- Follow-Ups:
- Re: SCSI miniport-Custom Log messages
- From: Indira
- Re: SCSI miniport-Custom Log messages
- From: DeStefan
- Re: SCSI miniport-Custom Log messages
- Prev by Date: Re: capturing emf spool file for later replay.
- Next by Date: Re: DbgBreakPoint in WDF
- Previous by thread: Re: how to Driver Test Sign?
- Next by thread: Re: SCSI miniport-Custom Log messages
- Index(es):
Relevant Pages
|
Loading