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

Win32file.readdirectorychangesw Doesn't Find All Moved Files

Good morning, I've come across a peculiar problem with a program I'm creating in Python. It… Read more Win32file.readdirectorychangesw Doesn't Find All Moved Files

Why Does Replacefile Fail With Error_sharing_violation?

While the documentation is vague, based on this question and comments and this answer, I expected t… Read more Why Does Replacefile Fail With Error_sharing_violation?

Reading Windows Event Log In Python Using Pywin32 (win32evtlog Module)

I would like to read Windows' event log. I am not sure if it's the best way but I would lik… Read more Reading Windows Event Log In Python Using Pywin32 (win32evtlog Module)

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

How Does Createprocess Locate The Executable?

According to the docs, CreateProcess can be passed an executable name as first argument, or a comma… Read more How Does Createprocess Locate The Executable?

Modifying Microsoft Outlook Contacts From Python

I have written a few Python tools in the past to extract data from my Outlook contacts. Now, I am t… Read more Modifying Microsoft Outlook Contacts From Python