Re: How to register Vendor-defined IOCTL fail message to Eventlog?
- From: "Maxim S. Shatskih" <maxim@xxxxxxxxxxxxxxxx>
- Date: Thu, 11 May 2006 07:49:18 +0400
Do not use IOCTL codes as event ID codes.
The event ID code names much be declared in the .MC file, and then MC.EXE
will built a C header with them. Include this header your other files.
--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@xxxxxxxxxxxxxxxx
http://www.storagecraft.com
"Haikun" <Haikun@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D4F6148C-6282-4F11-ACED-7B04C2B26397@xxxxxxxxxxxxxxxx
Hello Everyone:
In my device driver , I defined some vendor-defined IOCTL by CTL_CODE macro,
IOCTL value between 2048~4095. When the IOCTL return customize error code,
Windows Eventlog will add a record of ErrorMessage, but the message is
"IOCTL UNKNOW .........". How could I register some more useful message to
replase it ??
Thank you for your attention.!
Haikun
.
- Prev by Date: Re: Obtain Serial Number
- Next by Date: Re: Child display driver ... adding PnP crashes!
- Previous by thread: Re: Obtain Serial Number
- Next by thread: Re: How to register Vendor-defined IOCTL fail message to Eventlog?
- Index(es):
Relevant Pages
|