Share via


VIBRATENOTE

4/8/2010

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

See Also

Reference

Vibrate
VibrateGetDeviceCaps
VibrateStop