Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenfltsafe.h
Go to the documentation of this file.
00001 #if (NTDDI_VERSION >= NTDDI_WINXP) 00002 struct FLOATSAFE { 00003 KFLOATING_SAVE FloatSave; 00004 NTSTATUS ntStatus; 00005 FLOATSAFE::FLOATSAFE(void) { 00006 ntStatus = KeSaveFloatingPointState(&FloatSave); 00007 } 00008 FLOATSAFE::~FLOATSAFE(void) { 00009 if (NT_SUCCESS(ntStatus)) { 00010 KeRestoreFloatingPointState(&FloatSave); 00011 } 00012 } 00013 }; 00014 #endif Generated on Sat May 26 2012 04:28:36 for ReactOS by
1.7.6.1
|