ITypeInfo::ReleaseVarDesc (Windows CE 5.0)

Send Feedback

This method releases a VARDESC previously returned by ITypeInfo::GetVarDesc.

HRESULT ReleaseVarDesc(VARDESC FAR* pVarDesc );

Parameters

  • pVarDesc
    [in] Pointer to the VARDESC to be freed.

Remarks

ReleaseVarDesc releases a VARDESC that was returned through GetVarDesc.

Example

VARDESCFAR *pVarDesc;
CHECKRESULT(ptypeinfo->GetVarDesc(i, &pvardesc));
idMember = pvardesc->memid;
CHECKRESULT(ptypeinfo->GetDocumentation(idMember, &bstrName, NULL, NULL, NULL));
ptypeinfo->ReleaseVarDesc(pvardesc);

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Oaidl.h, Oaidl.idl.
Link Library: Oleaut32.lib, Uuid.lib.

See Also

ITypeInfo | ITypeInfo::GetVarDesc | VARDESC

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.