From 79780a3bcd3ef354f338ba39feed182cd47b7564 Mon Sep 17 00:00:00 2001 From: Emanuele Aliberti Date: Fri, 16 May 2003 20:33:15 +0000 Subject: [PATCH] KERNEL32.OpenConsoleW interface changed a proposed by KJK:Hyperion. svn path=/trunk/; revision=4693 --- reactos/include/kernel32/kernel32.h | 2 +- reactos/lib/kernel32/misc/console.c | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/reactos/include/kernel32/kernel32.h b/reactos/include/kernel32/kernel32.h index ec6df3c08ba..2b7b4b7ae1a 100644 --- a/reactos/include/kernel32/kernel32.h +++ b/reactos/include/kernel32/kernel32.h @@ -51,7 +51,7 @@ WINBOOL STDCALL CloseConsoleHandle(HANDLE Handle); HANDLE STDCALL OpenConsoleW (LPWSTR wsName, DWORD dwDesiredAccess, - LPSECURITY_ATTRIBUTES lpSecurityAttributes OPTIONAL, + BOOL bInheritHandle, DWORD dwCreationDistribution); diff --git a/reactos/lib/kernel32/misc/console.c b/reactos/lib/kernel32/misc/console.c index 129d94ad8dc..1b0fef76282 100644 --- a/reactos/lib/kernel32/misc/console.c +++ b/reactos/lib/kernel32/misc/console.c @@ -1,4 +1,4 @@ -/* $Id: console.c,v 1.56 2003/05/05 19:58:27 ea Exp $ +/* $Id: console.c,v 1.57 2003/05/16 20:33:15 ea Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -357,10 +357,10 @@ InvalidateConsoleDIBits (DWORD Unknown0, } HANDLE STDCALL -OpenConsoleW (LPWSTR wsName, - DWORD dwDesiredAccess, - LPSECURITY_ATTRIBUTES lpSecurityAttributes OPTIONAL, - DWORD dwCreationDistribution) +OpenConsoleW (LPWSTR wsName, + DWORD dwDesiredAccess, + BOOL bInheritHandle, + DWORD dwCreationDistribution) /* * Undocumented */