NWGetObjectID
Looks up an object ID in the bindery on the network server associated with the given connection handle
#include <nwbindry.h> or #include <nwcalls.h> NWCCODE N_API NWGetObjectID ( NWCONN_HANDLE conn, const nstr8 N_FAR *objName, nuint16 objType, pnuint32 objID);
uses calwin32 Function NWGetObjectID (conn : NWCONN_HANDLE; const objName : pnstr8; objType : nuint16; objID : pnuint32 ) : NWCCODE; stdcall;
These are common return values. See Return Values (Return Values for C).
Since each network server contains its own bindery, object IDs are not consistent across network servers.
The objName and objType parameters must uniquely identify the bindery object and cannot contain wildcard characters.
The requesting process must be logged in to the network server and have Read access to the bindery object for NWGetObjectID to be successful.
NWGetObjectID can be called even if a connection is not authenticated.
See Object Type.