Docs » Autodocs » dos.library » FreeDeviceProc
FreeDeviceProc -- Releases port returned by GetDeviceProc() (V36)
FreeDeviceProc(devproc) D1 void FreeDeviceProc(struct DevProc *)
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).
devproc - A value returned by GetDeviceProc()
Counter not currently active in 2.0.
GetDeviceProc(), DeviceProc(), AssignLock(), AssignLate(), AssignPath()
|