Fix incorrect usage of COBJMACROS. Duplicate and adapt the COM access macros so they also work in C++. Fix the IDirectPlayX access macros.