Open AndyCyberSec opened 1 year ago
Here's how you can get it working:
import winim/[lean, inc/imagehlp]
type
MINIDUMP_IO_CALLBACK = object
Handle: HANDLE
Offset: ULONG64
Buffer: PVOID
BufferBytes: ULONG
PMINIDUMP_IO_CALLBACK = ptr MINIDUMP_IO_CALLBACK
var mci: MINIDUMP_CALLBACK_INPUT
doAssert(sizeof(mci.union1) > sizeof(MINIDUMP_IO_CALLBACK))
echo cast[PMINIDUMP_IO_CALLBACK](addr mci.union1)[]
File: winim\inc\imagehlp.nim
Hello, I have a project where I am using MINIDUMP_CALLBACK_INPUT
Below the union
I am missing some stuff like MINIDUMP_IO_CALLBACK Io; the code below comes from microsoft documentation
How can I add the support to MINIDUMP_IO_CALLBACK?
thanks for your time