Re: DECLARE_UNICODE_STRING_SIZE and SymbolicLink?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



you do not need to give your device a name, all you need to do is create the device interface and register it and it will use the PDO's auto generated name as the link target.

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"bluestar" <bluestar8783@xxxxxxxxx> wrote in message news:a3c32c7e-cd17-4248-b9ed-3b6dae3e6bca@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Dear Doron:

Thanks for your information.

Another question is that I used WdfDeviceInitAssignName to add
deviceName
of my USB device. After installing driver, I tried to find register :
HKLM\HARDWARE\DEVICEMAP
, but nothing can be found.

Does it display deviceName in register?
If yes, where to find it?


On 10月14日, 上午1時31分, "Doron Holan [MSFT]" <dor...@xxxxxxxxxxxxxxxxxxxx>
wrote:
yes, that device interface guid is not useful to you to perform your own
IOCTLs. declare and create your own custom device interface GUID and
register it with KMDF

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.



.



Relevant Pages

  • Re: Cant view merge agent properties (trying again)
    ... The managers ... of that team are on that alias and will get back to you fairly quickly. ... When you successfully register we attempt to popup a page with more ... posting using is, not the address you used for this post. ...
    (microsoft.public.sqlserver.replication)
  • Re: WM_DEVICECHANGE PARAMETERS
    ... one of the drivers is enable the COM port device interface, the other is not. ... Please do not send e-mail directly to this alias. ... but if I register for keyboard I should get the keyboard> guid ...
    (microsoft.public.development.device.drivers)
  • Re: [PATCH v2] iw_cxgb3: Support "iwarp-only" interfaces to avoid 4-tuple conflicts.
    ... rdma stack. ... What about providing error back to caller and fail to register? ... device _when_ we get at least one ethX:iwY interface created? ... Maybe you should automatically create an alias each time new interface ...
    (Linux-Kernel)
  • Re: WM_DEVICECHANGE PARAMETERS
    ... Please do not send e-mail directly to this alias. ... Just the notification is giving me trouble. ... I assume you mean this is done by calling the register function ... but if I register for keyboard I should get the keyboard ...
    (microsoft.public.development.device.drivers)
  • Re: WM_DEVICECHANGE PARAMETERS
    ... I assume you mean this is done by calling the register function multiple ... times with differrent GUIDS, and I assume that the resulting WM_DEVICECHANGE ... Please do not send e-mail directly to this alias. ...
    (microsoft.public.development.device.drivers)