K 10 svn:author V 2 dd K 8 svn:date V 27 2001-07-02T00:18:04.000000Z K 7 svn:log V 339 Introduce DEVICE_INIT, DEVICE_GET, and DEVICE_SHUTDOWN macros. As the names suggest, they perform methods on Device's. In addition, they check that the pointer passed to them is valid; if it isn't, they pretend that the action failed. This fixes some crashes due to NULL dereferences (e.g., PR 26509). Approved by: jkh (some time ago) END