次の方法で共有


RIL_SendSimCmd (Compact 2013)

3/26/2014

This function sends a command to the Subscriber Identity Module (SIM).

Syntax

HRESULT RIL_SendSimCmd(
  HRIL hRil,
  const BYTE* lpbCommand,
  DWORD dwSize
);

Parameters

  • hRil
    Handle to the Radio Interface Layer (RIL) instance returned by RIL_Initialize.
  • dwSize
    Size of the data pointed to by lpbCommand, in bytes.

Return Value

Positive HRESULT values indicate success; these HRESULT values identify commands for matching the asynchronous call result. Negative HRESULT values indicate an error. Errors are defined in the Ril.h file.

An asynchronous result of RIL_RESULT_OK indicates success. The lpData notification parameter points to an array of bytes.

Remarks

The RIL proxy translates the RIL_SendSimCmd function into IOCTL_RIL_SendSimCmd when the RIL proxy calls RIL_IOControl.

Requirements

Header

ril.h

Library

Ril.lib

See Also

Reference

RIL Functions
RIL_Initialize
SIM Command Constants