User`s guide

Dialogic
®
System Release 6.0 PCI for Windows
®
Release Update, Rev 62 — January 30, 2008 375
Dialogic Corporation
DTCAS_GET_TEMPLATE_COMPLETE
This reply message is sent in response to a DTCAS_GET_TEMPLATE command. The result code
within the reply message block indicates the success or failure of the command. The buffer
referenced by the replymsgp argument will contain a valid DTCAS_REPLY_MSG message block
if dt_castmgmt( ) completes successfully.
The typedef for the DTCAS_REPLY_MSG structure is as follows:
typedef struct t_create_reply_msg {
unsigned char msg_code;
unsigned char rfu;
unsigned short template_id;
unsigned short result;
} DTCAS_REPLY_MSG;
DTCAS_GET_NEXT_TEMPLATE_COMPLETE
This reply message is sent in response to a DTCAS_GET_NEXT_TEMPLATE command. The
result code within the reply message block indicates the success or failure of the command. The
buffer referenced by the replymsgp argument will contain a valid DTCAS_REPLY_MSG message
block if dt_castmgmt( ) completes successfully. The typedef for the DTCAS_REPLY_MSG
structure is as follows:
typedef struct t_create_reply_msg {
unsigned char msg_code;
unsigned char rfu;
unsigned short template_id;
unsigned short result;
} DTCAS_REPLY_MSG;
Parameter Description
msg_code identifies the message type; must be set to
DTCAS_GET_TEMPLATE_COMPLETE
rfu reserved; must be set to 0 for future compatibility
template_id specifies the template identifier
result indicates the success or failure of the command. This field set to 0 on success, or
one of the following error values if the command fails:
DTCAS_ERR_TEMPLATE_NOT_DEFINED – The template was not found in
the template table
DTCAS_ERR_TEMPLATE_TABLE_EMPTY – The template table is empty; no
templates are defined
Parameter Description
msg_code identifies the message type; must be set to
DTCAS_GET_NEXT_TEMPLATE_COMPLETE
rfu reserved; must be set to 0 for future compatibility