NWGetObjectNamesBeginA
Sets up an environment so that NWGetObjectNamesNextA can retrieve the names of trees or servers
#include <nwbindry.h)
NWCCODE NWGetObjectNamesBeginA (
nuint32 luObjectType,
pnuint32 pluHandle);
uses calwin32
Function NWGetObjectNamesBeginA(
luObjectType : nuint32;
Var pluHandle : nuint32
) : NWCCODE; stdcall;
Returns zero on success. The most common return values on failure include the following:
NWGetObjectNamesBeginA internally calls WinSock2 name space functions to retrieve tree or server names from SAP and SLP name spaces. It also allocates a buffer to store retrieved names as a sorted and ordered list.
The luObjectType parameter can have the following values: