- DWORD mspCreateEndpoint (CTAHD ctahd,
MSP_ENDPOINT_ADDR* addr,
MSP_ENDPOINT_PARMS* parm,
MSPHD* ephd)
- ctahd CT Access handle used to open MSPP service.
- addr Pointer to MSP_ENDPOINT_ADDR structure, as shown:
typedef struct tag_MSP_ENDPOINT_ADDR
{
DWORD size; // size of defined structure - not a
// sizeof(ENDPOINT_ADDR) but for example
// sizeof(DS0_ENDPOINT_ADDR)
DWORD nBoard; // board number
DWORD eEpType; // MSP_ENDPOINT_DS0, MSP_ENDPOINT_RTPFDX,
// etc
union
{
DS0_ENDPOINT_ADDR DS0;
RTPRTCP_ENDPOINT_ADDR RtpRtcp;
UDP_ENDPOINT_ADDR Udp;
// Structure may be expanded to define new Endpoints
} EP;
} MSP_ENDPOINT_ADDR;
- parm Pointer to an endpoint parameters structure, as shown:
typedef struct tag_MSP_ENDPOINT_PARMS
{
DWORD size; // size of defined structure - not a
// sizeof(ENDPOINT_PARAMS) but for example
// sizeof(PSTN_ENDPOINT_PARAMS)
DWORD eParmType; // MSP_ENDPOINT_DS0, MSP_ENDPOINT_RTPFDX,
// etc
union
{
DS0_ENDPOINT_PARMS DS0;
RTPRTCP_ENDPOINT_PARMS RtpRtcp;
UDP_ENDPOINT_PARMS Udp;
UNDEFINED_ENDPOINT_PARMS Undefined;
// Structure may be expanded to define new Endpoints
} EP;
}
- ephd Pointer to a MSPP return endpoint handle.