DEFINITION MODULE OwnDevUnitD;(*$Implementation:=FALSE*)
(* 16-Mar-1994/bp *)

FROM ExecD IMPORT Library;

CONST
  ownDevUnitName="owndevunit.library";

TYPE
  OwnDevUnitBasePtr=POINTER TO OwnDevUnitBase;
  OwnDevUnitBase=RECORD
    lib:Library;
  END;

CONST

(*
 strings that can be returned by LockDevUnit() and AttempDevUnit() to
 indicate an internal error.  Note that these all start with a
 special character to allow clients to only have to check one byte
 to determine if an error occured.
 *)

  oduerrLeadChar = 07C;

  oduerrNoMem    = oduerrLeadChar + "Out of memory";
  oduerrNoTimer  = oduerrLeadChar + "Unable to open timer.device";
  oduerrBadName  = oduerrLeadChar + "Bogus device name supplied";
  oduerrBadBit   = oduerrLeadChar + "Bogus notify bit supplied";
  oduerrUnknown  = oduerrLeadChar + "Unknown";
 (* returned if owner's name is NULL *)


END OwnDevUnitD.noimp
