ThbTapiLine.ConfigDialog
Unit: hbTapi 

The ConfigDialog method causes the provider of the specified line device to display a dialog box (attached to OwnerWnd of the application) to allow the user to configure parameters related to the line device.

OwnerWnd is a handle to a window to which the dialog box is to be attached. Typically this parameter is the Handle property of the Form. Can be 0 to indicate that any window created during the function should have no owner window.

Declaration

procedure ConfigDialog(OwnerWnd: HWND = 0);

Example

hbTapiLine1.ConfigDialog(Handle);

Remarks

Please refer to the section"lineConfigDialog" in TAPI's documentation for a more detailed information.

Errors

Using this function may cause an EhbTapiError exception. Possible errors are:

LINEERR_BADDEVICEID, LINEERR_NOMEM, LINEERR_INUSE, LINEERR_OPERATIONFAILED, LINEERR_INVALDEVICECLASS, LINEERR_RESOURCEUNAVAIL, LINEERR_INVALPARAM, LINEERR_UNINITIALIZED, LINEERR_INVALPOINTER, LINEERR_OPERATIONUNAVAIL, LINEERR_NODEVICE.