RIL_SetSlotPower function (rilapi.h)

This topic supports the Windows driver infrastructure and is not intended to be used directly from your code.

Syntax

HRESULT RIL_SetSlotPower(
  HRIL   hRil,
  LPVOID lpContext,
  DWORD  dwSlotIndex,
  BOOL   fPowerOn
);

Parameters

hRil

lpContext

dwSlotIndex

fPowerOn

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Target Platform Windows
Header rilapi.h