[USETUP] Minor fixes & simplifications.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Tue, 30 May 2017 00:15:54 +0000 (00:15 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 3 Jun 2018 20:12:43 +0000 (22:12 +0200)
commit6b6163a5d9e64ed980b36f757b0b96043e25520a
treec4cfb61d911643de8d629798c0d6fde102c7b2fd
parent6681fb8af5eec6ac2897a3e4bde973992fa9456c
[USETUP] Minor fixes & simplifications.

- Remove a redundant NtClose() call;
- Return failure if NtQuerySymbolicLinkObject() fails;
- Use RTL_CONSTANT_STRING and RtlInitEmptyUnicodeString() where needed;
- Reduce code indent level;
- Add old-style function annotations;
- Remove the deprecated code copyright notice, since the copyright in usage is already reported in the COPYING file in the top level ReactOS source code directory.

svn path=/branches/setup_improvements/; revision=74698
base/setup/usetup/drivesup.c
base/setup/usetup/drivesup.h