mirror of
https://github.com/reactos/reactos.git
synced 2024-12-25 16:50:57 +00:00
Make regexpl build again. (I know I really should fix this to be unicode)
BTW this is a kick ass tool that does work over the network. I just tested it editing the registry on the wifes box. svn path=/trunk/; revision=11268
This commit is contained in:
parent
ee08f03b99
commit
e9542274b4
6 changed files with 21 additions and 19 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: ShellCommandDACL.cpp,v 1.4 2001/01/13 23:55:36 narnaoud Exp $
|
||||
/* $Id: ShellCommandDACL.cpp,v 1.5 2004/10/11 01:24:22 sedwards Exp $
|
||||
*
|
||||
* regexpl - Console Registry Explorer
|
||||
*
|
||||
|
@ -172,7 +172,7 @@ CheckDACLArgument:
|
|||
DWORD nACECount = sd.GetDACLEntriesCount();
|
||||
rConsole.Write(_T("DACL has "));
|
||||
TCHAR Buffer[256];
|
||||
rConsole.Write(_itot(nACECount,Buffer,10));
|
||||
rConsole.Write(_itoa(nACECount,Buffer,10));
|
||||
rConsole.Write(_T(" ACEs.\n"));
|
||||
if (nACECount == 0)
|
||||
{
|
||||
|
@ -184,7 +184,7 @@ CheckDACLArgument:
|
|||
{
|
||||
rConsole.Write(_T("\n"));
|
||||
rConsole.Write(_T("\tACE Index: "));
|
||||
rConsole.Write(_itot(i,Buffer,10));
|
||||
rConsole.Write(_itoa(i,Buffer,10));
|
||||
rConsole.Write(_T("\n"));
|
||||
rConsole.Write(_T("\tACE Type: "));
|
||||
switch (sd.GetDACLEntry(i))
|
||||
|
@ -217,7 +217,7 @@ CheckDACLArgument:
|
|||
ASSERT(dwError != ERROR_INSUFFICIENT_BUFFER);
|
||||
rConsole.Write(_T("Error "));
|
||||
TCHAR Buffer[256];
|
||||
rConsole.Write(_itot(dwError,Buffer,10));
|
||||
rConsole.Write(_itoa(dwError,Buffer,10));
|
||||
rConsole.Write(_T("\nGetting string representation of SID\n"));
|
||||
}
|
||||
else
|
||||
|
@ -238,7 +238,7 @@ CheckDACLArgument:
|
|||
{
|
||||
rConsole.Write(_T("Error "));
|
||||
TCHAR Buffer[256];
|
||||
rConsole.Write(_itot(GetLastError(),Buffer,10));
|
||||
rConsole.Write(_itoa(GetLastError(),Buffer,10));
|
||||
rConsole.Write(_T("\n"));
|
||||
}
|
||||
else
|
||||
|
@ -358,7 +358,7 @@ AbortDumpDACL:
|
|||
{
|
||||
rConsole.Write(_T("Error "));
|
||||
TCHAR Buffer[256];
|
||||
rConsole.Write(_itot(dwError,Buffer,10));
|
||||
rConsole.Write(_itoa(dwError,Buffer,10));
|
||||
rConsole.Write(_T("\n"));
|
||||
if (pchName) delete [] pchName;
|
||||
if (pchDomainName) delete [] pchDomainName;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: ShellCommandDir.cpp,v 1.4 2001/01/13 23:55:37 narnaoud Exp $
|
||||
/* $Id: ShellCommandDir.cpp,v 1.5 2004/10/11 01:24:22 sedwards Exp $
|
||||
*
|
||||
* regexpl - Console Registry Explorer
|
||||
*
|
||||
|
@ -269,7 +269,7 @@ CheckDirArgument:
|
|||
{
|
||||
rConsole.Write(_T("Error "));
|
||||
TCHAR Buffer[256];
|
||||
rConsole.Write(_itot(nError,Buffer,10));
|
||||
rConsole.Write(_itoa(nError,Buffer,10));
|
||||
rConsole.Write(_T("\n"));
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: ShellCommandOwner.cpp,v 1.4 2001/01/13 23:55:37 narnaoud Exp $
|
||||
/* $Id: ShellCommandOwner.cpp,v 1.5 2004/10/11 01:24:22 sedwards Exp $
|
||||
*
|
||||
* regexpl - Console Registry Explorer
|
||||
*
|
||||
|
@ -176,7 +176,7 @@ CheckOwnerArgument:
|
|||
ASSERT(dwError != ERROR_INSUFFICIENT_BUFFER);
|
||||
rConsole.Write(_T("Error "));
|
||||
TCHAR Buffer[256];
|
||||
rConsole.Write(_itot(dwError,Buffer,10));
|
||||
rConsole.Write(_itoa(dwError,Buffer,10));
|
||||
rConsole.Write(_T("\nGetting string representation of SID\n"));
|
||||
}
|
||||
else
|
||||
|
@ -222,7 +222,7 @@ CheckOwnerArgument:
|
|||
{
|
||||
rConsole.Write(_T("Error "));
|
||||
TCHAR Buffer[256];
|
||||
rConsole.Write(_itot(dwError,Buffer,10));
|
||||
rConsole.Write(_itoa(dwError,Buffer,10));
|
||||
rConsole.Write(_T("\n"));
|
||||
if (pchName) delete [] pchName;
|
||||
if (pchDomainName) delete [] pchDomainName;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: ShellCommandSACL.cpp,v 1.4 2001/01/13 23:55:37 narnaoud Exp $
|
||||
/* $Id: ShellCommandSACL.cpp,v 1.5 2004/10/11 01:24:22 sedwards Exp $
|
||||
*
|
||||
* regexpl - Console Registry Explorer
|
||||
*
|
||||
|
@ -255,7 +255,7 @@ CheckSACLArgument:
|
|||
nACECount = sd.GetSACLEntriesCount();
|
||||
rConsole.Write(_T("SACL has "));
|
||||
TCHAR Buffer[256];
|
||||
rConsole.Write(_itot(nACECount,Buffer,10));
|
||||
rConsole.Write(_itoa(nACECount,Buffer,10));
|
||||
rConsole.Write(_T(" ACEs.\n"));
|
||||
ASSERT(sizeof(ACL) == 8);
|
||||
rConsole.Write(_T("\n"));
|
||||
|
@ -263,7 +263,7 @@ CheckSACLArgument:
|
|||
{
|
||||
rConsole.Write(_T("\n"));
|
||||
rConsole.Write(_T("\tACE Index: "));
|
||||
rConsole.Write(_itot(i,Buffer,10));
|
||||
rConsole.Write(_itoa(i,Buffer,10));
|
||||
rConsole.Write(_T("\n"));
|
||||
rConsole.Write(_T("\tAudit Type: "));
|
||||
BOOL blnFailed, blnSuccessful;
|
||||
|
@ -306,7 +306,7 @@ CheckSACLArgument:
|
|||
ASSERT(dwError != ERROR_INSUFFICIENT_BUFFER);
|
||||
rConsole.Write(_T("Error "));
|
||||
TCHAR Buffer[256];
|
||||
rConsole.Write(_itot(dwError,Buffer,10));
|
||||
rConsole.Write(_itoa(dwError,Buffer,10));
|
||||
rConsole.Write(_T("\nGetting string representation of SID\n"));
|
||||
}
|
||||
else
|
||||
|
@ -342,7 +342,7 @@ CheckSACLArgument:
|
|||
{
|
||||
rConsole.Write(_T("Error "));
|
||||
TCHAR Buffer[256];
|
||||
rConsole.Write(_itot(GetLastError(),Buffer,10));
|
||||
rConsole.Write(_itoa(GetLastError(),Buffer,10));
|
||||
rConsole.Write(_T("\n"));
|
||||
}
|
||||
else
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: ShellCommandValue.cpp,v 1.4 2001/01/13 23:55:37 narnaoud Exp $
|
||||
/* $Id: ShellCommandValue.cpp,v 1.5 2004/10/11 01:24:22 sedwards Exp $
|
||||
*
|
||||
* regexpl - Console Registry Explorer
|
||||
*
|
||||
|
@ -399,7 +399,7 @@ CheckValueArgument:
|
|||
{
|
||||
rConsole.Write(_T("Error "));
|
||||
TCHAR Buffer[256];
|
||||
rConsole.Write(_itot(nError,Buffer,10));
|
||||
rConsole.Write(_itoa(nError,Buffer,10));
|
||||
rConsole.Write(_T("\n"));
|
||||
if (nError == ERROR_FILE_NOT_FOUND)
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: ph.h,v 1.4 2002/09/09 22:48:03 sedwards Exp $ */
|
||||
/* $Id: ph.h,v 1.5 2004/10/11 01:24:22 sedwards Exp $ */
|
||||
|
||||
// ph.h : include file for standard system include files,
|
||||
// or project specific include files that are used frequently, but
|
||||
|
@ -24,6 +24,8 @@
|
|||
#include <stdlib.h>
|
||||
#include <wchar.h>
|
||||
#include <assert.h>
|
||||
#include <ctype.h>
|
||||
#include <tchar.h>
|
||||
#define ASSERT assert
|
||||
#ifdef _DEBUG
|
||||
#define VERIFY ASSERT
|
||||
|
|
Loading…
Reference in a new issue