Index: /trunk/src/VBox/Devices/Parallel/DrvHostParallel.cpp
===================================================================
--- /trunk/src/VBox/Devices/Parallel/DrvHostParallel.cpp	(revision 42348)
+++ /trunk/src/VBox/Devices/Parallel/DrvHostParallel.cpp	(revision 42349)
@@ -123,11 +123,5 @@
     uint8_t                       u8ReadInStatus;
     /** Parallel port name */
-    /** @todo r=bird: This is an array, they start with 'a'. However, this seems
-     * to be a string, and they are not uint8_t but char and are prefixed with 'sz'
-     * in char array form.
-     *
-     * Also, the use of tabs as indentation in anything but Makefiles is
-     * forbidden.  That is not a guideline, it's the law. :-) (See above line.) */
-    uint8_t                       u8ParportName[6];
+    char                          szParportName[6];
     /** Whether the parallel port is available or not. */
     bool                          fParportAvail;
@@ -423,11 +417,11 @@
     for (u32Idx = 0; SetupDiEnumDeviceInfo(hDevInfo, u32Idx, &DeviceInfoData); u32Idx++)
     {
-        uint32_t u32DataType; /** @todo r=bird: why do you use uint32_t here when the function wants a DWORD? */
+        DWORD dwDataType;
         uint8_t *pBuf = NULL;
-        uint32_t u32BufSize = 0; /** @todo r=bird: ditto */
+        DWORD dwBufSize = 0;
 
         while (!SetupDiGetDeviceRegistryProperty(hDevInfo, &DeviceInfoData, SPDRP_FRIENDLYNAME,
-                                                 (PDWORD)&u32DataType, (uint8_t *)pBuf,
-                                                 u32BufSize, (PDWORD)&u32BufSize)
+                                                 (PDWORD)&dwDataType, (uint8_t *)pBuf,
+                                                 dwBufSize, (PDWORD)&dwBufSize)
                && GetLastError() == ERROR_INSUFFICIENT_BUFFER)
         {
@@ -435,14 +429,9 @@
                  RTMemFree(pBuf);
             /* Max size will never be more than 2048 bytes */
-            pBuf = (uint8_t *)RTMemAlloc(u32BufSize * 2);
+            pBuf = (uint8_t *)RTMemAlloc(dwBufSize * 2);
         }
 
         if (pBuf) /** @todo r=bird: You're not checking errors here. */
         {
-            /** @todo r=bird: The indent of the block is wrong... More importantely, the
-             * scope and purpose of the two variables would be clearer if you moved them
-             * to the RTStrStr calls further down. */
-             char *pCh = NULL;
-             char* pTmpCh = NULL;
              if (RTStrStr((char*)pBuf, "LPT"))
              {
@@ -451,6 +440,6 @@
                  {
                      /* Find parallel port name and update the shared data struncture */
-                     pCh = RTStrStr((char*)pBuf, "(");
-                     pTmpCh = RTStrStr((char *)pBuf, ")");
+                     char *pCh = RTStrStr((char*)pBuf, "(");
+                     char *pTmpCh = RTStrStr((char *)pBuf, ")");
                      /* check for the confirmation for the availability of parallel port */
                      if (!(pCh && pTmpCh))
@@ -465,5 +454,5 @@
                      }
                      /* check for the confirmation for the availability of parallel port */
-                     if (RTStrCopyEx((char *)(pThis->u8ParportName), sizeof(pThis->u8ParportName),
+                     if (RTStrCopyEx((char *)(pThis->szParportName), sizeof(pThis->szParportName),
                                       pCh+1, ((pTmpCh - (char *)pBuf) - (pCh - (char *)pBuf)) - 1))
                      {
@@ -471,21 +460,17 @@
                          return VERR_NOT_FOUND;
                      }
-                     *((char *)pThis->u8ParportName + (pTmpCh - (char *)pBuf) - (pCh - (char *)pBuf) + 1 ) = '\0';
+                     *((char *)pThis->szParportName + (pTmpCh - (char *)pBuf) - (pCh - (char *)pBuf) + 1 ) = '\0';
 
                      /* checking again to make sure that we have got a valid name and in valid format too. */
-                     if (RTStrNCmp((char *)pThis->u8ParportName, "LPT", 3)) {
+                     if (RTStrNCmp((char *)pThis->szParportName, "LPT", 3)) {
                          LogFlowFunc(("Parallel Port name \"LPT\" Not Found.\n"));
                          return VERR_NOT_FOUND;
                      }
 
-                     /** @todo r=bird: Multiline expressions starts the next line with the
-                      * operator, (instead of the previous line ending with an operator like you do
-                      * here).
-                      *
-                      * Also, note that the opening curly brackets have it's own line in this
-                      * file, so you do the same as the original author(s) of the file. */
-                     if (!RTStrStr((char *)pThis->u8ParportName, "LPT") ||
-                          !(pThis->u8ParportName[3] >= '0' && pThis->u8ParportName[3] <= '9')) {
-                         RT_BZERO(pThis->u8ParportName, sizeof(pThis->u8ParportName));
+                     if (!RTStrStr((char *)pThis->szParportName, "LPT")
+                            || !(pThis->szParportName[3] >= '0'
+                            && pThis->szParportName[3] <= '9'))
+                     {
+                         RT_BZERO(pThis->szParportName, sizeof(pThis->szParportName));
                          LogFlowFunc(("Printer Port Name Not Found.\n"));
                          return VERR_NOT_FOUND;
@@ -1010,9 +995,9 @@
        Read and write will be done only if addresses are available
     */
-    if (pThis->u8ParportName)
-    {
-        LogFlowFunc(("Get the Handle to Printer Port =%s\n", (char *)pThis->u8ParportName));
+    if (pThis->szParportName)
+    {
+        LogFlowFunc(("Get the Handle to Printer Port =%s\n", (char *)pThis->szParportName));
         /** @todo r=klaus convert to IPRT */
-        hPort = CreateFile((char *)pThis->u8ParportName, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ,
+        hPort = CreateFile((char *)pThis->szParportName, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ,
                            NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
     }
