Skip to content

RemDevice

snayaksnayak edited this page May 14, 2013 · 2 revisions

NAME

RemDevice - remove a device from the system

SYNOPSIS

RemDevice(device)
void RemDevice(struct Device *);

FUNCTION

This function calls the device's EXPUNGE vector, which requests
that a device delete itself.  The device may refuse to do this if
it is busy or currently open. This is not typically called by user
code.

There are certain, limited circumstances where it may be
appropriate to attempt to specifically flush a certain device.

INPUTS

device - pointer to a device node

SEE ALSO

[[CloseDevice]], [[AddDevice]], [[OpenDevice]]
Clone this wiki locally