56 IClassFactory_AddRef(iface);
72 TRACE(
"%p increasing refcount to %lu.\n", iface, refcount);
82 TRACE(
"%p decreasing refcount to %lu.\n", iface, refcount);
95 TRACE(
"iface %p, outer_unknown %p, riid %s, out %p.\n",
103 FIXME(
"iface %p, dolock %#x stub!\n", iface, dolock);
151 TRACE(
"%p increasing refcount to %lu.\n", iface, refcount);
161 TRACE(
"%p decreasing refcount to %lu.\n", iface, refcount);
170 LPDDENUMCALLBACKW
cb,
void *
ctx)
172 FIXME(
"iface %p, cb %p, ctx %p stub!\n", iface,
cb,
ctx);
220 if (!
IsEqualGUID(&CLSID_DirectDrawFactory, rclsid))
#define InterlockedIncrement
#define InterlockedDecrement
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
const GUID IID_IClassFactory
#define IDirectDrawFactory_AddRef(p)
HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
static IClassFactoryImpl * impl_from_IClassFactory(IClassFactory *iface)
HRESULT WINAPI ddrawex_factory_CreateDirectDraw(IDirectDrawFactory *iface, GUID *guid, HWND window, DWORD coop_level, DWORD reserved, IUnknown *outer_unknown, IDirectDraw **ddraw)
static HRESULT WINAPI ddrawex_factory_QueryInterface(IDirectDrawFactory *iface, REFIID riid, void **out)
static ULONG WINAPI ddrawex_class_factory_AddRef(IClassFactory *iface)
static ULONG WINAPI ddrawex_factory_AddRef(IDirectDrawFactory *iface)
static HRESULT WINAPI ddrawex_factory_DirectDrawEnumerate(IDirectDrawFactory *iface, LPDDENUMCALLBACKW cb, void *ctx)
static ULONG WINAPI ddrawex_class_factory_Release(IClassFactory *iface)
static const IClassFactoryVtbl ddrawex_class_factory_vtbl
static HRESULT ddrawex_factory_create(IUnknown *outer_unknown, REFIID riid, void **out)
static HRESULT WINAPI ddrawex_class_factory_CreateInstance(IClassFactory *iface, IUnknown *outer_unknown, REFIID riid, void **out)
static struct ddrawex_factory * impl_from_IDirectDrawFactory(IDirectDrawFactory *iface)
static HRESULT WINAPI ddrawex_class_factory_LockServer(IClassFactory *iface, BOOL dolock)
static ULONG WINAPI ddrawex_factory_Release(IDirectDrawFactory *iface)
static const IDirectDrawFactoryVtbl ddrawex_factory_vtbl
static HRESULT WINAPI ddrawex_class_factory_QueryInterface(IClassFactory *iface, REFIID riid, void **out)
#define IsEqualGUID(rguid1, rguid2)
HRESULT(* pfnCreateInstance)(IUnknown *outer, REFIID iid, void **out)
IClassFactory IClassFactory_iface
IDirectDrawFactory IDirectDrawFactory_iface
IClassFactory IClassFactory_iface
#define CONTAINING_RECORD(address, type, field)
wchar_t tm const _CrtWcstime_Writes_and_advances_ptr_ count wchar_t ** out
#define CLASS_E_NOAGGREGATION
#define CLASS_E_CLASSNOTAVAILABLE