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

RawDisk.InstallDriver method

Filter:

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

RawDisk     See also    

Overview

Installs the driver into the system

Declaration

[Pascal]
    class function InstallDriver( DriverName : WideString; ProgramName : AnsiString; var RebootNeeded : boolean) : BOOL;

[C++ (DLL/Lib)]
    static BOOL InstallDriver( unsigned short* DriverName, const char * ProgramName, bool *RebootNeeded);

[C++ (VCL)]
    static BOOL __fastcall InstallDriver( WideString DriverName, const char * ProgramName, bool RebootNeeded);

[C++ (.NET)]
    static BOOL InstallDriver( String* DriverName, String* ProgramName, bool &RebootNeeded);

[C#]
    static BOOL InstallDriver( string DriverName, string ProgramName, ref bool RebootNeeded)

[VB.NET]
    Shared Function InstallDriver( ByVal DriverName As String, ByVal ProgramName As String, ByRef RebootNeeded As Boolean) as BOOL

Parameters

  • DriverName - the fully qualified name of the device driver (elrawdisk.sys).
  • ProgramName - the ProgramName string that identifies installation of the driver by your application
  • RebootNeeded - On return this parameter specifies if system restart is necessary for driver installation to be successful.

Return values

TRUE (non-zero value) if the function succeeded or FALSE (0) if the function failed. When 0 is returned, use GetLastError() WinAPI function to get the return code.

Description

Use this function to install the driver to the system. Once installed, the driver is loaded during system startup.

See also

GetDriverStatus     UninstallDriver    

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