Network Resources

Dear Experts All,

My network resource programme, using WNetOpenEnumW and WNetEnumResourceW, only works with SMB1 enabled. As this is not the default on W11, it falls over in a heap (or a stack, or something)…

What will do the same job of finding network resources with SMB1 disabled please?

And any ideas on how to get resources which are on the network but do not have the same workgroup (eg Seagate disc units, which are seen OK with Explorer, but not with the above system calls)?