Re: [ntdev] Obtain GUID of driver supplied by microsoft

This GUID is used by toaster bus driver to created its device interface. Why do you think you should use it in your filter driver? It should be unique to every different driver.

=================
Best Regards!
Zhang Pei
www.yiiyee.cn/blog

From: Zvi Vered
Sent: ‎Wednesday‎, ‎September‎ ‎3‎, ‎2014 ‎10‎:‎25‎ ‎AM
To: Windows System Software Devs Interest List

Hi Don,

My filter is based on the Toaster sample.
This sample uses the file public.h which contains the following defintion:
DEFINE_GUID (GUID_DEVINTERFACE_BUSENUM_TOASTER,
0xD35F7840, 0x6A0C, 0x11d2, 0xB8, 0x41, 0x00, 0xC0, 0x4F, 0xAD,
0x51, 0x71);

The Toaster bus (and filter) uses the same public.h

In my case the bus is a Microsoft driver for which I do not have sources.
I have to write a filter for Microsoft’s bus driver.

I think I must use the same DEFINE_GUID as used in Microsoft’s bus driver.
How can I obtain this DEFINE_GUID ?

Thanks,
Zvika

-----Original Message-----
From: Don Burn
Sent: Wednesday, September 03, 2014 12:14 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Obtain GUID of driver supplied by microsoft

What are you really looking for? There is no “GUID of driver”. There are:

  1. Device class GUID’s
  2. Device interface GUID’s
  3. GUID’s used as part of some device ID’s
  4. GUID’s used for other purposes

So what are you really trying to do? You talk about a filter driver, is
this a device filter, if so use the device ID, or a device class filter then
use the device class GUID, either of those you can get from the device
manager.

Don Burn
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Zvi Vered
Sent: Tuesday, September 02, 2014 4:58 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Obtain GUID of driver supplied by microsoft

Hello,

I have to write a filter driver for " Intel R ICH10 LPC Interface
Controller" supplied by Microsoft.

For this purpose I need the GUID of the existing driver.

I used the following procedure:

Control Panel > Device Manager > Right Click on Device > Properties >
Details Tab > Change ‘Property’ to Driver Key >

and got the following data:

{4d36e97d-e325-11ce-bfc1-08002be10318}\0038

"{4d36e97d-e325-11ce-bfc1-08002be10318} is the class GUID contained in the
inf file (machine.inf)

This is not what I need.

In the sample filter.inx, the device id is:
{b85b7c50-6a01-11d2-b841-00c04fad5171}\MsToaster

But in public.h used by the bus and filter the define is:
DEFINE_GUID (GUID_DEVINTERFACE_BUSENUM_TOASTER,
0xD35F7840, 0x6A0C, 0x11d2, 0xB8, 0x41, 0x00, 0xC0, 0x4F, 0xAD,
0x51, 0x71);

Can you help ?

Thanks,
Zvika


NTDEV is sponsored by OSR

Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev

OSR is HIRING!! See http://www.osr.com/careers

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev

OSR is HIRING!! See http://www.osr.com/careers

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev

OSR is HIRING!! See http://www.osr.com/careers

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer