CM_Get_Sibling usage

Jean-Luc Arnaud <jean-luc-E/[email protected]>
Newsgroups gmane.comp.lang.realbasic.user
Organization Centre Direct du Multimédia
Message-ID <[email protected]>
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

-- 
Jean-Luc Arnaud


_______________________________________________

Xojo forum:

https://forum.xojo.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.