Re: Registering Interfaces
From: Ben Geib (BenGeib_at_discussions.microsoft.com)
Date: 07/14/04
- Next message: HyperWalker: "Re: PCI Bus Filter driver to read config space?"
- Previous message: Alex the 1'th: "Re: OID_TCP_TASK_OFFLOAD question"
- In reply to: Alexander Grigoriev: "Re: Registering Interfaces"
- Next in thread: Ben Geib: "Re: Registering Interfaces"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 14 Jul 2004 15:06:01 -0700
Thanks for the information. I now can distinguish among the different channels by
the filename created for each instance of the interface. However, I get an extra interface instance with no appended filename even though I didn't register any interface instances and specify the NULL as the reference string. Is this by design?
"Alexander Grigoriev" wrote:
> Use different ReferenceString arguments in IoRegisterDeviceInterface, with
> the same GUID.
>
> This argument will be passed to IRP_MJ_CREATE handler (in FILE_OBJECT as
> file name), to distinguish one channel from another.
>
> "Ben Geib" <BenGeib@discussions.microsoft.com> wrote in message
> news:A5A12D05-4E9A-4EFF-A546-C2BE4A16E2E3@microsoft.com...
> > I am developing a driver for a PCI device that has multiple communication
> channels. In an attempt to have each channel opened and used individually I
> have tried registering an interface for each channel in the AddDevice
> routine; that way a different handle may be used for each channel. However,
> enumeration of the interfaces in an application does not locate all of those
> registered in the driver. Should I even be using multiple interfaces or
> should I name my device object and subdivide its namespace for each channel?
> Thank you for your time.
>
>
>
- Next message: HyperWalker: "Re: PCI Bus Filter driver to read config space?"
- Previous message: Alex the 1'th: "Re: OID_TCP_TASK_OFFLOAD question"
- In reply to: Alexander Grigoriev: "Re: Registering Interfaces"
- Next in thread: Ben Geib: "Re: Registering Interfaces"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|