Share via


IPortableDeviceEventCallback::OnEvent

banner art

Previous Next

IPortableDeviceEventCallback::OnEvent

The OnEvent method is called by the SDK to notify the application about asynchronous events.

Syntax

  HRESULT OnEvent(
  IPortableDeviceValues*  pEventParameters
);

Parameters

pEventParameters

[in]  Pointer to an IPortableDeviceValues interface that contains event details.

Return Values

Any values returned by the application are ignored by Windows Portable Devices.

Remarks

The application must register to receive events by calling IPortableDevice::Advise.

Requirements

Header: Defined in PortableDeviceApi.h

Library: PortableDeviceGUIDs.lib

See Also

Previous Next