From a technical view... plenty of information to go on.
Seems more involved than we really need to get for just one or two pieces of static string data. Which reminds me...
As of late I did notice that some API calls,
more than likely more often than we realize, get data
directly from the registry, or internal tables that are periodically updated or set during start.
Perhaps since we are talking assembly, and simple static REG_SZ data already available, maybe it is better just to fetch this directly from the registry. It sure will be easier, for me anyway.
Given what the data is, seems the less complex method of getting the Workgroup name for the local computer/network. Especially since the data is for display only and wouldn't be acted upon in my binary.
Less libraries, less work, plus a smaller project and binary.
Yes... I do realize the location of this type of information is probably platform dependent.
Thanks Sam.
Excellent reply.