ISMDiscoverServers
DWORD
ISMDiscoverServers(
ISMSERVERINFO *psi,
DWORD *pdwBufferSize,
int *cServers
);
Parameters
psi
A pointer to
a buffer of ISMSERVERINFO structures.
pdwBufferSize
A pointer to
the size of the buffer.
cServers
A pointer to
the number of the discovered server.
Return Values
The return
value is a WIN32 error code.
Remarks
This function
is used only for those configuration DLLs which are not configurable with
INETSLOC. The calling program (for example, ISM) calls this function first with
a buffer size of zero. It should then return the actual size required for the
ISMSERVERINFO structures (for example, one structure per discovered service).
The calling program then allocates sufficient storage for this and calls the
function again with a pointer to this buffer. The function fills in this buffer
with ISMSERVERINFO structures, one per discovered service, and returns the
number of discovered servers in cServers.