wprintf(L\"Selecting Audio Input Device: %s\\n\", varName.bstrVal); if(0 == strcmp(varName.bstrVal, \"IP Camera [JPEG/MJPEG]\"))...
As a richer alternative to the C runtime, you could use the Unicode CompareString or CompareStringEx APIs in Win32. If you don't have charset issues to consider, wcscmp is fine though.