Skip to content

Instantly share code, notes, and snippets.

View mohanex's full-sized avatar
:shipit:
Focusing

Mohamed Afassi mohanex

:shipit:
Focusing
View GitHub Profile
@Pagliacii
Pagliacii / win_api_test.py
Last active January 9, 2025 10:49
Use ctypes to call WIndows API
#!/usr/bin/env python3
# _*_ coding:utf-8 _*_
import ctypes
import os
from ctypes import windll, wintypes
from typing import Optional
NULL: int = 0