![[Contents]](../images/toc_d.gif) 
![[Index]](../images/index_d.gif) 
![[Help]](../images/help_d.gif) 
![[Retrace]](../images/retrace_d.gif) 
![[Browse <]](../images/prev.gif) 
![[Browse >]](../images/next.gif) 
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)
RESULTS
    idtype -- the type of the disk drive.  Standard types are
            defined in the resource include file.
EXCEPTIONS
SEE ALSO
    GetUnitID
BUGS