Search the Openlist for the device named in Devnam.
If found,
perform only operation c. below and take no further action.
Otherwise, perform all the following operations:
Attempt to seize exclusive ownership of the device named in
Devnam.
This operation suspends execution until it succeeds.
Add the specified device to the Openlist.
If B contains any device parameters, find the device named in
Devnam in the Devicelist, and change those parameters which
appear in Result.
Perform any initiation procedures for the device named in
Devnam according to its device parameters in Devicelist.
Set up a timer of Timeout seconds.
Search the Openlist for
the device named in A.
If found, perform operation 3c and
indicate that the timer has not expired.
Otherwise, attempt to
seize exclusive ownership of the device named in Devnam at least
once, and then repeatedly until it succeeds, or the timer
expires, whichever occurs first.
If ownership is established
prior to expiration of the timer, perform actions 3b, 3c, and
3d.