Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
The OnEvent method is called by the SDK to notify the application about asynchronous events.
Syntax
HRESULT OnEvent(
[in] IPortableDeviceValues *pEventParameters
);
Parameters
[in] pEventParameters
Pointer to an IPortableDeviceValues interface that contains event details.
Return value
Any values returned by the application are ignored by Windows Portable Devices.
Remarks
The application must register to receive events by calling IPortableDevice::Advise.
Examples
For an example of how to use this method, see Handling Events from the Device.
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | portabledeviceapi.h |
| Library | PortableDeviceGUIDs.lib |