mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 16:36:11 +00:00
adding two new ddk header, the info are base/got from windows xp ddk kit version 3790.1830
svn path=/trunk/; revision=24813
This commit is contained in:
parent
2d36c9b726
commit
2700e7a12c
4
reactos/include/ddk/dxapi.h
Normal file
4
reactos/include/ddk/dxapi.h
Normal file
|
@ -0,0 +1,4 @@
|
|||
|
||||
ULONG DxApiGetVersion();
|
||||
ULONG DxApi( IN ULONG dwFunctionNum,IN PVOID lpvInBuffer, IN ULONG cbInBuffer,
|
||||
IN PVOID lpvOutBuffer, IN ULONG cbOutBuffer);
|
19
reactos/include/ddk/fltsafe.h
Normal file
19
reactos/include/ddk/fltsafe.h
Normal file
|
@ -0,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);
|
||||
}
|
||||
}
|
||||
};
|
Loading…
Reference in a new issue