CloseDrv

Outline

Close the driver opened in OpenDrv.

Supplement

It will be error when RAS/System monitor device driver is off.

VC++ .NET VC# .NET VB .NET


VC++ .NET

CloseDrv
Calling Method BOOL CloseDrv();
Return Value
TRUE : Normal
FALSE : Error
Argument None
Example int ret;
ret = CloseDrv();
Necessary Condition
Header : iocif.h/iocifconst.h
Library : ioctl.lib

Top of Page

VC# .NET

CloseDrv
Calling Method [DllImport("Ioctl.dll")] static extern int CloseDrv();
Return Value
Excluding 0 : Normal
0 : Error
Argument None
Example int ret;
ret = CloseDrv();

Top of Page

VB .NET

CloseDrv
Calling Method Declare Function CloseDrv Lib "Ioctl.dll"()As Integer
Return Value
Excluding 0 : Normal
0 : Error
Argument None
Example Dim ret As Integer
ret = CloseDrv()

Top of Page