mirror of
https://github.com/Obfuscator-Collections/VMProtect.git
synced 2026-08-31 19:34:43 +03:00
first commit
Version 3.x.x
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#ifndef MAIN_H
|
||||
#define MAIN_H
|
||||
|
||||
#include <unknwn.h>
|
||||
|
||||
class ClassFactory : public IClassFactory
|
||||
{
|
||||
public:
|
||||
// IUnknown
|
||||
IFACEMETHODIMP QueryInterface(REFIID riid, void **ppv);
|
||||
IFACEMETHODIMP_(ULONG) AddRef();
|
||||
IFACEMETHODIMP_(ULONG) Release();
|
||||
|
||||
// IClassFactory
|
||||
IFACEMETHODIMP CreateInstance(IUnknown *pUnkOuter, REFIID riid, void **ppv);
|
||||
IFACEMETHODIMP LockServer(BOOL fLock);
|
||||
|
||||
ClassFactory();
|
||||
protected:
|
||||
~ClassFactory();
|
||||
private:
|
||||
long ref_count_;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user