OnVolumeRemoved Event



 
Fires when a volume has been removed.


Syntax

    SiteKiosk.CDRecording.OnVolumeRemoved = handler
Parameters
    deviceletter DWORD value that contains the device letter.
Remarks
    The device letter is a logical unit mask identifying one or more logical units. Each bit in the mask corresponds to one logical drive. Bit 0 represents drive A, bit 1 represents drive B, and so on.

    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example shows the device letter when a volume has been removed.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    var lk_CDRecording = SiteKiosk.CDRecording;
    lk_CDRecording.OnVolumeRemoved = OnVolumeRemoved;
    function OnVolumeRemoved(deviceletter)
    {
       alert("Volume removed: " + deviceletter);
    }
    </SCRIPT>
    

Applies to
    SiteKiosk v6.0 (and later versions).

Back to top