private static int GetDeviceCaps(VibrationCapabilities caps) { return NativeMethods.VibrateGetDeviceCaps(caps); }
private static extern int VibrateGetDeviceCaps( VibrationCapabilities caps);
/// <summary> /// Gets the current device vibration capabilities. /// </summary> /// <param name="caps">Member of the VibrationCapabilities enumeration identifying what capability to query.</param> /// <returns>0 if the capability is not supported, 1 if a single level is supported or a value between 2 and 7 if multiple levels are supported.</returns> /// <remarks>This function returns the number of vibration steps (a number from 0 to 7) that the device hardware supports for the requested vibration capability.</remarks> /// <platform><os>Pocket PC Phone Edition, Windows Mobile 2003 for Smartphone</os></platform> /// <preliminary/> public static int GetDeviceCaps(VibrationCapabilities caps) { return(VibrateGetDeviceCaps(caps)); }
private static int GetDeviceCaps(VibrationCapabilities caps) { return(NativeMethods.VibrateGetDeviceCaps(caps)); }