NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Error C3110

'function_name' : you cannot overload a COM interface method

An interface that is prefaced by an interface attribute, such as,

cannot be overloaded. For example:

#include <unknwn.h>
#undef interface
#pragma keyword("interface", on)

[ com, uuid= "4F98A180-EF37-11D1-978D-0000F805D73B" ]
interface ITestInterface {
  HRESULT mf1(void);
  HRESULT mf1(BSTR);
};