ScfSideShowGadget.OnApplicationEvent Method
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.SimpleContentFormat
Assembly: Microsoft.SideShow (in microsoft.sideshow.dll)
Usage
Syntax
'Declaration
Protected Overrides Sub OnApplicationEvent ( _
capabilities As DeviceCapabilities, _
eventId As Integer, _
eventData As Byte() _
)
protected override void OnApplicationEvent (
DeviceCapabilities capabilities,
int eventId,
byte[] eventData
)
protected:
virtual void OnApplicationEvent (
DeviceCapabilities^ capabilities,
int eventId,
array<unsigned char>^ eventData
) override
protected void OnApplicationEvent (
DeviceCapabilities capabilities,
int eventId,
byte[] eventData
)
protected override 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
ScfSideShowGadget Class
ScfSideShowGadget Members
Microsoft.SideShow.SimpleContentFormat Namespace