Example 4–1 Form Record Definition
typedef struct {
unsigned int
buffer_len;
/** length of caller’s record buffer **/
unsigned int
rec_len;
/** actual length of the form record **/
void *data_record;
/** pointer to data record **/
unsigned int
shadow_buffer_len;
/** length of callers shadow buffer
**/
unsigned int
shadow_rec_len;
/** actual length of shadow record **/
void *shadow_record;
/** pointer to shadow record **/
} ACMSDI_FORM_RECORD_BIND;
4.1.2 ACMSDI_WORKSPACE_BIND Structure
Defined in the ACMSDI.H file, the ACMSDI_WORKSPACE_BIND 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 4–2 defines the ACMSDI_WORKSPACE_BIND type
structure.
Example 4–2 Workspace Structure Definition
typedef struct {
unsigned int buffer_len;
/** length of caller’s buffer **/
unsigned int wksp_len;
/** actual length of the workspace
**/
void *data;
/** pointer to workspace **/
} ACMSDI_WORKSPACE_BIND;
Forced Nonblocking Client Services 4–3