IMbnVendorSpecificEvents::OnEventNotification method (mbnapi.h)

Important

Starting in Windows 10, version 1803, the Win32 APIs described in this section are replaced by the Windows Runtime APIs in the Windows.Networking.Connectivity namespace.

Notification method signaling a change event from the underlying Mobile Broadband device miniport driver.

Syntax

HRESULT OnEventNotification(
  [in] IMbnVendorSpecificOperation *vendorOperation,
  [in] SAFEARRAY                   *vendorSpecificData
);

Parameters

[in] vendorOperation

A IMbnVendorSpecificOperation interface representing the device on which the event has occurred.

[in] vendorSpecificData

A byte array containing the data returned by underlying miniport driver.

Return value

This method must return S_OK.

Remarks

This byte array contains the byte by byte copy of data returned by underlying miniport driver. The Mobile Broadband service will free the memory for this field after the function call returns. If an application wants to use this data then it should copy the contents in its own memory.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header mbnapi.h

See also

IMbnVendorSpecificEvents