Author: greatlrd Date: Wed Jun 27 23:41:39 2007 New Revision: 27293
URL: http://svn.reactos.org/svn/reactos?rev=27293&view=rev Log: start cleaning up ddk header file I am aming for ddk2003sp1 3790.1830 compatible
Added: branches/ddk2003/include/ddk2003/ branches/ddk2003/include/ddk2003/drivinit.h branches/ddk2003/include/ddk2003/dxapi.h branches/ddk2003/include/ddk2003/fltsafe.h branches/ddk2003/include/ddk2003/objerror.h branches/ddk2003/include/ddk2003/wdmwarn4.h Removed: branches/ddk2003/include/ddk/drivinit.h branches/ddk2003/include/ddk/dxapi.h
Removed: branches/ddk2003/include/ddk/drivinit.h URL: http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk/drivinit.h?r... ============================================================================== --- branches/ddk2003/include/ddk/drivinit.h (original) +++ branches/ddk2003/include/ddk/drivinit.h (removed) @@ -1,4 +1,0 @@ - -/* This are empty and is left for be compatible with building some older windows nt4/2000/2003/XP drivers */ - -
Removed: branches/ddk2003/include/ddk/dxapi.h URL: http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk/dxapi.h?rev=... ============================================================================== --- branches/ddk2003/include/ddk/dxapi.h (original) +++ branches/ddk2003/include/ddk/dxapi.h (removed) @@ -1,4 +1,0 @@ - -ULONG DxApiGetVersion(); -ULONG DxApi( IN ULONG dwFunctionNum,IN PVOID lpvInBuffer, IN ULONG cbInBuffer, - IN PVOID lpvOutBuffer, IN ULONG cbOutBuffer);
Added: branches/ddk2003/include/ddk2003/drivinit.h URL: http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/drivinit... ============================================================================== --- branches/ddk2003/include/ddk2003/drivinit.h (added) +++ branches/ddk2003/include/ddk2003/drivinit.h Wed Jun 27 23:41:39 2007 @@ -1,0 +1,4 @@ + +// ms move everthing to wingdi.h + +
Added: branches/ddk2003/include/ddk2003/dxapi.h URL: http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/dxapi.h?... ============================================================================== --- branches/ddk2003/include/ddk2003/dxapi.h (added) +++ branches/ddk2003/include/ddk2003/dxapi.h Wed Jun 27 23:41:39 2007 @@ -1,0 +1,13 @@ + + +ULONG +DxApi( + IN ULONG dwFunctionNum, + IN PVOID lpvInBuffer, + IN ULONG cbInBuffer, + IN PVOID lpvOutBuffer, + IN ULONG cbOutBuffer); + +ULONG +DxApiGetVersion(); +
Added: branches/ddk2003/include/ddk2003/fltsafe.h URL: http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/fltsafe.... ============================================================================== --- branches/ddk2003/include/ddk2003/fltsafe.h (added) +++ branches/ddk2003/include/ddk2003/fltsafe.h Wed Jun 27 23:41:39 2007 @@ -1,0 +1,18 @@ + +struct FLOATSAFE +{ + KFLOATING_SAVE FloatSave; + NTSTATUS ntStatus; + + FLOATSAFE::FLOATSAFE(void) + { + ntStatus = KeSaveFloatingPointState(&FloatSave); + } + FLOATSAFE::~FLOATSAFE(void) + { + if (NT_SUCCESS(ntStatus)) + { + KeRestoreFloatingPointState(&FloatSave); + } + } +};
Added: branches/ddk2003/include/ddk2003/objerror.h URL: http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/objerror... ============================================================================== --- branches/ddk2003/include/ddk2003/objerror.h (added) +++ branches/ddk2003/include/ddk2003/objerror.h Wed Jun 27 23:41:39 2007 @@ -1,0 +1,7 @@ + +#if _MSC_VER > 1000 +#pragma once +#endif +#include <winerror.h> + +
Added: branches/ddk2003/include/ddk2003/wdmwarn4.h URL: http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/wdmwarn4... ============================================================================== --- branches/ddk2003/include/ddk2003/wdmwarn4.h (added) +++ branches/ddk2003/include/ddk2003/wdmwarn4.h Wed Jun 27 23:41:39 2007 @@ -1,0 +1,3 @@ + +#pragma warning(disable:4214 4201 4115 4200 4100 4514 4057 4127) +