RIL_GetRadioPresence (Compact 2013)
3/26/2014
This function determines if the radio is present.
Syntax
HRESULT RIL_GetRadioPresence(
HRIL hRIL,
DWORD* dwRadioPresence
);
Parameters
- hRIL
Handle to the RIL instance returned by RIL_Initialize.
dwRadioPresence
Pointer to a DWORD. Values can be:
RIL_RADIOPRESENCE_NOTPRESENT orRIL_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 |