Significance of return result from mapped event?

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top