mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +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:
@@ -0,0 +1,4 @@
|
||||
|
||||
ULONG DxApiGetVersion();
|
||||
ULONG DxApi( IN ULONG dwFunctionNum,IN PVOID lpvInBuffer, IN ULONG cbInBuffer,
|
||||
IN PVOID lpvOutBuffer, IN ULONG cbOutBuffer);
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user