Platform SDK: Automation |
HRESULT ReleaseVarDesc( VARDESC FAR* pVarDesc );
Releases a VARDESC previously returned by GetVarDesc.
ReleaseVarDesc releases a VARDESC that was returned through ITypeInfo::GetVarDesc.
VARDESC FAR *pVarDesc; CHECKRESULT(ptypeinfo->GetVarDesc(i, &pvardesc)); idMember = pvardesc->memid; CHECKRESULT(ptypeinfo->GetDocumentation(idMember, &bstrName, NULL, NULL, NULL)); ptypeinfo->ReleaseVarDesc(pvardesc);
Windows NT/2000: Requires Windows NT 3.51 SP5 or later.
Windows 95/98: Requires Windows 95 or later.
Header: Declared in Oaidl.h.