This tool converts Microsoft Documentation (MSDN) for Windows Win32 API into a searchable offline documentation package in the Dash/Zeal docset format. It allows developers to access Microsoft's Windows API documentation locally without an internet connection.
- Downloads and processes Windows Win32 API documentation from Microsoft Docs
- Includes documentation for:
- Win32 API functions
- Interfaces
- Structures
- Enums
- Classes
- SDK API reference
- Create
virtualenvwith something likevirtualenv --python <PATH_TO_PYTHON.EXE> venv. - Activate
venvwith& .\venv\Scripts\activate.ps1 - Install dependencies with
pip install -r requirements.txt
# EXAMPLE
# Create `venv`
virtualenv --python 'C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_64\python.exe' venv
# Activate `venv`
& .\venv\Scripts\activate.ps1
# Install dependencies
pip install -r requirements.txtNOTE: This can take a few hours
# NOTE: This can take a few hours
> python .\msdn-to-docset.py create_docset
# CONFIRM
> ls
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a--- 4/12/2025 5:04 PM 504385566 MSDN.tgz
# SET LOCAL VARIABLE TO THE ARCHIVE PATH
$msdnDocsetPath = (Resolve-Path MSDN.tgz)
# CD TO ZEAL DOCSETS DIR
cd C:\Users\<USERNAME>\AppData\Local\Zeal\Zeal\docsets
# UNPACK THE DOCSET
tar xvfz $msdnDocsetPath
@lucasg - all the heavy lifting @jglanz (me) - I just cleaned it up, added error handling and a README, etc