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.
4/8/2010

This function gets the current device vibration capabilities.

Note:
This API is not supported by Windows Mobile Professional.

Syntax

int VibrateGetDeviceCaps (
  VIBRATEDEVICECAPS 
vdc
);

Parameters

vdc

[in] The capability the caller is interested in, determined by the VIBRATEDEVICECAPSenumeration.

Return Value

This function returns the number of vibration steps (a number from 0 to 7) that the device hardware supports for the requested vibration capability.

Value Description

0

The device is incapable of providing the requested vibration functionality.

1

The device is capable of providing one level of vibration functionality (vibration can only be turned on or off).

2-7

Each of these values maps to the vibration functionality that is specific to the device to be vibrated.

Remarks

Each VIBRATENOTEstructure can be constructed with the assumption that the device can support all eight levels of vibration functionality. When the vibration song is played, the Vibratefunction will map the level of vibration specified in VIBRATENOTEto one of the supported vibration levels on the device.

Requirements

Header vibrate.h
Library aygshell.lib
Windows Mobile Smartphone 2002 and later

See Also

500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.