RIL_GetRadioPresence
A version of this page is also available for
4/8/2010
This function determines whether the radio is present. Specifically, it checks if the RIL driver is loaded.
Syntax
HRESULT RIL_GetRadioPresence(
HRIL hRIL,
DWORD* dwRadioPresence
);
Parameters
- hRIL
Handle to the RIL instance returned by RIL_Initialize.
- dwRadioPresence
Specifies the pointer to a DWORD. The output parameter contains one of the Radio Presence States Constants.
Return Value
An HRESULT value of S_OK indicates success. HRESULT values of E_XXX indicate an error. Errors are defined in 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 |
Windows Embedded CE | Windows CE .NET 4.2 and later |