Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This structure defines a single vibration note within a vibration song.
Note: |
---|
This API is not supported by Windows Mobile Professional or Windows Mobile Classic. |
Syntax
typedef struct { WORD wDuration; BYTE bAmplitude; BYTE bFrequency; } VIBRATENOTE; |
Members
- wDuration
-
The duration of the note in milliseconds.
- bAmplitude
-
A value that defines the amplitude of the note. There is no predefined unit of measurement for this member; the device driver is free to interpret this value using any unit of measurement.
Value Description 0
Vibration is disabled for the note.
1-7
The amplitude of the note as interpreted by the device.
0xFF
The default vibration amplitude of the device.
- bFrequency
-
A value that defines the frequency of the note. There is no predefined unit of measurement for this member; the device driver is free to interpret this value using any unit of measurement.
Value Description 0
Vibration is disabled for the note.
1-7
The frequency of the note as interpreted by the device.
0xFF
The default vibration frequency of the device.
Requirements
Header | vibrate.h |
Library | aygshell.lib |
Windows Mobile | Smartphone 2002 and later |