Author: dgorbachev
Date: Mon Aug 24 22:10:03 2009
New Revision: 42927
URL:
http://svn.reactos.org/svn/reactos?rev=42927&view=rev
Log:
... and dxg,
Modified:
trunk/reactos/drivers/directx/dxg/ddhmg.c
trunk/reactos/drivers/directx/dxg/dxg_int.h
trunk/reactos/drivers/directx/dxg/main.c
Modified: trunk/reactos/drivers/directx/dxg/ddhmg.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/directx/dxg/ddhmg.…
==============================================================================
--- trunk/reactos/drivers/directx/dxg/ddhmg.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/directx/dxg/ddhmg.c [iso-8859-1] Mon Aug 24 22:10:03 2009
@@ -1,5 +1,3 @@
-
-
/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@@ -46,7 +44,7 @@
*--*/
BOOL
FASTCALL
-DdHmgCreate()
+DdHmgCreate(VOID)
{
gpentDdHmgr = EngAllocMem(FL_ZERO_MEMORY, gcSizeDdHmgr, TAG_THDD);
ghFreeDdHmgr = 0;
@@ -92,7 +90,7 @@
*--*/
BOOL
FASTCALL
-DdHmgDestroy()
+DdHmgDestroy(VOID)
{
gcMaxDdHmgr = 0;
gcSizeDdHmgr = 0;
@@ -144,7 +142,7 @@
*--*/
PVOID
FASTCALL
-DdHmgLock( HANDLE DdHandle, UCHAR ObjectType, BOOLEAN LockOwned)
+DdHmgLock(HANDLE DdHandle, UCHAR ObjectType, BOOLEAN LockOwned)
{
DWORD Index = (DWORD)DdHandle & 0x1FFFFF;
Modified: trunk/reactos/drivers/directx/dxg/dxg_int.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/directx/dxg/dxg_in…
==============================================================================
--- trunk/reactos/drivers/directx/dxg/dxg_int.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/directx/dxg/dxg_int.h [iso-8859-1] Mon Aug 24 22:10:03 2009
@@ -1,4 +1,3 @@
-
/* DDK/NDK/SDK Headers */
#include <ddk/ntddk.h>
#include <ddk/ntddmou.h>
@@ -76,7 +75,7 @@
/* exported functions */
NTSTATUS NTAPI DriverEntry(IN PVOID Context1, IN PVOID Context2);
NTSTATUS NTAPI GsDriverEntry(IN PVOID Context1, IN PVOID Context2);
-NTSTATUS APIENTRY DxDdCleanupDxGraphics();
+NTSTATUS APIENTRY DxDdCleanupDxGraphics(VOID);
/* Global pointers */
extern ULONG gcSizeDdHmgr;
@@ -99,9 +98,9 @@
/* Internal functions */
BOOL FASTCALL VerifyObjectOwner(PDD_ENTRY pEntry);
-BOOL FASTCALL DdHmgCreate();
-BOOL FASTCALL DdHmgDestroy();
-PVOID FASTCALL DdHmgLock( HANDLE DdHandle, UCHAR ObjectType, BOOLEAN LockOwned);
+BOOL FASTCALL DdHmgCreate(VOID);
+BOOL FASTCALL DdHmgDestroy(VOID);
+PVOID FASTCALL DdHmgLock(HANDLE DdHandle, UCHAR ObjectType, BOOLEAN LockOwned);
/* define stuff */
#define drvDxEngLockDC gpEngFuncs[DXENG_INDEX_DxEngLockDC]
Modified: trunk/reactos/drivers/directx/dxg/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/directx/dxg/main.c…
==============================================================================
--- trunk/reactos/drivers/directx/dxg/main.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/directx/dxg/main.c [iso-8859-1] Mon Aug 24 22:10:03 2009
@@ -1,4 +1,3 @@
-
/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@@ -118,7 +117,7 @@
NTSTATUS
APIENTRY
-DxDdCleanupDxGraphics()
+DxDdCleanupDxGraphics(VOID)
{
DdHmgDestroy();
@@ -137,10 +136,3 @@
return 0;
}
-
-
-
-
-
-
-