Skip to content Skip to sidebar Skip to footer
Showing posts with the label Winapi

How To Access The Peb Of Another Process With Python Ctypes

Until now, I have this piece of code (I know its ugly, but this isn't the point right now) I ca… Read more How To Access The Peb Of Another Process With Python Ctypes

Windows Named Pipes In Practice

With Windows named pipes, what is the proper way to use the CreateNamedPipe, ConnectNamedPipe, Disc… Read more Windows Named Pipes In Practice

Elevated Diskpart Output

I need to run diskpart in my python3 script under Windows 7 and capture its output. I run the scrip… Read more Elevated Diskpart Output

Python Win32service - Getting Triggered Startup Information For Service

win32 API QueryServiceConfig2 function supports the SERVICE_CONFIG_TRIGGER_INFO structure to get ev… Read more Python Win32service - Getting Triggered Startup Information For Service

Windows 7/vista Process Management - How To Start An External Program After Long Idle Time?

This is a follow-up to that question. Basically, i have a python script which should start another … Read more Windows 7/vista Process Management - How To Start An External Program After Long Idle Time?

Python Ctypes Keybd_event Simulate Ctrl+alt+delete

I'm trying to simulate ctrl+alt+del with keybd_event but it doesn't do anything, stuff like… Read more Python Ctypes Keybd_event Simulate Ctrl+alt+delete

Python Ctypes: Setwindowshookex Callback Function Never Called

I'm trying to write a program in Python that is aware of when alert boxes/dialogues are shown. … Read more Python Ctypes: Setwindowshookex Callback Function Never Called

Send Keys To A Inactive Window In Python

I'm trying to press a key in another process from a Python program. I've tried the win32 ap… Read more Send Keys To A Inactive Window In Python