![]() |
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... |
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 00:00. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX