1
0
mirror of https://github.com/UzixLS/KernelEx.git synced 2025-07-19 07:21:20 +03:00

import KernelEx-4.5-Beta1

This commit is contained in:
UzixLS
2018-11-03 16:21:13 +03:00
parent d6aad6c6c5
commit 09929b2b7d
392 changed files with 17832 additions and 2491 deletions

21
sheet/factory.h Normal file → Executable file
View File

@ -22,21 +22,26 @@
#ifndef _FACTORY_H
#define _FACTORY_H
class Factory : public IClassFactory
class CFactory : public IClassFactory
{
ULONG m_RefCount;
public:
Factory();
// Constructor
CFactory();
// IUnknown
STDMETHODIMP QueryInterface(REFIID riid,LPVOID *ppv);
// Destructor
~CFactory();
// Interface IUnknown
STDMETHODIMP QueryInterface(const IID& iid, void** ppv);
STDMETHODIMP_(ULONG) AddRef();
STDMETHODIMP_(ULONG) Release();
// IClassFactory
STDMETHODIMP CreateInstance(IUnknown *pUnkOuter,REFIID riid, LPVOID *ppv);
// Interface IClassFactory
STDMETHODIMP CreateInstance(IUnknown* pUnkOuter, const IID& iid, void** ppv);
STDMETHODIMP LockServer(BOOL bLock);
private:
long m_cRef;
};
#endif // _FACTORY_H