ReactOS  0.4.15-dev-313-g8fde48b
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)
 

Variables

const GUID IID_IUnknown = {0x00000000, 0x0000, 0x0000, {0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46}}
 
const GUID IID_IClassFactory = {0x00000001, 0x0000, 0x0000, {0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46}}
 

Function Documentation

◆ CClassFactory_fnConstructor()

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

Definition at line 91 of file classfactory.cpp.

95 {
96  CClassFactory* factory = new CClassFactory(lpfnCI, pcRefDll, riidInst);
97 
98  if (!factory)
99  return NULL;
100 
101  if (pcRefDll)
102  InterlockedIncrement(pcRefDll);
103 
104  return (LPCLASSFACTORY)factory;
105 }
LPFNCREATEINSTANCE lpfnCI
Definition: shellole.c:61
Definition: main.c:438
smooth NULL
Definition: ftsmooth.c:416
#define InterlockedIncrement
Definition: armddk.h:53
static ClassFactoryImpl factory
Definition: ole_server.c:234

Variable Documentation

◆ IID_IClassFactory

const GUID IID_IClassFactory = {0x00000001, 0x0000, 0x0000, {0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46}}

Definition at line 12 of file classfactory.cpp.

◆ IID_IUnknown

const GUID IID_IUnknown = {0x00000000, 0x0000, 0x0000, {0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46}}

Definition at line 11 of file classfactory.cpp.