LINE_REQUEST  D32U18

The LINE_REQUEST message is sent to report the arrival of a new request from another application.

LINE_REQUEST
    dwDevice = (DWORD) 0;

    dwCallbackInstance = (DWORD) hRegistration;

    dwParam1 = (DWORD) RequestMode;

    dwParam2 = (DWORD) RequestModeDetail1;

    dwParam3 = (DWORD) RequestModeDetail2;

 

Parameters

dwDevice

Not used.

dwCallbackInstance

The registration instance of the application specified on lineRegisterRequestRecipient3GEK060.

dwParam1

The request mode of the newly pending request. This parameter uses the following LINEREQUESTMODE_ constants:

LINEREQUESTMODE_MAKECALL

A tapiRequestMakeCallNUVPRG request.

dwParam2

If dwParam1 is set to LINEREQUESTMODE_DROP, dwParam2 contains the hWnd of the application requesting the drop. Otherwise, dwParam2 is unused.

dwParam3

If dwParam1 is set to LINEREQUESTMODE_DROP, the low-order word of dwParam3 contains the wRequestID as specified by the application requesting the drop. Otherwise, dwParam3 is unused.

 

Return Values

No return value.

Remarks

The LINE_REQUEST message is sent to the highest priority application that has registered for the corresponding request mode. This message indicates the arrival of an Assisted Telephony request of the specified request mode. If dwParam1 is LINEREQUESTMODE_MAKECALL or LINEREQUESTMODE_MEDIACALL, the application can invoke lineGetRequest using the corresponding request mode to receive the request. If dwParam1 is LINEREQUESTMODE_DROP, the message contains all of the information the request recipient needs in order to perform the request.

See Also

lineGetRequest, lineRegisterRequestRecipient, tapiRequestMakeCall