Bagikan melalui


IOemCellularModem::SendModemOpaqueCommand

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 sends an Opaque Command to the Modem.

Syntax

HRESULT SendModemOpaqueCommand(
    IModemOpaqueCommandCompletion *pCallback, 
    BYTE *pOpaquePayload, 
    DWORD cbSize, 
    INT_PTR context);

Parameters

  • pCallback
    [in] A pointer to the IModemOpaqueCommandCompletion callback interface that is called to return the results of the modem opaque command request.

  • pOpaquePayload
    [in] Pointer to the buffer containing the opaque command data.

  • cbSize
    [in] Size of pOpaquePayload in bytes.

  • context
    [in] Pointer to the context.

Return Value

Returns S_OK if the method was successful.

Remarks

Example

Requirements

Header: Generated from CellularAPI_OEM.idl

 

 

Send comments about this topic to Microsoft