OEM class factory. More...
Public Member Functions | |
STDMETHOD() | QueryInterface (THIS_ REFIID riid, LPVOID FAR *ppvObj) |
This function returns the requested interface for the object, if available. | |
STDMETHOD_ (ULONG, AddRef)(THIS) | |
This function adds a reference to the object. | |
STDMETHOD_ (ULONG, Release)(THIS) | |
This function removes a reference of the object, deleting it if necessary. | |
STDMETHOD() | CreateInstance (THIS_ LPUNKNOWN pUnkOuter, REFIID riid, LPVOID FAR *ppvObject) |
Called to create an IOemUI object. | |
STDMETHOD() | LockServer (THIS_ BOOL bLock) |
Called to lock the IOemUI DLL (so it will not unload itself when the last object is deleted). | |
IOemCF () | |
~IOemCF () | |
STDMETHOD() | QueryInterface (THIS_ REFIID riid, LPVOID FAR *ppvObj) |
This function queries the OLE interface. | |
STDMETHOD_ (ULONG, AddRef)(THIS) | |
This function adds a reference for the object factory. | |
STDMETHOD_ (ULONG, Release)(THIS) | |
The function removes a reference of the object factory. | |
STDMETHOD() | CreateInstance (THIS_ LPUNKNOWN pUnkOuter, REFIID riid, LPVOID FAR *ppvObject) |
Creates an instance of the IOemPS OLE object. | |
STDMETHOD() | LockServer (THIS_ BOOL bLock) |
Locks the server (do not permit unloading). | |
IOemCF () | |
Creates the factory object. | |
~IOemCF () | |
Deletes the factory object. | |
Protected Attributes | |
LONG | m_cRef |
Number of class factory objects active. | |
long | m_cRef |
Reference count (number of factory objects). |
OEM class factory.
This class is the factory for IOemPS objects.
Definition at line 404 of file intrface.cpp.
IOemCF::IOemCF | ( | ) | [inline] |
Default constructor
Definition at line 425 of file intrface.cpp.
IOemCF::~IOemCF | ( | ) | [inline] |
Destructor: does nothing
Definition at line 429 of file intrface.cpp.