mirror of
https://github.com/reactos/reactos.git
synced 2024-09-09 20:30:04 +00:00
43 lines
802 B
C
43 lines
802 B
C
![]() |
/*
|
||
|
vfdshcfact.h
|
||
|
|
||
|
Virtual Floppy Drive for Windows
|
||
|
Driver control library
|
||
|
shell extension COM class-factory class header
|
||
|
|
||
|
Copyright (c) 2003-2005 Ken Kato
|
||
|
*/
|
||
|
|
||
|
#ifndef _VFDSHCFACT_H_
|
||
|
#define _VFDSHCFACT_H_
|
||
|
|
||
|
//
|
||
|
// CVfdFactory
|
||
|
// class factory class to create the COM shell extension object
|
||
|
//
|
||
|
class CVfdFactory : public IClassFactory
|
||
|
{
|
||
|
protected:
|
||
|
ULONG m_cRefCnt; // Reference count to the object
|
||
|
|
||
|
public:
|
||
|
// Constructor
|
||
|
CVfdFactory();
|
||
|
|
||
|
// Destructor
|
||
|
~CVfdFactory();
|
||
|
|
||
|
// IUnknown inheritance
|
||
|
STDMETHODIMP QueryInterface(REFIID, LPVOID *);
|
||
|
STDMETHODIMP_(ULONG) AddRef();
|
||
|
STDMETHODIMP_(ULONG) Release();
|
||
|
|
||
|
// IClassFactory inheritance
|
||
|
STDMETHODIMP CreateInstance(LPUNKNOWN, REFIID, LPVOID *);
|
||
|
STDMETHODIMP LockServer(BOOL);
|
||
|
};
|
||
|
|
||
|
typedef CVfdFactory *LPCVFDFACTORY;
|
||
|
|
||
|
#endif // _VFDSHCFACT_H_
|