Accessing windows structures through ctypes.

alex23 wuwei23 at
Thu Jul 2 08:25:38 CEST 2009

On Jul 2, 3:42 pm, Rajat <rajat.dud... at> 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

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

More information about the Python-list mailing list