mirror of
https://github.com/reactos/reactos.git
synced 2025-01-04 21:38:43 +00:00
25c7e1a8d0
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
42 lines
802 B
C++
42 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_
|