RIL_GetRadioPresence (Compact 2013)

3/26/2014

This function determines if the radio is present.

Syntax

HRESULT RIL_GetRadioPresence(
  HRIL hRIL,
  DWORD* dwRadioPresence
);

Parameters

  • dwRadioPresence
    Pointer to a DWORD. Values can be:
    RIL_RADIOPRESENCE_NOTPRESENT or

    RIL_RADIOPRESENCE_PRESENT. See Radio Presence States Constants for more information.

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.

Remarks

This function is synchronous. An asynchronous result callback is not returned. The parameter dwRadioPresence points to the final result.

Requirements

Header

ril.h

Library

Ril.lib

See Also

Reference

RIL Functions