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

NAME

       ReadUnitID - reread and return the type of drive (V37)

SYNOPSIS

       idtype = ReadUnitID( unitNum ), DRResource
D0 D0 A6
ULONG ReadUnitID(LONG);

FUNCTION

	Rereads the drive id for a specific unit (for handling drives
that change ID according to what sort of disk is in them. You
MUST have done a GetUnit before calling this function!

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

GetUnitID()

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:

Alpha Flight 1970

AYS
FLT
AFL
KEF

Comments:

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