INtime SDK Help
lncEnumNodes

Enumerates local nodes. The order is not determined.


DWORD lncEnumNodes(
int* piNode,
LPSTR szNode,
LPDWORD pdwSize);

Parameters

piNode
(in/out) pointer to the number of the node; the first node has number zero. On success t the number has been updated (not necessarily just incremented by 1)
szNode
(out) buffer receiving the name of the node.
pdwSize
(in/out) pointer to a DWORD that on entry contains the number of bytes available in the buffer. On successful exit, the value is changed to the string length in bytes including the terminating zero for a string.

Return values

Zero for success or an error code on failure.

Remarks

If the size is not enough for the value, the error code LNCE_PARSIZE is returned and the DWORD pointed to by the pdwSize parameter is set to the number of bytes required to store the value.

Errors

LNCE_PARSIZE, LNCE_ACCESS, LNCE_NOMORE, LNCE_READERR

Requirements

Versions Defined in Include Link to
INtime 5.2 intime/nt/include/lnc.h lnc.h lnc.lib
See Also

LNC