Share via


RIL_NDIS_SendPacket

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This function is used by the WWAN miniport to call the RIL driver to send a packet through the radio interface.

Note

This function is deprecated. The function will return E_NOTIMPL. The RIL driver will not be called.

Syntax

HRESULT RIL_NDIS_SendPacket (
  HRIL hRil,
  const RILNDISPACKET* pPacketToSend
);

Parameters

  • pPacketToSend
    Pointer to a RILNDISPACKET structure that contains one or more buffers comprising the packet to be sent.

Return Value

An HRESULT value of S_OK indicates success. HRESULT values of E_XXX indicate an error. Errors are defined in the winerror.h file.

On success, the lpData notification parameter points to the pPacketToSend structure that was passed in the original RIL_NDIS_SendPacket call.

Remarks

The memory for the RILNDISPACKET structure and its corresponding internal buffers are allocated by the NDIS miniport. Ownership of the memory passes to the underlying drivers until a RIL_RESULT_OK indicates that they are no longer needed and can be freed or reused by the miniport driver. The dwContextID of the RILNDISPACKET identifies the APN on which the packet is to be sent.

This function is synchronous. An asynchronous result callback is not called.

Requirements

Header ril.h
Library Ril.lib
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

RIL Functions