Jean-Luc Arnaud
2017-06-09 16:31:25 UTC
Hi all,
This question is a little bit [OT]. Nevertheless, I hope someone will be
so kind as to reply...
Working on an USB tree project, I'm using PnP Configuration Manager API
calls (CM_Locate_DevNode, CM_Get_Parent, CM_Get_Device_ID_Size and
CM_Get_Device_ID, CM_Get_Child and CM_Get_Sibling) defined as Soft
Declare Function.
All works like a charm but CM_Get_Sibling.
MSDN documentation is not really clear, and I don't understand if
CM_Get_Sibling is expected to return ALL others nodes, or only the next.
If only the next, what's the way to find the following node? Should I
recall CM_Get_Sibling with the Device instance handle CM_Get_Sibling
just returns, until no more nodes?
Thanks for your help
This question is a little bit [OT]. Nevertheless, I hope someone will be
so kind as to reply...
Working on an USB tree project, I'm using PnP Configuration Manager API
calls (CM_Locate_DevNode, CM_Get_Parent, CM_Get_Device_ID_Size and
CM_Get_Device_ID, CM_Get_Child and CM_Get_Sibling) defined as Soft
Declare Function.
All works like a charm but CM_Get_Sibling.
MSDN documentation is not really clear, and I don't understand if
CM_Get_Sibling is expected to return ALL others nodes, or only the next.
If only the next, what's the way to find the following node? Should I
recall CM_Get_Sibling with the Device instance handle CM_Get_Sibling
just returns, until no more nodes?
Thanks for your help
--
Jean-Luc Arnaud
_______________________________________________
Xojo forum:
https://forum.xojo.com/
Jean-Luc Arnaud
_______________________________________________
Xojo forum:
https://forum.xojo.com/