You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
944 B
32 lines
944 B
#ifndef __IDirectInputEffectDriverClassFactory_H__
|
|
#define __IDirectInputEffectDriverClassFactory_H__
|
|
|
|
#include <windows.h>
|
|
#include <unknwn.h>
|
|
//#include <dinputd.h>
|
|
|
|
class CIDirectInputEffectDriverClassFactory : public IClassFactory
|
|
{
|
|
public:
|
|
CIDirectInputEffectDriverClassFactory(IClassFactory* pIPIDClassFactory);
|
|
~CIDirectInputEffectDriverClassFactory();
|
|
|
|
//IUnknown members
|
|
HRESULT __stdcall QueryInterface(REFIID refiid, void** ppvObject);
|
|
ULONG __stdcall AddRef();
|
|
ULONG __stdcall Release();
|
|
|
|
//IClassFactory members
|
|
HRESULT __stdcall CreateInstance(IUnknown * pUnkOuter, REFIID riid, void ** ppvObject);
|
|
HRESULT __stdcall LockServer(BOOL fLock);
|
|
|
|
private:
|
|
ULONG m_ulLockCount;
|
|
ULONG m_ulReferenceCount;
|
|
|
|
IClassFactory* m_pIPIDClassFactory;
|
|
};
|
|
|
|
extern CIDirectInputEffectDriverClassFactory* g_pClassFactoryObject;
|
|
|
|
#endif __IDirectInputEffectDriverClassFactory_H__
|