Share via


IOemCellularDataStore::SetNamedValue

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.

 

This method sets a name-value pair for a UICC identified by ICCID.

Syntax

HRESULT SetNamedValue(
    const BYTE *pIccId,
    DWORD lengthIccId, 
    LPCWSTR pClientId, 
    LPCWSTR pPropertyName, 
    const BYTE *pPropertyValue, 
    DWORD lengthValue,
    UICCDATASTOREACCESSMODE accessMode
);

Parameters

  • pIccId
    [in] Pointer to the ICCID.

  • lengthIccId
    [in] The length of the ICCID.

  • pClientId
    [in] Pointer to an identifier for the client application. It is recommended that you use an internally generated GUID.

  • pPropertyName
    [in] Pointer to the property name.

  • pPropertyValue
    [in] Pointer to the property value.

  • lengthValue
    [in] The length of the property value.

  • accessMode
    [in] The access mode as specified in UICCDATASTOREACCESSMODE.

Return Value

This method returns S_OK if successful.

Requirements

Header: Generated from CellularAPI_OEM.idl

 

 

Send comments about this topic to Microsoft