ReactOS 0.4.16-dev-197-g92996da
classfactory.cpp File Reference
#include "precomp.h"
Include dependency graph for classfactory.cpp:

Go to the source code of this file.

Classes

class  CClassFactory
 

Functions

IClassFactoryCClassFactory_fnConstructor (LPFNCREATEINSTANCE lpfnCI, PLONG pcRefDll, IID *riidInst)
 

Function Documentation

◆ CClassFactory_fnConstructor()

IClassFactory * CClassFactory_fnConstructor ( LPFNCREATEINSTANCE  lpfnCI,
PLONG  pcRefDll,
IID riidInst 
)

Definition at line 98 of file classfactory.cpp.

102{
103 CClassFactory* factory = new CClassFactory(lpfnCI, pcRefDll, riidInst);
104
105 if (!factory)
106 return NULL;
107
108 if (pcRefDll)
109 InterlockedIncrement(pcRefDll);
110
111 return (LPCLASSFACTORY)factory;
112}
#define InterlockedIncrement
Definition: armddk.h:53
#define NULL
Definition: types.h:112
LPFNCREATEINSTANCE lpfnCI
Definition: shellole.c:61
Definition: main.c:439