To define dispatch methods for the dispinterface, you simply define Dylan methods on your dispinterface class. For example:
define function foo(this :: <my-dispatch-object>)
=> status :: <SCODE>;
...
end;
define function bar(this :: <my-dispatch-object>,
name :: <BSTR>,
#key color :: <BSTR>,
size :: <integer>)
=> (status :: <SCODE>, value :: <integer>);
...
end;