reactos/modules/rosapps/lib/vfdlib/vfdshcfact.h
Pierre Schweitzer 25c7e1a8d0
[VFD] Import the VFD project (Virtual Floppy Drive) which allows creating virtual
floppy drives in ReactOS and mount images on them.
Only the cmd got imported. The GUI interface may come later on.
Note that, as for vcdrom, the driver is left disabled and you need to explicitely
start it through vfd command line interface.

CORE-14090
2017-12-16 21:48:34 +01:00

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_