HP-UX SNAplus2 R7 APPC Programmer's Guide
APPC Conversation Verbs
GET_TYPE
unsigned char duplex_type;
} GET_TYPE;
4.1.2 VCB Structure: GET_TYPE (Windows)
WINDOWS
The definition of the VCB structure for the GET_TYPE verb is as follows:
typedef struct get_type
{
unsigned short opcode;
unsigned char opext;
unsigned char reserv2;
unsigned short primary_rc;
unsigned long secondary_rc;
unsigned char tp_id[8];
unsigned long conv_id;
unsigned char conv_type;
} GET_TYPE;
4.1.3 Supplied Parameters
The TP supplies the following parameters to APPC:
opcode
AP_GET_TYPE
format
If you are building a new APPC application, or recompiling an existing APPC application with the current
SNAplus2 APPC header file, you must set this parameter to 1. (Existing applications built with earlier
versions of the header file, in which this parameter was reserved, will still operate unchanged with SNAplus2
and there is no need to rebuild them.)
tp_id
Identifier for the local TP.
The value of this parameter was returned by the TP_STARTED verb in the invoking TP or by RE-
CEIVE_ALLOCATE in the invoked TP.
conv_id
Identifier for the conversation this TP is inquiring about.
The value of this parameter was returned by the [MC_]ALLOCATE verb in the invoking TP or by
RECEIVE_ALLOCATE in the invoked TP.
4.1.4 Returned Parameters
After the verb executes, APPC returns parameters to indicate whether the execution was successful and, if not, to
indicate the reason the execution was not successful.
Successful Execution
If the verb executes successfully, APPC returns the following parameters:
105