wprintf(L"Selecting Audio Input Device: %s\n",
varName.bstrVal);
if(0 == strcmp(varName.bstrVal, "IP Camera [JPEG/MJPEG]"))...
The above reports :
error C2664: 'strcmp' : cannot convert parameter 1 from 'BSTR' to 'const char *'