[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 308
  • Last Modified:

WNetEnumResource for a single computer.

I'm using the example at http://win32.mvps.org/network/wnoe_wner.c
How do I have this just return the resources of a single computer that I choose?
0
Pber
Asked:
Pber
1 Solution
 
jkrCommented:
This API isn't really made for that - I'd suggest to use 'NetShareEnum()' (http://win32.mvps.org/network/nshe.cpp) instead.
0
 
PberSolutions ArchitectAuthor Commented:
I was originally using that but was having my ever so fun UNICODE string conversion problems.  I'll be posting a question on that next. (:
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now