Application setup functions

Use the following functions to set up your application:

Function

Synchronous/
Asynchronous

Description

ctaSetDefaultServer

Synchronous

Sets the default server for a Natural Access application.

ctaInitialize

Synchronous

Establishes a list of available services for a Natural Access application.

ctaCreateQueue

Synchronous

Creates an event queue and returns a queue handle (ctaqueuehandle).

ctaCreateContext

Synchronous

Creates a context and returns a context handle (ctahd).

ctaCreateContextEx

Synchronous

Creates a context or a persistent context, returns a context handle (ctahd), and sets the context sharing mode on local and remote servers.

ctaOpenServices

Asynchronous

Opens one or more services on the specified context (ctahd).

ctaAttachContext

Synchronous

Enables applications to use contexts created by other applications on local and remote servers.

ctaGetContextInfo

Synchronous

Returns basic context information specified by the ctahd parameter.

ctaGetContextInfoEx

Synchronous

Returns extended context information including a list of services opened on the context from a particular Natural Access Server.

ctaGetObjDescriptor

Synchronous

Returns the object descriptor associated with a particular context or service object.

ctaAttachObject

Synchronous

Enables applications to use service objects created by other applications on local and remote servers.


Refer to Setting up Natural Access applications for more information.