Exetools

Exetools (https://forum.exetools.com/index.php)
-   General Discussion (https://forum.exetools.com/forumdisplay.php?f=2)
-   -   FLEXlm 8.1 once more (https://forum.exetools.com/showthread.php?t=1459)

Zigmund 10-08-2002 14:15

FLEXlm 8.1 once more
 
I have a simple question for you, people...
I can't find aswer by my own, coz I have no such SDK...

Q: I need detailed syntax of GetHostID(...) function...
Who can help me?

sincerely...

tom324 10-08-2002 15:22

D.1.18 lc_gethostid()
Syntax
hostid = lc_gethostid(job)

Description
lc_hostid() should normally be used instead.

Returns the hostid for the local host. lc_gethostid() is simply a call to lc_getid_type(default_hostid_type).

Parameters

(LM_HANDLE *) job From lc_new_job().



Return

(HOSTID *) hostid A pointer to the HOSTID struct, filled in for the current host, or NULL on failure.




--------------------------------------------------------------------------------

Note: The memory returned by lc_getid_type() is shared by lc_gethostid(), and both functions free this memory when called. Therefore, do not call lc_getid_type(), and then lc_gethostid(), and expect the first pointer to remain valid.


--------------------------------------------------------------------------------

Error Returns

LM_CANTFINDETHER Cannot find ethernet device. If this error is returned, a null HOSTID pointer will be returned. (Prior to v5, this was a NOHOSTID type, rather than a NULL pointer).



See Also
lmclient.h for the definition of the HOSTID struct


All times are GMT +8. The time now is 10:38.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX