Odcl_GetDriveSerial

(From ODCL_LM file)

<< Click to Display Table of Contents >>

Navigation:  ObjectDCL > Free Extra Lisp function > PC System >

Odcl_GetDriveSerial

(From ODCL_LM file)

Previous pageReturn to chapter overviewNext page

Odcl_GetDriveSerial

This function retreive the serial number of specified Drive.

First Parameter

Value as string representing the Drive Letter.

ex: "C:"

 

Return Values

The Drive Serial number information or Nil = if Not valid.

 

Example:

(Odcl_GetDriveSerial "C:\\")

 

Result:

1947007823

 

AutoLisp Syntax:

(Setq rValue (Odcl_GetDriveSerial DriveLetter [as String]))