
112
3.84 SysSetVibratorMute
This function sets up all the vibration modes and individual mute for the vibrator.
Calling Sequences
[C++]
DWORD SysSetVibratorMute(
DWORD dwType,
BOOL bMute
)
[Visual Basic]
Public Shared Function SysSetVibratorMute( _
ByVal dwType As Int32, _
ByVal bMute As Boolean _
) As Int32
[C#]
public static Int32 SysSetVibratorMute(
Int32 dwType,
Boolean bMute
);
Parameters
dwType
This parameter is for specifying vibration pattern selecting one of the values listed below.
B_ALARM : Alarm
B_WARNING : Warning
B_SCANEND : Scanning complete
B_CARDREAD : Card read/write
B_WIREREAD : Wireless in call
B_USERDEF : User defined
B_ALL : All sounds
bMute
This parameter is for specifying the mute selecting either of the values listed below.
TRUE : Mute ON (the vibrator will not be turned on.)
FALSE : Mute OFF (the vibrator will be turned on.) Default
Return Values
TRUE : Normal end
FUNCTION_UNSUPPORT : Unsupported error
Note:
If either all the vibration types are set to mute, or a specific vibration type set enabled to
vibrate is set to mute, the vibrator will not be turned on.
Kommentare zu diesen Handbüchern