COM Vtable Examples - Querying a Namespace
See
Using IDirectorySearch for Querying
.