IOemUiccAppEx2::GetNAI
Warning The Cellular COM API is deprecated in Windows 10. This content is provided to support maintenance of OEM and mobile operator created Windows Phone 8.1 applications.
Note This feature is available in Windows Phone 8 GDR2, but it might not be available yet in Windows Phone 8.1.
This method gets the NAI.
Note
This method only succeeds on phones that have a virtual RUIM. If the phone has a real RUIM/CSIM, this method will fail with error RIL_E_OPNOTSUPPORTED.
Syntax
HRESULT GetNAI(
IGetNAICompletion *pCallback,
INT_PTR context);
Parameters
pCallback
[in] Pointer to the IGetNAICompletion callback interface that is called to return the results of the get NAI request.context
[in] Pointer to the context.
Return values
This method returns S_OK if successful.
If the phone does not have a virtual RUIM, this method returns RIL_E_OPNOTSUPPORTED.
Remarks
Requirements
Header: Generated from CellularAPI_OEM.idl