ReactOS  0.4.14-dev-317-g96040ec
vfdshcfact.h
Go to the documentation of this file.
1 /*
2  vfdshcfact.h
3 
4  Virtual Floppy Drive for Windows
5  Driver control library
6  shell extension COM class-factory class header
7 
8  Copyright (c) 2003-2005 Ken Kato
9 */
10 
11 #ifndef _VFDSHCFACT_H_
12 #define _VFDSHCFACT_H_
13 
14 //
15 // CVfdFactory
16 // class factory class to create the COM shell extension object
17 //
18 class CVfdFactory : public IClassFactory
19 {
20 protected:
21  ULONG m_cRefCnt; // Reference count to the object
22 
23 public:
24  // Constructor
25  CVfdFactory();
26 
27  // Destructor
28  ~CVfdFactory();
29 
30  // IUnknown inheritance
34 
35  // IClassFactory inheritance
38 };
39 
41 
42 #endif // _VFDSHCFACT_H_
#define REFIID
Definition: guiddef.h:118
ULONG m_cRefCnt
Definition: vfdshcfact.h:21
STDMETHODIMP QueryInterface(REFIID, LPVOID *)
Definition: vfdshcfact.cpp:47
unsigned int BOOL
Definition: ntddk_ex.h:94
#define STDMETHODIMP
Definition: basetyps.h:43
ULONG Release()
STDMETHODIMP_(ULONG) AddRef()
CVfdFactory * LPCVFDFACTORY
Definition: vfdshcfact.h:40
ULONG AddRef()
STDMETHODIMP CreateInstance(LPUNKNOWN, REFIID, LPVOID *)
Definition: vfdshcfact.cpp:92
STDMETHODIMP LockServer(BOOL)
Definition: vfdshcfact.cpp:121
unsigned int ULONG
Definition: retypes.h:1