Jump to content

Need help with a WinAPI


Recommended Posts

I Would like to call the following WinApi, but I can't find any information related: MiniDumpWriteDump

Well, I'm not sure if it's the right thing I need, I'd like to dump a process. Is it going to work, or do I have to read the memory manually? I'm not really good at calling DLLs, I just can't really handle them :D If anyone needs, here's the MSDN link:

http://msdn.microsoft.com/en-us/library/windows/desktop/ms680360.aspx

Thanks.

Link to comment
Share on other sites

Wow, that's a lot of structs to do...

Here is a start :

Local Const $MiniDumpNormal = 0x00000000

Local Const $tagMINIDUMP_EXCEPTION_INFORMATION = "DWORD ThreadId; ptr ExceptionPointers; BOOL ClientPointers"
Local Const $tagEXCEPTION_POINTERS = "ptr ExceptionRecord; ptr ContextRecord"

Local $tMINIDUMP_EXCEPTION_INFORMATION = DllStructCreate($tagMINIDUMP_EXCEPTION_INFORMATION)

Local $tEXCEPTION_POINTERS = DllStructCreate($tagEXCEPTION_POINTERS)

DllStructSetData($tMINIDUMP_EXCEPTION_INFORMATION, "ExceptionPointers", DllStructGetPtr($tEXCEPTION_POINTERS))

Please answer so I can remember this thread for tomorrow :)

Edited by FireFox
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...