[ros-diffs] [sginsberg] 38906: - Fix regexpl build

sginsberg at svn.reactos.org sginsberg at svn.reactos.org
Sun Jan 18 19:40:03 CET 2009


Author: sginsberg
Date: Sun Jan 18 12:40:02 2009
New Revision: 38906

URL: http://svn.reactos.org/svn/reactos?rev=38906&view=rev
Log:
- Fix regexpl build

Modified:
    trunk/rosapps/applications/sysutils/regexpl/ShellCommandDACL.cpp
    trunk/rosapps/applications/sysutils/regexpl/ShellCommandOwner.cpp
    trunk/rosapps/applications/sysutils/regexpl/ShellCommandSACL.cpp

Modified: trunk/rosapps/applications/sysutils/regexpl/ShellCommandDACL.cpp
URL: http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/sysutils/regexpl/ShellCommandDACL.cpp?rev=38906&r1=38905&r2=38906&view=diff
==============================================================================
--- trunk/rosapps/applications/sysutils/regexpl/ShellCommandDACL.cpp [iso-8859-1] (original)
+++ trunk/rosapps/applications/sysutils/regexpl/ShellCommandDACL.cpp [iso-8859-1] Sun Jan 18 12:40:02 2009
@@ -139,7 +139,7 @@
   rConsole.Write(_T("\\"));
   rConsole.Write(Key.GetKeyName());
   rConsole.Write(_T("\n"));
-  PSECURITY_DESCRIPTOR pSecurityDescriptor = NULL;
+  PISECURITY_DESCRIPTOR pSecurityDescriptor = NULL;
   TCHAR *pchName = NULL, *pchDomainName = NULL;
   try
   {
@@ -147,7 +147,7 @@
     if (nError != ERROR_SUCCESS)
       throw nError;
 
-    pSecurityDescriptor = (PSECURITY_DESCRIPTOR) new unsigned char [dwSecurityDescriptorLength];
+    pSecurityDescriptor = (PISECURITY_DESCRIPTOR) new unsigned char [dwSecurityDescriptorLength];
     DWORD dwSecurityDescriptorLength1 = dwSecurityDescriptorLength;
     nError = Key.GetSecurityDescriptor((SECURITY_INFORMATION)DACL_SECURITY_INFORMATION,pSecurityDescriptor,&dwSecurityDescriptorLength1);
     if (nError != ERROR_SUCCESS)

Modified: trunk/rosapps/applications/sysutils/regexpl/ShellCommandOwner.cpp
URL: http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/sysutils/regexpl/ShellCommandOwner.cpp?rev=38906&r1=38905&r2=38906&view=diff
==============================================================================
--- trunk/rosapps/applications/sysutils/regexpl/ShellCommandOwner.cpp [iso-8859-1] (original)
+++ trunk/rosapps/applications/sysutils/regexpl/ShellCommandOwner.cpp [iso-8859-1] Sun Jan 18 12:40:02 2009
@@ -132,7 +132,7 @@
     return 0;
   }
 
-  PSECURITY_DESCRIPTOR pSecurityDescriptor = NULL;
+  PISECURITY_DESCRIPTOR pSecurityDescriptor = NULL;
   TCHAR *pchName = NULL, *pchDomainName = NULL;
   try
   {
@@ -144,7 +144,7 @@
     dwError = Key.GetSecurityDescriptorLength(&dwSecurityDescriptorLength);
     if (dwError != ERROR_SUCCESS) throw dwError;
 
-    pSecurityDescriptor = (PSECURITY_DESCRIPTOR) new unsigned char [dwSecurityDescriptorLength];
+    pSecurityDescriptor = (PISECURITY_DESCRIPTOR) new unsigned char [dwSecurityDescriptorLength];
     DWORD dwSecurityDescriptorLength1 = dwSecurityDescriptorLength;
     dwError = Key.GetSecurityDescriptor((SECURITY_INFORMATION)OWNER_SECURITY_INFORMATION,pSecurityDescriptor,&dwSecurityDescriptorLength1);
     if (dwError != ERROR_SUCCESS) throw dwError;

Modified: trunk/rosapps/applications/sysutils/regexpl/ShellCommandSACL.cpp
URL: http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/sysutils/regexpl/ShellCommandSACL.cpp?rev=38906&r1=38905&r2=38906&view=diff
==============================================================================
--- trunk/rosapps/applications/sysutils/regexpl/ShellCommandSACL.cpp [iso-8859-1] (original)
+++ trunk/rosapps/applications/sysutils/regexpl/ShellCommandSACL.cpp [iso-8859-1] Sun Jan 18 12:40:02 2009
@@ -75,7 +75,7 @@
   const TCHAR *pszParameter;
   const TCHAR *pszCommandItself = rArguments.GetNextArgument();
   DWORD dwError;
-  PSECURITY_DESCRIPTOR pSecurityDescriptor = NULL;
+  PISECURITY_DESCRIPTOR pSecurityDescriptor = NULL;
   CSecurityDescriptor sd;
   HANDLE hThreadToken = INVALID_HANDLE_VALUE;
 
@@ -220,7 +220,7 @@
     goto Error;
   }
 
-  pSecurityDescriptor = (PSECURITY_DESCRIPTOR) new unsigned char [dwSecurityDescriptorLength];
+  pSecurityDescriptor = (PISECURITY_DESCRIPTOR) new unsigned char [dwSecurityDescriptorLength];
   if (!pSecurityDescriptor)
   {
       _tcsncpy(pszError_msg,_T("\nOut of memory.\n"),ERROR_MSG_BUFFER_SIZE-1);



More information about the Ros-diffs mailing list