4 Virtual Floppy Drive for Windows
6 shell extension COM class-factory class header
8 Copyright (c) 2003-2005 Ken Kato
11 #ifndef _VFDSHCFACT_H_
12 #define _VFDSHCFACT_H_
16 // class factory class to create the COM shell extension object
18 class CVfdFactory
: public IClassFactory
21 ULONG m_cRefCnt
; // Reference count to the object
30 // IUnknown inheritance
31 STDMETHODIMP
QueryInterface(REFIID
, LPVOID
*);
32 STDMETHODIMP_(ULONG
) AddRef();
33 STDMETHODIMP_(ULONG
) Release();
35 // IClassFactory inheritance
36 STDMETHODIMP
CreateInstance(LPUNKNOWN
, REFIID
, LPVOID
*);
37 STDMETHODIMP
LockServer(BOOL
);
40 typedef CVfdFactory
*LPCVFDFACTORY
;
42 #endif // _VFDSHCFACT_H_