public HRESULT GetAllocatedString(Guid guidKey, IntPtr ppwszValue, out uint pcchLength) { var hr = _type.GetAllocatedString(guidKey, ppwszValue, out pcchLength); Trace("guid: " + guidKey.ToName() + " pv: " + ppwszValue + " len: " + pcchLength + " hr: " + hr); return(hr); }