> What you need to test is returned pointer value.

Could you please explain further? The test is based on test_PropVariantToStringWithDefault which also has a LPCWSTR and compares the string result. Isn't this already testing the returned value?
--
Kind regards,
Mohamad