Hi,It means caller could free it at any time (or it could be a stack variable), so you have to make a deep copy.
Yes we do just take the pointer (pErrorInfo) passed in. MSDN states that the caller responsible for this memory.
Changelog:
oledb32: Implement IErrorRecord AddErrorRecord
Best Regards
Alistair Leslie-Hughes