# zizzo81/wmiobject architecture

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

- Interactive diagram: https://gitdiagram.com/zizzo81/wmiobject
- Repository: https://github.com/zizzo81/wmiobject
- Video tour (about a minute): https://gitdiagram.com/zizzo81/wmiobject/video

## Overview

This is a small Delphi library that presents WMI data through a TDataset-like object. A caller configures the target computer and namespace, requests data with a query or class lookup, then browses records and reads typed fields. The README documents these capabilities and the dependency on the imported WMI type library; source excerpts were unavailable, so internal call details are not inferred.

Main entry points: [`Source/WMIObject.pas`](https://github.com/zizzo81/wmiobject/blob/main/Source/WMIObject.pas) (TWMIObject), [`Source/WbemScripting_TLB.pas`](https://github.com/zizzo81/wmiobject/blob/main/Source/WbemScripting_TLB.pas) (WMI type bindings)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_caller(("Delphi caller"))
node_wmi_object["TWMIObject<br/>[WMIObject.pas]"]
node_type_library["WMI type bindings"]
node_wmi_service["Windows WMI"]

node_caller -->|"configures and queries"| node_wmi_object
node_wmi_object -->|"uses bindings"| node_type_library
node_wmi_object -->|"queries WMI"| node_wmi_service
node_wmi_object -->|"exposes records and fields"| node_caller

click node_wmi_object "https://github.com/zizzo81/wmiobject/blob/main/Source/WMIObject.pas"
click node_type_library "https://github.com/zizzo81/wmiobject/blob/main/Source/WbemScripting_TLB.pas"

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_caller,node_wmi_service toneIndigo
class node_wmi_object,node_type_library toneTeal
```

## Components

### Other components

- **Delphi caller**
- [TWMIObject](https://github.com/zizzo81/wmiobject/blob/main/Source/WMIObject.pas): `Source/WMIObject.pas`
- [WMI type bindings](https://github.com/zizzo81/wmiobject/blob/main/Source/WbemScripting_TLB.pas): `Source/WbemScripting_TLB.pas`
- **Windows WMI**

## Connections

- Delphi caller → TWMIObject: configures and queries
- TWMIObject → WMI type bindings: uses bindings
- TWMIObject → Windows WMI: queries WMI
- TWMIObject → Delphi caller: exposes records and fields
