On Jul 2, 3:42 pm, Rajat <rajat.dud...@gmail.com> wrote:
> Using ctypes can I access the windows structures like:
>
> PROCESS_INFORMATION_BLOCK, Process Environment Block(PEB),
> PEB_LDR_DATA, etc?

ctypes.wintypes lists all of the Windows structures included with the
module.

You should be able to use ctypes.Structure class to roll your own:

http://docs.python.org/library/ctypes.html#structured-data-types
http://code.activestate.com/recipes/208699/
http://msdn.microsoft.com/en-us/library/ms684855(VS.85).aspx

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to