Data Source Object CLSID

[This is preliminary documentation and subject to change.]

The Index Server DSO CLSID is used to create an Index Server DSO using CoCreateInstance. It is defined in ntquery.h

CLSID_INDEX_SERVER_DSO

The CLSID constant for the Index Server DSO.

Example

This example creates an Index Server Data Source Object, from which a query can be executed.

const GUID CLSID_IndexServerDSO = CLSID_INDEX_SERVER_DSO;
IDBInitialize *pIDBInit;
HRESULT hr = CoCreateInstance( CLSID_IndexServerDSO,
                               0,
                               CLSCTX_INPROC_SERVER,
                               IID_IDBInitialize,
                               (void **) &pIDBInit );