Go to the source code of this file.
◆ IClassFactory_fnAddRef()
static ULONG WINAPI IClassFactory_fnAddRef |
( |
LPCLASSFACTORY |
iface | ) |
|
|
static |
Definition at line 36 of file classfactory.c.
38{
41
42 return refCount;
43}
#define InterlockedIncrement
◆ IClassFactory_fnConstructor()
Definition at line 105 of file classfactory.c.
109{
111
116
117 if (pcRefDll)
120
121 return (LPCLASSFACTORY)lpclf;
122}
static const IClassFactoryVtbl dclfvt
LPFNCREATEINSTANCE lpfnCI
LPVOID WINAPI CoTaskMemAlloc(SIZE_T size)
LPFNCREATEINSTANCE lpfnCI
const IClassFactoryVtbl * lpVtbl
◆ IClassFactory_fnCreateInstance()
Definition at line 65 of file classfactory.c.
70{
72
74
76 {
78 }
79
81}
#define IsEqualCLSID(rclsid1, rclsid2)
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
◆ IClassFactory_fnLockServer()
static HRESULT WINAPI IClassFactory_fnLockServer |
( |
LPCLASSFACTORY |
iface, |
|
|
BOOL |
fLock |
|
) |
| |
|
static |
◆ IClassFactory_fnQueryInterface()
Definition at line 16 of file classfactory.c.
20{
22
25 {
29 }
31}
const GUID IID_IClassFactory
#define IsEqualIID(riid1, riid2)
◆ IClassFactory_fnRelease()
static ULONG WINAPI IClassFactory_fnRelease |
( |
LPCLASSFACTORY |
iface | ) |
|
|
static |
Definition at line 48 of file classfactory.c.
50{
53
54 if (!refCount)
55 {
57 return 0;
58 }
59 return refCount;
60}
#define InterlockedDecrement
VOID WINAPI CoTaskMemFree(LPVOID ptr)
◆ dclfvt
const IClassFactoryVtbl dclfvt |
|
static |
Initial value:=
{
}
static ULONG WINAPI IClassFactory_fnRelease(LPCLASSFACTORY iface)
static HRESULT WINAPI IClassFactory_fnQueryInterface(LPCLASSFACTORY iface, REFIID riid, LPVOID *ppvObj)
static HRESULT WINAPI IClassFactory_fnLockServer(LPCLASSFACTORY iface, BOOL fLock)
static ULONG WINAPI IClassFactory_fnAddRef(LPCLASSFACTORY iface)
static HRESULT WINAPI IClassFactory_fnCreateInstance(LPCLASSFACTORY iface, LPUNKNOWN pUnkOuter, REFIID riid, LPVOID *ppvObject)
Definition at line 94 of file classfactory.c.