Skip to content

Python bindings for Win32 API generated from win32metadata.

License

Notifications You must be signed in to change notification settings

piaoxue88/py-win32more

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python bindings for Win32 API generated from win32metadata.

https://github.com/microsoft/win32metadata

Usage:

> py generate.py json/Windows.Win32.json.xz

# Generate one file module for specific api set.
> py generate.py -s selector.txt -o win32.py json/Windows.Win32.json.xz

selector.txt format is:

# namespace
Windows.Win32.System.Com
# fullname
Windows.Win32.UI.WindowsAndMessaging.MessageBoxW
# just name
CreateFileW
MB_OK


How to get latest metadata:

# Download Windows.Win32.winmd
> nuget install -ExcludeVersion -Prerelease Microsoft.Windows.SDK.Win32Metadata

# Generate Windows.Win32.json
> git clone https://github.com/ynkdir/winmd-printer.git
> cd winmd-printer
> dotnet run ..\Microsoft.Windows.SDK.Win32Metadata\Windows.Win32.winmd > ..\Windows.Win32.json
> cd ..

About

Python bindings for Win32 API generated from win32metadata.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%