NDIS_TAPI_SET_MEDIA_MODE (Compact 2013)
3/26/2014
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.
Syntax
typedef struct _NDIS_TAPI_SET_MEDIA_MODE {
ULONG ulRequestID;
HDRV_CALL hdCall;
ULONG ulMediaMode;
} 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
Header |
ndistapi.h, |
See Also
Reference
NDIS 5.x Legacy Structures
OID_TAPI_SET_MEDIA_MODE
MiniportSetInformation