S
Scott Metzger
Hi,
What is the significance of the return result from a mapped event?
For example
Using CoCreateAddonSink and AddAdvise, to map a specific Visio event to
a C function in my program, gives me the following for my function
definition...
HRESULT __stdcall OnConnection( IN IUnknown* ipSink,
IN short nEventCode,
IN IDispatch* pSourceObj,
IN long lEventID,
IN long lEventSeqNum,
IN IDispatch* pSubjectObj,
IN VARIANT vMoreInfo,
OUT VARIANT* pvResult);
What does Visio do with the result I return? Does it really matter what
I return? Will it run slightly faster if I return success?
I can't find anything in the docs that say what Visio does with this result.
Thanks,
Scott Metzger
What is the significance of the return result from a mapped event?
For example
Using CoCreateAddonSink and AddAdvise, to map a specific Visio event to
a C function in my program, gives me the following for my function
definition...
HRESULT __stdcall OnConnection( IN IUnknown* ipSink,
IN short nEventCode,
IN IDispatch* pSourceObj,
IN long lEventID,
IN long lEventSeqNum,
IN IDispatch* pSubjectObj,
IN VARIANT vMoreInfo,
OUT VARIANT* pvResult);
What does Visio do with the result I return? Does it really matter what
I return? Will it run slightly faster if I return success?
I can't find anything in the docs that say what Visio does with this result.
Thanks,
Scott Metzger