The Platform Software Development Kit (SDK) includes a code example topic, DsSrch, that provides a simple command-prompt application that uses the IDirectorySearch interface to query a directory service. The complete code example is included in the Platform SDK in the Samples\NetDs\ADSI\Samples\General\DsSrch directory.
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.
