JCL Help:StrRetFreeMem

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Frees the memory associated with the StrRet record.


Pascal

 function StrRetFreeMem(StrRet: TStrRet): Boolean;


Parameters

Parameters Description
StrRet: TStrRet The TStrRet record for which to free the memory associated with the pOleStr member.


Return Value

If the function releases the memory it returns True. If it fails to free the memory or the StrRet record is not of STRRET_WSTR type then the return value is False.


Description

If the supplied StrRet record is of type STRRET_WSTR then this function frees the memory associated with this record's pOleStr member. If the StrRet record is a different type this function does nothing.


See Also

StrRetToString


About

Unit

JclShell


Donator

Marcel van Brakel


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page