Convert parameters to my standard style.
Match style changes.
Extract forward declarations.  Address some SAL issues.
Add device interface.