ReactOS
0.4.16-dev-250-g3ecd236
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
31
STDMETHODIMP
QueryInterface
(
REFIID
,
LPVOID
*);
32
STDMETHODIMP_
(
ULONG
)
AddRef
();
33
STDMETHODIMP_
(
ULONG
)
Release
();
34
35
// IClassFactory inheritance
36
STDMETHODIMP
CreateInstance
(
LPUNKNOWN
,
REFIID
,
LPVOID
*);
37
STDMETHODIMP
LockServer
(
BOOL
);
38
};
39
40
typedef
CVfdFactory
*
LPCVFDFACTORY
;
41
42
#endif
// _VFDSHCFACT_H_
STDMETHODIMP
#define STDMETHODIMP
Definition:
basetyps.h:43
CVfdFactory
Definition:
vfdshcfact.h:19
CVfdFactory::~CVfdFactory
~CVfdFactory()
Definition:
vfdshcfact.cpp:37
CVfdFactory::m_cRefCnt
ULONG m_cRefCnt
Definition:
vfdshcfact.h:21
CVfdFactory::QueryInterface
STDMETHODIMP QueryInterface(REFIID, LPVOID *)
Definition:
vfdshcfact.cpp:47
CVfdFactory::CVfdFactory
CVfdFactory()
Definition:
vfdshcfact.cpp:25
CVfdFactory::CreateInstance
STDMETHODIMP CreateInstance(LPUNKNOWN, REFIID, LPVOID *)
Definition:
vfdshcfact.cpp:92
CVfdFactory::LockServer
STDMETHODIMP LockServer(BOOL)
Definition:
vfdshcfact.cpp:121
CVfdFactory::STDMETHODIMP_
STDMETHODIMP_(ULONG) AddRef()
CVfdFactory::STDMETHODIMP_
STDMETHODIMP_(ULONG) Release()
BOOL
unsigned int BOOL
Definition:
ntddk_ex.h:94
IClassFactory
Definition:
unknwn.idl:69
IUnknown
Definition:
unknwn.idl:39
IUnknown::AddRef
ULONG AddRef()
IUnknown::Release
ULONG Release()
void
Definition:
nsiface.idl:2307
REFIID
#define REFIID
Definition:
guiddef.h:118
ULONG
uint32_t ULONG
Definition:
typedefs.h:59
LPCVFDFACTORY
CVfdFactory * LPCVFDFACTORY
Definition:
vfdshcfact.h:40
modules
rosapps
lib
vfdlib
vfdshcfact.h
Generated on Fri Nov 8 2024 06:06:32 for ReactOS by
1.9.6