Microsoft Windows CE 3.0  

ITypeInfo::ReleaseVarDesc

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

This method releases a VARDESCpreviously returned by GetVarDesc.

HRESULT ReleaseVarDesc(
VARDESC FAR *
pVarDesc
);

Parameter

pVarDesc
Pointer to the VARDESCto be freed.

Remarks

ReleaseVarDescreleases a VARDESCthat was returned through ITypeInfo::GetVarDesc.

Example

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

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later Oaidl.h    
Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.