pilg_getnodeid

This function returns the node id of the specified server.

C format

PIINT32 pilg_getnodeid (

LPCSTR lpszServerNameBuf, 

int32 PIPITR * plNodeId )

Returns

>0

System error

0

Success

-6

Server with the given name does not exist

-103

Application is not registered

-106

No servers configured (pilogin.ini not found)

Arguments

lpszServerNameBuf (passed)

Server name - pointer to null terminated string.

plNodeId ( returned)

Pointer to the node id of the server.

Usage Notes

Enabling Operational Intelligence