Go to the source code of this file.
◆ impl_from_IClassFactory()
Definition at line 29 of file factory.c.
30{
32}
#define CONTAINING_RECORD(address, type, field)
◆ OBJSEL_IClassFactory_AddRef()
static ULONG WINAPI OBJSEL_IClassFactory_AddRef |
( |
LPCLASSFACTORY |
iface | ) |
|
|
static |
Definition at line 66 of file factory.c.
67{
70
72
74
76
78 {
80 }
81
83}
#define InterlockedIncrement
static IClassFactoryImpl * impl_from_IClassFactory(IClassFactory *iface)
DECLSPEC_HIDDEN LONG dll_refs
◆ OBJSEL_IClassFactory_CreateInstance()
Definition at line 112 of file factory.c.
117{
119
121
122
124
126 {
128 }
129
131}
HRESULT WINAPI OBJSEL_IDsObjectPicker_Create(LPVOID *ppvObj)
#define IsEqualGUID(rguid1, rguid2)
#define CLASS_E_NOAGGREGATION
#define CLASS_E_CLASSNOTAVAILABLE
◆ OBJSEL_IClassFactory_LockServer()
static HRESULT WINAPI OBJSEL_IClassFactory_LockServer |
( |
LPCLASSFACTORY |
iface, |
|
|
BOOL |
fLock |
|
) |
| |
|
static |
Definition at line 137 of file factory.c.
140{
142
143 if (fLock)
144 IClassFactory_AddRef(iface);
145 else
146 IClassFactory_Release(iface);
148}
◆ OBJSEL_IClassFactory_QueryInterface()
Definition at line 37 of file factory.c.
41{
43
45
48 {
49 *ppvObj = iface;
50 IClassFactory_AddRef(iface);
52 }
54 {
55 return IClassFactory_CreateInstance(iface,
NULL,
riid, ppvObj);
56 }
57
60}
const GUID IID_IClassFactory
◆ OBJSEL_IClassFactory_Release()
static ULONG WINAPI OBJSEL_IClassFactory_Release |
( |
LPCLASSFACTORY |
iface | ) |
|
|
static |
Definition at line 89 of file factory.c.
90{
93
95
97
99
101 {
103 }
104
106}
#define InterlockedDecrement
◆ WINE_DEFAULT_DEBUG_CHANNEL()
WINE_DEFAULT_DEBUG_CHANNEL |
( |
objsel |
| ) |
|
◆ IClassFactory_Vtbl
IClassFactoryVtbl IClassFactory_Vtbl |
|
static |
Initial value:=
{
}
static HRESULT WINAPI OBJSEL_IClassFactory_QueryInterface(LPCLASSFACTORY iface, REFIID riid, LPVOID *ppvObj)
static ULONG WINAPI OBJSEL_IClassFactory_AddRef(LPCLASSFACTORY iface)
static HRESULT WINAPI OBJSEL_IClassFactory_LockServer(LPCLASSFACTORY iface, BOOL fLock)
static ULONG WINAPI OBJSEL_IClassFactory_Release(LPCLASSFACTORY iface)
static HRESULT WINAPI OBJSEL_IClassFactory_CreateInstance(LPCLASSFACTORY iface, LPUNKNOWN pUnkOuter, REFIID riid, LPVOID *ppvObj)
Definition at line 154 of file factory.c.
◆ OBJSEL_ClassFactory