Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Accepts a raw application event from a Windows SideShow-compatible device and calls the corresponding protected virtual method, which raises an event.
Namespace: Microsoft.SideShow
Assembly: Microsoft.SideShow (in microsoft.sideshow.dll)
Usage
Syntax
'Declaration
Protected Overridable Sub OnApplicationEvent ( _
capabilities As DeviceCapabilities, _
eventId As Integer, _
eventData As Byte() _
)
protected virtual void OnApplicationEvent (
DeviceCapabilities capabilities,
int eventId,
byte[] eventData
)
protected:
virtual void OnApplicationEvent (
DeviceCapabilities^ capabilities,
int eventId,
array<unsigned char>^ eventData
)
protected void OnApplicationEvent (
DeviceCapabilities capabilities,
int eventId,
byte[] eventData
)
protected function OnApplicationEvent (
capabilities : DeviceCapabilities,
eventId : int,
eventData : byte[]
)
Parameters
- capabilities
A DeviceCapabilities object that represents the capabilities of the device triggering the application event.
- eventId
The Int32 value that identifies the application event triggered by the device.
- eventData
A Byte array that contains additional data that the device wants sent to the gadget.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista Home Premium, Windows Vista Business, Windows Vista Enterprise, Windows Vista Ultimate
Target Platforms
Windows Vista Home Premium, Windows Vista Business, Windows Vista Enterprise, Windows Vista Ultimate
See Also
Reference
SideShowGadget Class
SideShowGadget Members
Microsoft.SideShow Namespace