• IXJCTL_DSP_TYPE

    ioctl(ixj, IXJCTL_DSP_TYPE, 0)

    Return Value

    Returns a 32-bit word holding the DSP type.

    Parameters

    Must be set to zero for historical reasons.

    Remarks

    This returns the DSP type. The values returned may be either 0x8020 (for an Internet PhoneJACK) , 0x8021 (for an Internet LineJACK or Internet PhoneJACK Lite), or 0x8022 (for an Internet PhoneJACK PCI or Internet PhoneCARD).

    Previous versions of this call returned the information via the second parameter using an unsigned 16 bit value. The method is no longer used.

    See Also:

    IXJCTL_DSP_VERSION

    Example:

    int dsp, ver;
    dsp = ioctl(ixj, IXJCTL_DSP_TYPE, 0);
    ver ioctl(ixj, IXJCTL_DSP_VERSION, 0);
    printf("DSP type 0x%x, DSP Version 0x%x\n", dsp, ver);
    


    ©1996-2001 Quicknet Technologies, Inc.