Not all devices return PKEY_AudioEngine_DeviceFormat properties. Per MSDN, if the PROPERTYKEY referenced in key is not present in the property store, this method returns S_OK and the vt member of the structure pointed to by pv is set to VT_EMPTY.