Author: cwittich
Date: Fri Apr 20 02:55:37 2007
New Revision: 26427
URL:
http://svn.reactos.org/svn/reactos?rev=26427&view=rev
Log:
rename internal CreateToolBar function to avoid naming conflicts
Modified:
trunk/reactos/base/applications/mscutils/devmgmt/mainwnd.c
trunk/reactos/base/applications/mscutils/servman/mainwnd.c
Modified: trunk/reactos/base/applications/mscutils/devmgmt/mainwnd.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mscutils…
==============================================================================
--- trunk/reactos/base/applications/mscutils/devmgmt/mainwnd.c (original)
+++ trunk/reactos/base/applications/mscutils/devmgmt/mainwnd.c Fri Apr 20 02:55:37 2007
@@ -8,6 +8,8 @@
*/
#include "precomp.h"
+
+static BOOL pCreateToolbar(PMAIN_WND_INFO Info);
static const TCHAR szMainWndClass[] = TEXT("DevMgmtWndClass");
@@ -98,7 +100,7 @@
static BOOL
-CreateToolbar(PMAIN_WND_INFO Info)
+pCreateToolbar(PMAIN_WND_INFO Info)
{
INT NumButtons = sizeof(Buttons) / sizeof(Buttons[0]);
@@ -226,7 +228,7 @@
HANDLE DevEnumThread;
HMENU hMenu;
- if (!CreateToolbar(Info))
+ if (!pCreateToolbar(Info))
DisplayString(_T("error creating toolbar"));
if (!CreateTreeView(Info))
Modified: trunk/reactos/base/applications/mscutils/servman/mainwnd.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mscutils…
==============================================================================
--- trunk/reactos/base/applications/mscutils/servman/mainwnd.c (original)
+++ trunk/reactos/base/applications/mscutils/servman/mainwnd.c Fri Apr 20 02:55:37 2007
@@ -253,7 +253,7 @@
static BOOL
-CreateToolbar(PMAIN_WND_INFO Info)
+pCreateToolbar(PMAIN_WND_INFO Info)
{
INT NumButtons = sizeof(Buttons) / sizeof(Buttons[0]);
@@ -488,7 +488,7 @@
static VOID
InitMainWnd(PMAIN_WND_INFO Info)
{
- if (!CreateToolbar(Info))
+ if (!pCreateToolbar(Info))
DisplayString(_T("error creating toolbar"));
if (!CreateListView(Info))