共用方式為


OID_TAPI_SET_APP_SPECIFIC

The OID_TAPI_SET_APP_SPECIFIC OID requests the miniport driver to set the ulAppSpecific member of the specified call's LINECALLINFO structure. For more information about this structure, see ndistapi.h.

Support for this request is mandatory.

This request uses an NDIS_TAPI_SET_APP_SPECIFIC structure, defined as follows:

typedef struct _NDIS_TAPI_SET_APP_SPECIFIC {         
         IN ULONG ulRequestID;
         IN HDRV_CALL hdCall;
         IN ULONG ulAppSpecific;
 } NDIS_TAPI_SET_APP_SPECIFIC, *PNDIS_TAPI_SET_APP_SPECIFIC;

The members of this structure contain the following information:

  • ulRequestID
    Reserved.

  • hdCall
    Specifies the miniport driver's handle to the call for which the application-specific member is to be set.

  • ulAppSpecific
    Specifies the new content of the ulAppSpecific member for the call's LINECALLINFO structure. This value is uninterpreted by the NIC driver. The value is not validated by NDISTAPI when this request is made.

The MiniportSetInformationfunction can return one of the following:

NDIS_STATUS_SUCCESS

NDIS_STATUS_PENDING

NDIS_STATUS_TAPI_INVALCALLHANDLE

NDIS_STATUS_TAPI_RESOURCEUNAVAIL

NDIS_STATUS_FAILURE

 

 

Send comments about this topic to Microsoft