Partager via


RILCALLTYPECALLBACK (Compact 2013)

3/26/2014

This callback function determines if an incoming call is a push-to-talk (PTT) call. It is called when the radio sends notification that Caller Line ID information is available.

Syntax

typedef DWORD (CALLBACK *RILCALLTYPECALLBACK)(
  const RILREMOTEPARTYINFO* const pRemotePartyInfo
);

Parameters

  • pRemotePartyInfo
    [in] A RILREMOTEPARTYINFO structure containing the Caller ID information associated with the radio notification. This parameter is used to determine the call type.

Return Value

Returns RIL_CALLTYPE_PTT if the call is a push-to-talk call and RILL_CALLTYPE_UNKNOWN otherwise.

Remarks

The name of the function used to implement RILCALLTYPECALLBACK must be specified in the registry. See RIL Registry Settings for more information.

Requirements

Header

ril.h

Library

Developer Implemented

See Also

Reference

RIL Functions
RIL Registry Settings