Add new ADD_RAW_IID OLE helper macro to allow use with classes that do not start with IID_I.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Steve Lamerton 2011-12-22 19:14:58 +00:00
parent d04002224e
commit 4b4ed3c942

View File

@ -143,6 +143,7 @@ private:
// NB: you should write ADD_INTERFACE(Foo) and not ADD_INTERFACE(IID_IFoo)!
#define BEGIN_IID_TABLE(cname) const IID *cname::ms_aIids[] = {
#define ADD_IID(iid) &IID_I##iid,
#define ADD_RAW_IID(iid) &::iid,
#define END_IID_TABLE }
// implementation is as straightforward as possible