INtime SDK Help
ntxImportRtHandle(INtimeDotNet)
INtime SDK v6 > About INtime > Alternate APIs > INtimeDotNet > ntxImportRtHandle(INtimeDotNet)

Obtains an NTX handle that corresponds to an RT handle. See Handle conversion.

Visual Basic:

Function ntxImportRtHandle(
  ByVal IncomingObject As Short,
  ByVal hObjectSource As Integer)
As Integer

Visual C#:

Int32 ntxImportRtHandle (
  Int16 IncomingObject,
  Int32 hObjectSource );

Parameters

IncomingObject
The RT handle in question.
hObjectSource
The NTX handle of the object from which IncomingObject was obtained. For example, if the RT handle was stored in an address space, then pass the NTX handle for that address space in hObjectSource.

Return Values

A new NTX handle that refers to the same RT object as the RT handle.

INtimeException Status

E_EXIST
IncomingObject or hObjectSource does not contain a valid handle.
E_LOCATION
The location of hObjectSource cannot be determined or is invalid.

Requirements

Versions Reference
INtime 3.0 INtimeDotNet

See Also

INtimeDotNet system calls, Object directory system calls, Handle conversion