EldoS
 Table of Contents >  CallbackFileSystem.MountMedia method
Navigation
Web site
Support
Table Of Contents
Send comments on this topic

CallbackFileSystem.MountMedia method

Filter:

Pascal    C++ (Lib)    C++ (VCL)    C++ (.NET)    C#    VB.NET   

CallbackFileSystem     See also    

Overview

Mounts a media, making it accessible for reading and writing.

Declaration

[Pascal]
    procedure MountMedia(Timeout: Integer);

[C++ (Lib)]
    void MountMedia(unsigned long Timeout);

[C++ (VCL)]
    void __fastcall MountMedia(long Timeout);

[C++ (.NET)]
    void MountMedia(long Timeout);

[C#]
    void MountMedia(int Timeout);

[VB.NET]
    Sub MountMedia(ByVal Timeout As Integer)

Parameters

  • Timeout - specifies the timeout, after which the call to callback function will be cancelled by the driver, and timeout error will be reported to the system.

Description

Use this method to mount new media to the created storage. Call this method after calling CreateStorage. You can add mounting points before or after calling MountMedia.

Timeout is specified in milliseconds. The value of 0 (zero) means "timeout is not used", i.e. "callbacks work as long as they need". It's good idea to set timeout to 0 when you do debugging of your callback functions. Remember to set timeout to some reasonable value (for example, 30 seconds) for release version.

See also

CreateStorage     AddMountingPoint     UnmountMedia     DeleteStorage    

Contact Us | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2008, EldoS Corporation