NAME

GRPC_OBJECT_HANDLE_GET_FROM_SESSION_NP - Gets an object handle.

SYNOPSIS

INTEGER FUNCTION GRPC_OBJECT_HANDLE_GET_FROM_SESSION_NP(HANDLE, SID)

ARGUMENTS

INTEGER(KIND=8) HANDLES
The object handle
INTEGER SID
The session ID

DESCRIPTION

The GRPC_OBJECT_HANDLE_GET_FROM_SESSION_NP()function returns the object handle for the session specified by the session ID. If the value specified in SID is ID of session of Function Handle, this API returns error.

This function is MT-safe.

RETURN VALUE

If successful, GRPC_NO_ERROR is returned. In the case of an error, Error code is returned.

ERRORS

GRPC_NOT_INITIALIZED
GRPC client is not initialized yet.
GRPC_INVALID_SESSION_ID
Session ID is not valid.
GRPC_OTHER_ERROR_CODE
Internal error detected.

last update : $Date$