a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Resources:
 disk.resource
  AllocUnit
  FreeUnit
  GetUnit
  GetUnitID
  GiveUnit
  ReadUnitID
Include
GuruMeditation
Docs » Autodocs » disk.resource » GetUnitID

NAME

       GetUnitID - find out what type of disk is out there

SYNOPSIS

       idtype = GetUnitID( unitNum ), DRResource
D0 D0 A6
LONG GetUnitID(LONG);

FUNCTION

	Gets the drive ID for a given unit.  Note that this value may
change if someone calls ReadUnitID, and the drive id changes.

INPUTS

	unitNum -- a legal unit number (zero through three)

RESULT

	idtype -- the type of the disk drive.  Standard types are
defined in the resource include file.
EXCEPTIONS

SEE ALSO

ReadUnitID()

BUGS

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Phenomena

ATX
KEF
RBS
PHA

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se