Queries the property bag for the value of a key name/value pair and returns the property. Used by providers that interact with Microsoft Provisioning Framework (MPF).
AddProperty
DeleteProperty
IProvHelper
HRESULT QueryProperty ( BSTR bstrKey, VARIANT* pvValue );
BSTR bstrKey; VARIANT vValue; HRESULT hr = E_OUTOFMEMORY; bstrKey = ::SysAllocString(L"key"); ::VariantInit(&vValue); if(bstrKey) hr = m_pProvHelper->QueryProperty(bstrKey, &vValue); ::SysFreeString(bstrKey); ::VariantClear(vValue);