Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy
UnhandledExceptionFilter (kernel32)
 
.
Summary

C# Signature:

[DllImport("kernel32.dll")]
static extern int UnhandledExceptionFilter([In] ref EXCEPTION_POINTERS
   ExceptionInfo);

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

    struct EXCEPTION_POINTERS
    {
        EXCEPTION_RECORD exceptionRecord;
        CONTEXT contextRecord;

    }

    struct EXCEPTION_RECORD
    {
        UInt32 ExceptionCode;
        UInt32 ExceptionFlags;
        IntPtr pExceptionRecord;
        IntPtr ExceptionAddress;
        UInt32 NumberParameters;
        UIntPtr ExceptionInformation;
    }

    struct CONTEXT
    {
        UInt32 ContextFlags;
        UInt32 Dr0;
        UInt32 Dr1;
        UInt32 Dr2;
        UInt32 Dr3;
        UInt32 Dr6;
        UInt32 Dr7;
        FLOATING_SAVE_AREA FloatSave;
        UInt32 SegGs;
        UInt32 SegFs;
        UInt32 SegEs;
        UInt32 SegDs;
        UInt32 Edi;
        UInt32 Esi;
        UInt32 Ebx;
        UInt32 Edx;
        UInt32 Ecx;
        UInt32 Eax;
        UInt32 Ebp;
        UInt32 Eip;
        UInt32 SegCs;
        UInt32 EFlags;
        UInt32 Esp;
        UInt32 SegSs;
    };

    struct FLOATING_SAVE_AREA
    {
        UInt32 ControlWord;
        UInt32 StatusWord;
        UInt32 TagWord;
        UInt32 ErrorOffset;
        UInt32 ErrorSelector;
        UInt32 DataOffset;
        UInt32 DataSelector;
        byte RegisterArea;
        UInt32 Cr0NpxState;
    };

Documentation

Please edit this page!

Do you have...

  • helpful tips or sample code to share for using this API in managed code?
  • corrections to the existing content?
  • variations of the signature you want to share?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions