Author: akhaldi
Date: Tue Aug 10 11:27:27 2010
New Revision: 48510
URL: http://svn.reactos.org/svn/reactos?rev=48510&view=rev
Log:
[PSDK]
- Add some missing headers' headers.
Modified:
trunk/reactos/include/psdk/d3dnthal.h
trunk/reactos/include/psdk/ddrawint.h
trunk/reactos/include/psdk/dmksctrl.h
trunk/reactos/include/psdk/ntdd1394.h
trunk/reactos/include/psdk/ntddbeep.h
trunk/reactos/include/psdk/ntddft.h
trunk/reactos/include/psdk/ntddtdi.h
trunk/reactos/include/psdk/unknown.h
Modified: trunk/reactos/include/psdk/d3dnthal.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/d3dnthal.h?re…
==============================================================================
--- trunk/reactos/include/psdk/d3dnthal.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/d3dnthal.h [iso-8859-1] Tue Aug 10 11:27:27 2010
@@ -1,5 +1,21 @@
-/*
+/*
+ * d3dnthal.h
+ *
* Direct3D NT driver interface
+ *
+ * Contributors:
+ * Created by Ge van Geldorp
+ *
+ * THIS SOFTWARE IS NOT COPYRIGHTED
+ *
+ * This source code is offered for use in the public domain. You may
+ * use, modify or distribute it freely.
+ *
+ * This code is distributed in the hope that it will be useful but
+ * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
+ * DISCLAIMED. This includes but is not limited to warranties of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
*/
#ifndef __DDK_D3DNTHAL_H
Modified: trunk/reactos/include/psdk/ddrawint.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/ddrawint.h?re…
==============================================================================
--- trunk/reactos/include/psdk/ddrawint.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/ddrawint.h [iso-8859-1] Tue Aug 10 11:27:27 2010
@@ -1,5 +1,21 @@
/*
+ * ddrawint.h
+ *
* DirectDraw NT driver interface
+ *
+ * Contributors:
+ * Created by Ge van Geldorp
+ *
+ * THIS SOFTWARE IS NOT COPYRIGHTED
+ *
+ * This source code is offered for use in the public domain. You may
+ * use, modify or distribute it freely.
+ *
+ * This code is distributed in the hope that it will be useful but
+ * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
+ * DISCLAIMED. This includes but is not limited to warranties of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
*/
#ifndef __DD_INCLUDED__
Modified: trunk/reactos/include/psdk/dmksctrl.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/dmksctrl.h?re…
==============================================================================
--- trunk/reactos/include/psdk/dmksctrl.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/dmksctrl.h [iso-8859-1] Tue Aug 10 11:27:27 2010
@@ -1,3 +1,21 @@
+/*
+ * dmksctrl.h
+ *
+ * Contributors:
+ * Created by Johannes Anderwald
+ *
+ * THIS SOFTWARE IS NOT COPYRIGHTED
+ *
+ * This source code is offered for use in the public domain. You may
+ * use, modify or distribute it freely.
+ *
+ * This code is distributed in the hope that it will be useful but
+ * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
+ * DISCLAIMED. This includes but is not limited to warranties of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ */
+
#ifndef _IKsControl_
#define _IKsControl_
@@ -38,6 +56,3 @@
};
#endif
-
-
-
Modified: trunk/reactos/include/psdk/ntdd1394.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/ntdd1394.h?re…
==============================================================================
--- trunk/reactos/include/psdk/ntdd1394.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/ntdd1394.h [iso-8859-1] Tue Aug 10 11:27:27 2010
@@ -1,3 +1,20 @@
+/*
+ * ntdd1394.h
+ *
+ * Contributors:
+ * Created by Magnus Olsen
+ *
+ * THIS SOFTWARE IS NOT COPYRIGHTED
+ *
+ * This source code is offered for use in the public domain. You may
+ * use, modify or distribute it freely.
+ *
+ * This code is distributed in the hope that it will be useful but
+ * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
+ * DISCLAIMED. This includes but is not limited to warranties of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ */
#ifndef _NTDD1394_H_
#define _NTDD1394_H_
Modified: trunk/reactos/include/psdk/ntddbeep.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/ntddbeep.h?re…
==============================================================================
--- trunk/reactos/include/psdk/ntddbeep.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/ntddbeep.h [iso-8859-1] Tue Aug 10 11:27:27 2010
@@ -1,3 +1,20 @@
+/*
+ * ntddbeep.h
+ *
+ * Contributors:
+ * Created by Casper S. Hornstrup <chorns(a)users.sourceforge.net>
+ *
+ * THIS SOFTWARE IS NOT COPYRIGHTED
+ *
+ * This source code is offered for use in the public domain. You may
+ * use, modify or distribute it freely.
+ *
+ * This code is distributed in the hope that it will be useful but
+ * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
+ * DISCLAIMED. This includes but is not limited to warranties of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ */
#ifndef _NTDDBEEP_
#define _NTDDBEEP_
Modified: trunk/reactos/include/psdk/ntddft.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/ntddft.h?rev=…
==============================================================================
--- trunk/reactos/include/psdk/ntddft.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/ntddft.h [iso-8859-1] Tue Aug 10 11:27:27 2010
@@ -1,3 +1,20 @@
+/*
+ * ntddft.h
+ *
+ * Contributors:
+ * Created by Alex Ionescu
+ *
+ * THIS SOFTWARE IS NOT COPYRIGHTED
+ *
+ * This source code is offered for use in the public domain. You may
+ * use, modify or distribute it freely.
+ *
+ * This code is distributed in the hope that it will be useful but
+ * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
+ * DISCLAIMED. This includes but is not limited to warranties of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ */
#ifndef _NTDDFT_
#define _NTDDFT_
Modified: trunk/reactos/include/psdk/ntddtdi.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/ntddtdi.h?rev…
==============================================================================
--- trunk/reactos/include/psdk/ntddtdi.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/ntddtdi.h [iso-8859-1] Tue Aug 10 11:27:27 2010
@@ -1,3 +1,20 @@
+/*
+ * ntddtdi.h
+ *
+ * Contributors:
+ * Created by Casper S. Hornstrup <chorns(a)users.sourceforge.net>
+ *
+ * THIS SOFTWARE IS NOT COPYRIGHTED
+ *
+ * This source code is offered for use in the public domain. You may
+ * use, modify or distribute it freely.
+ *
+ * This code is distributed in the hope that it will be useful but
+ * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
+ * DISCLAIMED. This includes but is not limited to warranties of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ */
#ifndef _NTDDTDI_
#define _NTDDTDI_
Modified: trunk/reactos/include/psdk/unknown.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/unknown.h?rev…
==============================================================================
--- trunk/reactos/include/psdk/unknown.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/unknown.h [iso-8859-1] Tue Aug 10 11:27:27 2010
@@ -1,3 +1,21 @@
+/*
+ * unknown.h
+ *
+ * Contributors:
+ * Created by Magnus Olsen
+ *
+ * THIS SOFTWARE IS NOT COPYRIGHTED
+ *
+ * This source code is offered for use in the public domain. You may
+ * use, modify or distribute it freely.
+ *
+ * This code is distributed in the hope that it will be useful but
+ * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
+ * DISCLAIMED. This includes but is not limited to warranties of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ */
+
#ifndef __unknwn_h__
#define __unknwn_h__
Author: cgutman
Date: Tue Aug 10 08:52:48 2010
New Revision: 48508
URL: http://svn.reactos.org/svn/reactos?rev=48508&view=rev
Log:
[MSWSOCK]
- Don't release the critical section because we don't own it
- Don't close the socket that we just created
- Fix a typo in SockSetInformation that broke it completely
Modified:
branches/aicom-network-branch/dll/win32/mswsock/msafd/accept.c
branches/aicom-network-branch/dll/win32/mswsock/msafd/proc.c
Modified: branches/aicom-network-branch/dll/win32/mswsock/msafd/accept.c
URL: http://svn.reactos.org/svn/reactos/branches/aicom-network-branch/dll/win32/…
==============================================================================
--- branches/aicom-network-branch/dll/win32/mswsock/msafd/accept.c [iso-8859-1] (original)
+++ branches/aicom-network-branch/dll/win32/mswsock/msafd/accept.c [iso-8859-1] Tue Aug 10 08:52:48 2010
@@ -825,9 +825,6 @@
Socket->SharedData.SizeOfLocalAddress);
AcceptedSocket->SharedData.SizeOfLocalAddress = Socket->SharedData.SizeOfLocalAddress;
- /* We can release the accepted socket's lock now */
- LeaveCriticalSection(&AcceptedSocket->Lock);
-
/* Send IOCTL to Accept */
AcceptData.UseSAN = SockSanEnabled;
Status = NtDeviceIoControlFile(Socket->WshContext.Handle,
@@ -894,8 +891,8 @@
&ErrorCode);
/* Dereference the socket and clear its pointer for error code logic */
- SockDereferenceSocket(Socket);
LeaveCriticalSection(&Socket->Lock);
+ SockDereferenceSocket(Socket);
Socket = NULL;
error:
@@ -919,7 +916,7 @@
if (AcceptedSocket)
{
/* Check if the accepted socket also has a handle */
- if (ErrorCode == NO_ERROR)
+ if (ErrorCode != NO_ERROR)
{
/* Close the socket */
SockCloseSocket(AcceptedSocket);
Modified: branches/aicom-network-branch/dll/win32/mswsock/msafd/proc.c
URL: http://svn.reactos.org/svn/reactos/branches/aicom-network-branch/dll/win32/…
==============================================================================
--- branches/aicom-network-branch/dll/win32/mswsock/msafd/proc.c [iso-8859-1] (original)
+++ branches/aicom-network-branch/dll/win32/mswsock/msafd/proc.c [iso-8859-1] Tue Aug 10 08:52:48 2010
@@ -142,7 +142,7 @@
NULL,
NULL,
&IoStatusBlock,
- IOCTL_AFD_GET_INFO,
+ IOCTL_AFD_SET_INFO,
&AfdInfo,
sizeof(AfdInfo),
NULL,