When I have a COM class declaration containing
struct CoClass
{
STDMETHOD(MemFn)();
};
and I choose "create implementation" for MemFn, I get
STDMETHODIMP CoClass::MemFn()
{
return S_OK;
}
This seems to be a custom body for this type of method (it is not the "Create From Usage Method Body" snippet), but I can't find where I can customize this.
Independent of making it customizable, consider making "return E_NOTIMPL" the default. his wpuld be the equivalent of throwing a not-implemented-exception.
Thank you!
(edit: fixed formatting)