[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


   NAME
	FreeDeviceProc -- Releases port returned by GetDeviceProc() (V36)

   SYNOPSIS
	FreeDeviceProc(devproc)
			 D1

	void FreeDeviceProc(struct DevProc *)

   FUNCTION
	Frees up the structure created by GetDeviceProc(), and any associated
	temporary locks.

	Decrements the counter incremented by GetDeviceProc().  The counter
	is in an extension to the 1.3 process structure.  After calling
	FreeDeviceProc(), do not use the port or lock again!  It is safe to
	call FreeDeviceProc(NULL).

   INPUTS
	devproc - A value returned by GetDeviceProc()

   BUGS
	Counter not currently active in 2.0.

   SEE ALSO
	GetDeviceProc(), DeviceProc(), AssignLock(), AssignLate(),
	AssignPath()