4 workspace data structures – Compaq TP DESKTOP CONNECTOR AAPVNFGTE User Manual

Page 22

Advertising
background image

call_context

Type: void *
Access: read
Mechanism: by value
Supplies application-specific context to the completion routine. If specified on
acmsdi_call_task, acmsdi_sign_in, acmsdi_cancel, or acmsdi_sign_out service,
the call_context is passed by the TP Desktop Connector client services to the
completion routine.

Return Status

The customer-supplied completion routine does not return a status value.

2.4 Workspace Data Structures

This section describes the following workspace data structures:

ACMSDI_WORKSPACE
ACMSDI_WORKSPACE_OPT
ACMSDI_WORKSPACE_BIND
ACMSDI_FORM_RECORD_BIND

2.4.1 ACMSDI_WORKSPACE Structure and Initialization Macro

Defined in the ACMSDI.H file, the ACMSDI_WORKSPACE type declares
workspaces passed to tasks using the acmsdi_call_task service and workspaces
passed from tasks to acmsdi_request presentation procedures.

The code in Example 2–1 defines the ACMSDI_WORKSPACE type and
an ACMSDI_INIT_WORKSPACE macro used to initialize the workspace
structure.

2–4 TP Desktop Connector Portable API Client Services

Advertising