Zigmund
October 8th, 2002, 06:21
I have simple question...
How knows ditaled syntax of GetHOSTID() function in FLEXlm 8.1?
I need to know input & out parameters...
tom_324
October 8th, 2002, 08:16
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
Powered by vBulletin® Version 4.2.2 Copyright © 2018 vBulletin Solutions, Inc. All rights reserved.