Author: greatlrd Date: Thu Nov 23 23:06:14 2006 New Revision: 24813
URL: http://svn.reactos.org/svn/reactos?rev=24813&view=rev Log: adding two new ddk header, the info are base/got from windows xp ddk kit version 3790.1830
Added: trunk/reactos/include/ddk/dxapi.h trunk/reactos/include/ddk/fltsafe.h
Added: trunk/reactos/include/ddk/dxapi.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/dxapi.h?rev=248... ============================================================================== --- trunk/reactos/include/ddk/dxapi.h (added) +++ trunk/reactos/include/ddk/dxapi.h Thu Nov 23 23:06:14 2006 @@ -1,0 +1,4 @@ + +ULONG DxApiGetVersion(); +ULONG DxApi( IN ULONG dwFunctionNum,IN PVOID lpvInBuffer, IN ULONG cbInBuffer, + IN PVOID lpvOutBuffer, IN ULONG cbOutBuffer);
Added: trunk/reactos/include/ddk/fltsafe.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/fltsafe.h?rev=2... ============================================================================== --- trunk/reactos/include/ddk/fltsafe.h (added) +++ trunk/reactos/include/ddk/fltsafe.h Thu Nov 23 23:06:14 2006 @@ -1,0 +1,19 @@ + +struct FLOATSAFE +{ + KFLOATING_SAVE FloatSave; + NTSTATUS ntStatus; + + FLOATSAFE::FLOATSAFE(void) + { + ntStatus = KeSaveFloatingPointState(&FloatSave); + } + + FLOATSAFE::~FLOATSAFE(void) + { + if (NT_SUCCESS(ntStatus)) + { + KeRestoreFloatingPointState(&FloatSave); + } + } +};