다음을 통해 공유


NDIS_TAPI_SET_DEFAULT_MEDIA_DETECTION (Windows Embedded CE 6.0)

1/6/2010

The NDIS_TAPI_SET_DEFAULT_MEDIA_DETECTION structure is used by OID_TAPI_SET_DEFAULT_MEDIA_DETECTION when it requests the miniport driver to use a new set of media modes to detect for the indicated line, thereby replacing whatever set it was using.

The miniport driver must not notify the WAN protocol driver of an incoming call unless this request has been successfully completed for the incoming call's media mode.

Support for this request is mandatory.

Syntax

typedef struct _NDIS_TAPI_SET_DEFAULT_MEDIA_DETECTION { 
  ULONG ulRequestID; 
  HDRV_LINE hdLine; 
  ULONG ulMediaModes; 
} NDIS_TAPI_SET_DEFAULT_MEDIA_DETECTION, *PNDIS_TAPI_SET_DEFAULT_MEDIA_DETECTION; 

Members

  • ulRequestID
    [in] Reserved.
  • hdLine
    [in] Specifies the miniport driver's handle to the line for which the default media mode should be set.
  • ulMediaModes
    [in] Specifies the media mode(s) of interest to NDISTAPI. This member is set with one or more of the LINEMEDIAMODE constants.

Remarks

The MiniportSetInformation function can return one of the following:

  • NDIS_STATUS_SUCCESS
  • NDIS_STATUS_PENDING
  • NDIS_STATUS_TAPI_INVALLINEHANDLE
  • NDIS_STATUS_TAPI_INVALMEDIAMODE
  • NDIS_STATUS_TAPI_NODRIVER
  • NDIS_STATUS_TAPI_RESOURCEUNAVAIL
  • NDIS_STATUS_FAILURE

Requirements

Header ndistapi.h, ntddndis.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

NDIS Structures
OID_TAPI_SET_DEFAULT_MEDIA_DETECTION
MiniportSetInformation