The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
IPortableDeviceEventCallback::OnEvent method
The OnEvent method is called by the SDK to notify the application about asynchronous events.
Syntax
HRESULT OnEvent(
[in] IPortableDeviceValues *pEventParameters
);
Parameters
- pEventParameters [in]
-
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
|
Header |
|
|---|---|
|
Library |
|
See also
Community Additions
Show: