In the example provider component, code that manages the lifetime of the example provider component namespace object is in cnamesp.cpp. Supported methods are listed in the following table.
| Method | Description |
|---|---|
| CSampleDSNamespace::CSampleDSNamespace | Standard constructor. |
| CSampleDSNamespace::~CSampleDSNamespace | Standard destructor. |
| Standard IADs methods. | |
| Standard IADsContainer methods. | |
| CSampleDSNamespace::AllocateNamespaceObject | Create a namespace object and load its type data. |
| CSampleDSNamespace::CreateNamespace | Allocate, initialize, and validate a namespace object. |
| CSampleDSNamespace::QueryInterface | Verify the given IID on this object. |
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
