vptr
Description
Clears the contents of the class and returns the address of the underlying IDispatch pointer.
Syntax
FUNCTION vptr () AS IDIspatch PTR PTR |
Parameters
cdi
[in] An instance of the CDispInvoke class.
Remarks
To pass the class to an OUT BYVAL IDispatch PTR parameter.
If we pass a CDispInvoke to a function with an OUT IDIspatch parameter without first clearing the contents of the class, we may have a memory leak.
Include file
CDispInvoke.inc
Created with the Personal Edition of HelpNDoc: Generate Kindle eBooks with ease