Given the name of a property, IADs::GetEx Gets single or multi-values in VARIANT structures from the property cache. Finding no value in the cache invokes an implicit IADs::GetInfoEx. IADs::Get can also be used to retrieve single valued properties.
HRESULT IADs::GetEx(
BSTR bstrName, //Name of the property
VARIANT * pvProp //Value(s) of the property
);
This method supports the standard return values E_FAIL and E_UNEXPECTED, as well as the following:
IADs::Get, IADs::Put, IADs::PutEx, Property Cache