RIL_Initialize function (rilapi.h)

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

Syntax

HRESULT RIL_Initialize(
  DWORD             dwIndex,
  RILRESULTCALLBACK pfnResult,
  RILNOTIFYCALLBACK pfnNotify,
  DWORD             *lpdwNotifications,
  DWORD             dwNotificationCount,
  LPVOID            lpParam,
  WCHAR             *pwszClientName,
  HRIL              *lphRil
);

Parameters

dwIndex

pfnResult

pfnNotify

lpdwNotifications

dwNotificationCount

lpParam

pwszClientName

lphRil

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