ITypeInfo::ReleaseVarDesc method
Releases a VARDESC previously returned by ITypeInfo::GetVarDesc.
Syntax
void ReleaseVarDesc( [in] VARDESC *pVarDesc );
Parameters
- pVarDesc [in]
-
The VARDESC to be freed.
Return value
This method does not return a value.
Examples
In the following example, the CHECKRESULT function is undefined. Replace this function with your error handling code.
VARDESC *pVarDesc; CHECKRESULT(ptypeinfo->GetVarDesc(i, &pvardesc)); idMember = pvardesc->memid; CHECKRESULT(ptypeinfo->GetDocumentation(idMember, &bstrName, NULL, NULL, NULL)); ptypeinfo->ReleaseVarDesc(pvardesc);
Requirements
|
IDL |
|
|---|
See also
Show: