GRPC_GET_HANDLE
- Gets a function handle.
INTEGER FUNCTION GRPC_GET_HANDLE(HANDLE, SID)
INTEGER(KIND=8) HANDLE
INTEGER SID
The GRPC_GET_HANDLE() function returns a function handle for the session specified by the session ID. If the value specified in SID is ID of session of Object Handle, this API returns error.
In Ninf-G, there are GRPC_FUNCTION_HANDLE_GET_FROM_SESSION_NP() which gets a function handle, and GRPC_OBJECT_HANDLE_GET_FROM_SESSION_NP() which gets an object handle.
The function of GRPC_GET_HANDLE() and GRPC_FUNCTION_HANDLE_GET_FROM_SESSION_NP() is the same.
This function is MT-safe.
If successful, GRPC_NO_ERROR is returned. In the case of an error, Error code is returned.
GRPC_NOT_INITIALIZED
GRPC_INVALID_SESSION_ID
GRPC_OTHER_ERROR_CODE