ITypeInfo::ReleaseVarDesc
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
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.