NDIS_TAPI_SET_MEDIA_MODE (Windows CE 5.0)
OID_TAPI_SET_MEDIA_MODE uses the NDIS_TAPI_SET_MEDIA_MODE structure when it requests the miniport driver to change a call's media mode as stored in the LINE_CALL_INFO structure for that call.
Support for this request is mandatory.
typedef struct _NDIS_TAPI_SET_MEDIA_MODE { ULONGulRequestID;HDRV_CALLhdCall;ULONGulMediaMode;} NDIS_TAPI_SET_MEDIA_MODE, *PNDIS_TAPI_SET_MEDIA_MODE;
Members
ulRequestID
[in] Reserved.hdCall
[in] Specifies the miniport driver's handle to the call for which it should change the media mode.ulMediaMode
[in] Specifies the new media mode(s) for the call as one or more of the LINEMEDIAMODE_XXX flags.If the LINEMEDIAMODE_UNKNOWN flag is set, other media mode flags also can be set. Such a combination of flags specifies that the call's media mode is not fully determined, but that it has been narrowed down to a subset of possible media modes. If the LINEMEDIAMODE_UNKNOWN flag is clear, only a single media mode can be specified.
Remarks
The MiniportSetInformation function can return one of the following:
- NDIS_STATUS_SUCCESS
- NDIS_STATUS_PENDING
- NDIS_STATUS_TAPI_INVALCALLHANDLE
- NDIS_STATUS_TAPI_INVALMEDIAMODE
- NDIS_STATUS_TAPI_RESOURCEUNAVAIL
- NDIS_STATUS_FAILURE
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Ntddndis.h and Ndistapi.h.
See Also
OID_TAPI_SET_MEDIA_MODE | MiniportSetInformation
Send Feedback on this topic to the authors