ITypeInfo::ReleaseVarDesc (Windows Embedded CE 6.0)
1/6/2010
This method releases a VARDESC previously returned by ITypeInfo::GetVarDesc.
Syntax
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
Header | oaidl.h, oaidl.idl |
Library | oleaut32.lib, uuid.lib |
Windows Embedded CE | Windows CE 2.0 and later |