Re: classes/ interface/device-setup/etc
- From: "Rados3aw Michalski" <radoslaw.michalski@xxxxxxxxxxxxx>
- Date: Mon, 3 Oct 2005 15:29:47 +0200
"Mike Fochtman" <MikeFochtman@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F09FADF8-8300-49DE-ABD0-CC96ABEBB893@xxxxxxxxxxxxxxxx
> A question or two about these classes.
>
> I have a very unique device that needs an interface class of its own.
> (really, it doesn't fit any system-defined ones). So, I have a
> [InterfaceInstall32] section in my .inf file. I also have a call to
> IoRegisterDeviceInterface() in my InitDevice() routine. Or is this
> redundant? They register the same GUID.
>
> Then the documents talk about a device setup class. This is in the
> [Version] section of the .inf and has yet another GUID? Since it isn't
one
> of the system-defined devices, I assume this is also needed. But I don't
> need a CoInstaller because there are no special properties or functions
> needed.
>
> And where does the [ClassInstall32] section of the .inf file fit into
this?
> At times in the ddk I think I start to sort these all out, then it gets
all
> blurry again.
>
> Non system-defined device, simple interface, just want
> Create/Close/Read/Write. But 'device setup class', 'interface class' and
so
> many GUIDS...
>
> Thanks for any help in sorting these out.
If I make device class i define ne guid.
For my device in version I use this guid.
I make section for install this class
[ClassInstall]
AddReg=_AddReg_ClassInstall
; install class, Windows 2000:
[ClassInstall32]
AddReg=_AddReg_ClassInstall
; registry entries required for class
[_AddReg_ClassInstall]
HKR,,,,"%S_DeviceClassDisplayName%"
HKR,,Icon,,"-20"
this set display name of class and icon - As icon I use standard usb icon.
.
- Prev by Date: Re: DRIVER_UNLOADED_WITHOUT_CANCELLING_PENDING_OPERATIONS
- Next by Date: Re: sign a VPN driver
- Previous by thread: Re: Help ! NDISTest - 2c_PerformanceProfile Test crashes intermittently
- Next by thread: Re: classes/ interface/device-setup/etc
- Index(es):
Relevant Pages
|