Using the Windows Update Agent API
To use the Windows Update Agent (WUA) API, first create an instance of one of the interfaces by creating the object from the appropriate coclass.
The following topics describe how you can use the WUA API:
Important
These scripts are intended to demonstrate the use of the Windows Update Agent APIs, and provide examples of how developers can use these APIs to solve problems. These scripts are not intended as production code, and the scripts themselves are not supported by Microsoft (though the underlying Windows Update Agent APIs are supported).
- Windows Update Agent Object Model
- Determining the Current Version of WUA
- Updating the Windows Update Agent
- Updating Windows Update Agent Header Files
- Using WUA to Scan for Updates Offline
- Secured Methods and Properties in the WUA API
- Searching, Downloading, and Installing Updates
- Searching, Downloading, and Installing Specific Updates
- Using WUA From a Remote Computer
- Guidelines for Asynchronous WUA Operations
- Using WUA from a Secondary Logon (Run As) Process
- WUA Success and Error Codes
- WUA Networking Error Codes