[BROWSEUI][DEVMGR][EXPLORER][NTGDI][NTOBJSHEX][NTVDM][SETUPAPI] Remove/comment out...
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 28 Oct 2017 14:04:18 +0000 (15:04 +0100)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 28 Oct 2017 14:04:18 +0000 (15:04 +0100)
12 files changed:
base/shell/explorer/trayntfy.cpp
dll/shellext/ntobjshex/ntobjfolder.h
dll/shellext/ntobjshex/regfolder.cpp
dll/win32/browseui/brandband.cpp
dll/win32/browseui/desktopipc.cpp
dll/win32/browseui/shellbrowser.cpp
dll/win32/browseui/toolsband.cpp
dll/win32/devmgr/devmgmt/MainWindow.h
dll/win32/setupapi/devclass.c
subsystems/mvdm/ntvdm/bios/vidbios.c
subsystems/mvdm/ntvdm/cpu/callback.c
win32ss/gdi/ntgdi/freetype.c

index 366b45a..c14e291 100644 (file)
@@ -1309,7 +1309,6 @@ class CTrayNotifyWnd :
     SIZE szTrayClockMin;
     SIZE szTrayNotify;
     MARGINS ContentMargin;
-    HFONT hFontClock;
     union
     {
         DWORD dwFlags;
@@ -1326,7 +1325,6 @@ public:
         m_pager(NULL),
         m_clock(NULL),
         TrayTheme(NULL),
-        hFontClock(NULL),
         dwFlags(0)
     {
         ZeroMemory(&szTrayClockMin, sizeof(szTrayClockMin));
index ef948f7..5192e29 100644 (file)
@@ -14,7 +14,6 @@ class CNtObjectFolderExtractIcon :
     public IExtractIconW
 {
     PCWSTR m_NtPath;
-    PCIDLIST_ABSOLUTE m_pcidlFolder;
     PCITEMID_CHILD    m_pcidlChild;
 
 public:
index 6ac41d4..a314ad7 100644 (file)
@@ -12,7 +12,7 @@
 const GUID CLSID_RegistryFolder = { 0x1c6d6e08, 0x2332, 0x4a7b, { 0xa9, 0x4d, 0x64, 0x32, 0xdb, 0x2b, 0x5a, 0xe6 } };
 
 // {18A4B504-F6D8-4D8A-8661-6296514C2CF0}
-static const GUID GUID_RegistryColumns = { 0x18a4b504, 0xf6d8, 0x4d8a, { 0x86, 0x61, 0x62, 0x96, 0x51, 0x4c, 0x2c, 0xf0 } };
+//static const GUID GUID_RegistryColumns = { 0x18a4b504, 0xf6d8, 0x4d8a, { 0x86, 0x61, 0x62, 0x96, 0x51, 0x4c, 0x2c, 0xf0 } };
 
 enum RegistryColumns
 {
index fc209b7..230ab94 100644 (file)
@@ -43,7 +43,7 @@ inline void FillSolidRect(HDC dc, const RECT *bounds, COLORREF clr)
     ::ExtTextOut(dc, 0, 0, ETO_OPAQUE, bounds, NULL, 0, NULL);
 }
 
-static const int                            gSmallImageSize = 22;
+//static const int                            gSmallImageSize = 22;
 static const int                            gMediumImageSize = 26;
 static const int                            gLargeImageSize = 38;
 
index 4afb992..c82f4cd 100644 (file)
@@ -33,15 +33,10 @@ class CProxyDesktop :
     public CComObjectRootEx<CComMultiThreadModelNoCS>,
     public CWindowImpl < CProxyDesktop, CWindow, CFrameWinTraits >
 {
-    IEThreadParamBlock * m_Parameters;
-
-    LPITEMIDLIST m_rootPidl;
 
 public:
-    CProxyDesktop(IEThreadParamBlock * parameters) :
-        m_Parameters(parameters)
+    CProxyDesktop(IEThreadParamBlock * parameters)
     {
-
     }
 
     virtual ~CProxyDesktop()
index 25df806..b95a4e3 100644 (file)
@@ -167,7 +167,7 @@ HRESULT WINAPI SHBindToFolder(LPCITEMIDLIST path, IShellFolder **newFolder)
 }
 
 static const TCHAR szCabinetWndClass[] = TEXT("CabinetWClass");
-static const TCHAR szExploreWndClass[] = TEXT("ExploreWClass");
+//static const TCHAR szExploreWndClass[] = TEXT("ExploreWClass");
 
 class CDockManager;
 class CShellBrowser;
index 03b3609..1e855cb 100644 (file)
@@ -38,8 +38,6 @@ class CToolsBand :
 {
 private:
     CComPtr<IDockingWindowSite> fDockSite;
-    GUID                        fExecCommandCategory;
-    CComPtr<IOleCommandTarget>  fExecCommandTarget;
     HIMAGELIST m_himlNormal;
     HIMAGELIST m_himlHot;
 public:
@@ -163,7 +161,7 @@ static const int cutImageIndex = 5;
 static const int copyImageIndex = 6;
 static const int pasteImageIndex = 7;
 static const int undoImageIndex = 8;
-static const int redoImageIndex = 9;
+//static const int redoImageIndex = 9;
 static const int deleteImageIndex = 10;
 // 11
 // 12
@@ -186,13 +184,13 @@ static const int upImageIndex = 28;
 static const int mapDriveImageIndex = 29;
 static const int disconnectImageIndex = 30;
 // 31
-static const int viewsAltImageIndex = 32;       // same image as viewsImageIndex
+//static const int viewsAltImageIndex = 32;       // same image as viewsImageIndex
 // 33
 // 34
 // 35
 // 36
 // 37
-static const int viewsAlt2ImageIndex = 38;      // same image as viewsAltImageIndex & viewsImageIndex
+//static const int viewsAlt2ImageIndex = 38;      // same image as viewsAltImageIndex & viewsImageIndex
 // 39
 // 40
 // 41
index afd3313..ec1633d 100644 (file)
@@ -15,7 +15,6 @@ class CDeviceManager
     HWND m_hStatusBar;
     HWND m_hToolBar;
     HMENU m_hMenu;
-    HMENU m_hActionMenu;
     int m_CmdShow;
     BOOL m_RefreshPending;
 
index 7b5c024..4982e67 100644 (file)
 
 /* Unicode constants */
 static const WCHAR BackSlash[] = {'\\',0};
-static const WCHAR Class[]  = {'C','l','a','s','s',0};
 static const WCHAR ClassGUID[]  = {'C','l','a','s','s','G','U','I','D',0};
 static const WCHAR ClassInstall32[]  = {'C','l','a','s','s','I','n','s','t','a','l','l','3','2',0};
 static const WCHAR DotServices[]  = {'.','S','e','r','v','i','c','e','s',0};
 static const WCHAR InterfaceInstall32[]  = {'I','n','t','e','r','f','a','c','e','I','n','s','t','a','l','l','3','2',0};
 static const WCHAR SetupapiDll[]  = {'s','e','t','u','p','a','p','i','.','d','l','l',0};
-static const WCHAR Version[]  = {'V','e','r','s','i','o','n',0};
 
 typedef BOOL
 (WINAPI* PROPERTY_PAGE_PROVIDER) (
index 052906d..a2e19ac 100644 (file)
@@ -277,7 +277,10 @@ static VGA_REGISTERS VideoMode_320x200_256color =
  * etc...) A choice should be made at some point.
  */
 
+#if 0
+
 // This is the same as EgaPalette__HiRes
+// Unused at the moment
 static CONST COLORREF TextPalette[VGA_MAX_COLORS / 4] =
 {
     RGB(0x00, 0x00, 0x00), RGB(0x00, 0x00, 0xAA), RGB(0x00, 0xAA, 0x00), RGB(0x00, 0xAA, 0xAA),
@@ -346,8 +349,6 @@ static CONST COLORREF mtext_s3_palette[64] =
     RGB(0xFF, 0xFF, 0xFF), RGB(0xFF, 0xFF, 0xFF), RGB(0xFF, 0xFF, 0xFF), RGB(0xFF, 0xFF, 0xFF)
 };
 
-#if 0
-
 // Unused at the moment
 static CONST COLORREF CgaPalette[16] =
 {
index 00c8979..c5f3002 100644 (file)
@@ -31,6 +31,8 @@
 
 /* PRIVATE VARIABLES **********************************************************/
 
+#if 0
+/* FIXME: Are we going to use this somewhere? */
 static BYTE Yield[] =
 {
     0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90,
@@ -38,6 +40,7 @@ static BYTE Yield[] =
     BOP(BOP_UNSIMULATE),                        // UnSimulate16 BOP
 };
 C_ASSERT(sizeof(Yield) == 16 * sizeof(BYTE));
+#endif
 
 /* PUBLIC FUNCTIONS ***********************************************************/
 
index eb2fc77..5fb58cf 100644 (file)
@@ -48,7 +48,6 @@ extern const MATRIX gmxWorldToPageDefault;
 #define gmxWorldToDeviceDefault gmxWorldToPageDefault
 
 FT_Library  library;
-static const WORD gusEnglishUS = MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US);
 
 /* special font names */
 static const UNICODE_STRING MarlettW = RTL_CONSTANT_STRING(L"Marlett");