This method allows you to add text that will appear as a “where” clause in the query. For example, the following line returns only USB drives:

pDrives->SetWhereClause(L"WHERE InterfaceType='USB'");

Related Topics

IDriveList Interface