# dedf/winxp_source architecture

> Architecture diagram of the GitHub repository dedf/winxp_source, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/dedf/winxp_source
- Repository: https://github.com/dedf/winxp_source

## Overview

This is a broad Windows XP source tree, not one end-user application. The supplied README identifies it only as leaked Windows XP (NT 5.1) source; it does not document a repository-wide workflow. The graph therefore summarizes several distinct product areas represented in the tree: Background Intelligent Transfer Service job management, WMI query processing, Windows Installer, and disk partition management. Source excerpts are partial, and many listed modules were not inspected, so only directly evidenced relationships are shown.

Main entry points: [`Source/XPSP1/NT/admin/services/drizzle/newjob/cmanager.cpp`](https://github.com/dedf/winxp_source/blob/master/Source/XPSP1/NT/admin/services/drizzle/newjob/cmanager.cpp) (BITS manager), [`Source/XPSP1/NT/admin/wmi/wbem/winmgmt/coredll/qengine.cpp`](https://github.com/dedf/winxp_source/blob/master/Source/XPSP1/NT/admin/wmi/wbem/winmgmt/coredll/qengine.cpp) (Query engine), [`Source/XPSP1/NT/admin/darwin/src/msiexec/server.cpp`](https://github.com/dedf/winxp_source/blob/master/Source/XPSP1/NT/admin/darwin/src/msiexec/server.cpp) (Installer server), [`Source/XPSP1/NT/admin/services/drizzle/newjob/stdafx.h`](https://github.com/dedf/winxp_source/blob/master/Source/XPSP1/NT/admin/services/drizzle/newjob/stdafx.h) (BITS interfaces)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_transfer["Transfer jobs"]
  node_bits["BITS manager<br/>[cmanager.cpp]"]
  node_bits_headers["BITS interfaces<br/>[stdafx.h]"]
end

subgraph group_wmi["WMI queries"]
  node_wmi_query["Query engine<br/>[qengine.cpp]"]
  node_wmi_view["View filtering"]
  node_wmi_snmp["SNMP storage<br/>[storage.cpp]"]
  node_wmi_mo["MO generation<br/>[moengine.cpp]"]
  node_wmi_cli_parse["WMIC parser<br/>[parserengine.cpp]"]
  node_wmi_cli_exec["WMIC execution<br/>[execengine.cpp]"]
end

subgraph group_installer["Windows Installer"]
  node_installer_engine["Installer engine<br/>[_engine.h]"]
  node_installer_api["Installer contracts<br/>[engine.h]"]
  node_installer_server["Installer server<br/>[server.cpp]"]
end

subgraph group_disk["Disk management"]
  node_partition_engine["Partition engine<br/>[fdengine.c]"]
end

node_task_query["Task query<br/>[querytasks.cpp]"]

node_bits -->|"includes interfaces"| node_bits_headers
node_wmi_query -.->|"uses query rules"| node_wmi_view
node_installer_server -.->|"dispatches installs"| node_installer_engine

click node_bits "https://github.com/dedf/winxp_source/blob/master/Source/XPSP1/NT/admin/services/drizzle/newjob/cmanager.cpp"
click node_bits_headers "https://github.com/dedf/winxp_source/blob/master/Source/XPSP1/NT/admin/services/drizzle/newjob/stdafx.h"
click node_wmi_query "https://github.com/dedf/winxp_source/blob/master/Source/XPSP1/NT/admin/wmi/wbem/winmgmt/coredll/qengine.cpp"
click node_wmi_view "https://github.com/dedf/winxp_source/blob/master/Source/XPSP1/NT/admin/wmi/wbem/providers/viewprovider/vp_core_qengine.cpp"
click node_wmi_snmp "https://github.com/dedf/winxp_source/blob/master/Source/XPSP1/NT/admin/wmi/wbem/providers/snmpprovider/provider/instclas/storage.cpp"
click node_wmi_mo "https://github.com/dedf/winxp_source/blob/master/Source/XPSP1/NT/admin/wmi/wbem/sdk/moengine/moengine.cpp"
click node_wmi_cli_parse "https://github.com/dedf/winxp_source/blob/master/Source/XPSP1/NT/admin/wmi/wbem/tools/wmic/parserengine.cpp"
click node_wmi_cli_exec "https://github.com/dedf/winxp_source/blob/master/Source/XPSP1/NT/admin/wmi/wbem/tools/wmic/execengine.cpp"
click node_installer_engine "https://github.com/dedf/winxp_source/blob/master/Source/XPSP1/NT/admin/darwin/src/engine/_engine.h"
click node_installer_api "https://github.com/dedf/winxp_source/blob/master/Source/XPSP1/NT/admin/darwin/src/inc/engine.h"
click node_installer_server "https://github.com/dedf/winxp_source/blob/master/Source/XPSP1/NT/admin/darwin/src/msiexec/server.cpp"
click node_partition_engine "https://github.com/dedf/winxp_source/blob/master/Source/XPSP1/NT/base/fs/utils/fdisk/fdengine.c"
click node_task_query "https://github.com/dedf/winxp_source/blob/master/Source/XPSP1/NT/admin/cmdline/scheduledtasks/querytasks.cpp"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_bits,node_bits_headers toneBlue
class node_wmi_query,node_wmi_view,node_wmi_snmp,node_wmi_mo,node_wmi_cli_parse,node_wmi_cli_exec toneAmber
class node_installer_engine,node_installer_api,node_installer_server toneMint
class node_partition_engine,node_task_query toneRose
```

## Components

### Transfer jobs

- [BITS manager](https://github.com/dedf/winxp_source/blob/master/Source/XPSP1/NT/admin/services/drizzle/newjob/cmanager.cpp): `Source/XPSP1/NT/admin/services/drizzle/newjob/cmanager.cpp`
- [BITS interfaces](https://github.com/dedf/winxp_source/blob/master/Source/XPSP1/NT/admin/services/drizzle/newjob/stdafx.h): `Source/XPSP1/NT/admin/services/drizzle/newjob/stdafx.h`

### WMI queries

- [Query engine](https://github.com/dedf/winxp_source/blob/master/Source/XPSP1/NT/admin/wmi/wbem/winmgmt/coredll/qengine.cpp): `Source/XPSP1/NT/admin/wmi/wbem/winmgmt/coredll/qengine.cpp`
- [View filtering](https://github.com/dedf/winxp_source/blob/master/Source/XPSP1/NT/admin/wmi/wbem/providers/viewprovider/vp_core_qengine.cpp): `Source/XPSP1/NT/admin/wmi/wbem/providers/viewprovider/vp_core_qengine.cpp`
- [SNMP storage](https://github.com/dedf/winxp_source/blob/master/Source/XPSP1/NT/admin/wmi/wbem/providers/snmpprovider/provider/instclas/storage.cpp): `Source/XPSP1/NT/admin/wmi/wbem/providers/snmpprovider/provider/instclas/storage.cpp`
- [MO generation](https://github.com/dedf/winxp_source/blob/master/Source/XPSP1/NT/admin/wmi/wbem/sdk/moengine/moengine.cpp): `Source/XPSP1/NT/admin/wmi/wbem/sdk/moengine/moengine.cpp`
- [WMIC parser](https://github.com/dedf/winxp_source/blob/master/Source/XPSP1/NT/admin/wmi/wbem/tools/wmic/parserengine.cpp): `Source/XPSP1/NT/admin/wmi/wbem/tools/wmic/parserengine.cpp`
- [WMIC execution](https://github.com/dedf/winxp_source/blob/master/Source/XPSP1/NT/admin/wmi/wbem/tools/wmic/execengine.cpp): `Source/XPSP1/NT/admin/wmi/wbem/tools/wmic/execengine.cpp`

### Windows Installer

- [Installer engine](https://github.com/dedf/winxp_source/blob/master/Source/XPSP1/NT/admin/darwin/src/engine/_engine.h): `Source/XPSP1/NT/admin/darwin/src/engine/_engine.h`
- [Installer contracts](https://github.com/dedf/winxp_source/blob/master/Source/XPSP1/NT/admin/darwin/src/inc/engine.h): `Source/XPSP1/NT/admin/darwin/src/inc/engine.h`
- [Installer server](https://github.com/dedf/winxp_source/blob/master/Source/XPSP1/NT/admin/darwin/src/msiexec/server.cpp): `Source/XPSP1/NT/admin/darwin/src/msiexec/server.cpp`

### Disk management

- [Partition engine](https://github.com/dedf/winxp_source/blob/master/Source/XPSP1/NT/base/fs/utils/fdisk/fdengine.c): `Source/XPSP1/NT/base/fs/utils/fdisk/fdengine.c`

### Other components

- [Task query](https://github.com/dedf/winxp_source/blob/master/Source/XPSP1/NT/admin/cmdline/scheduledtasks/querytasks.cpp): `Source/XPSP1/NT/admin/cmdline/scheduledtasks/querytasks.cpp`

## Connections

- BITS manager → BITS interfaces: includes interfaces (evidence: `Source/XPSP1/NT/admin/services/drizzle/newjob/stdafx.h`)
- Query engine → View filtering: uses query rules
- Installer server → Installer engine: dispatches installs
