ReactOS
0.4.16-dev-297-gc569aee
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
comsup.c
Go to the documentation of this file.
1
#define INITGUID
2
3
#include <
windef.h
>
4
#include "
comsup.h
"
5
6
LONG
LockCount
;
7
LONG
ObjectCount
;
8
9
10
VOID
11
DllInitServer
(
VOID
)
12
{
13
ObjectCount
= 0;
14
LockCount
= 0;
15
}
16
17
18
STDAPI
19
DllRegisterServer
(
VOID
)
20
{
21
/* Always return S_OK, since there is currently nothing that can go wrong */
22
return
S_OK
;
23
}
24
25
26
STDAPI
27
DllUnregisterServer
(
VOID
)
28
{
29
/* Always return S_OK, since there is currently nothing that can go wrong */
30
return
S_OK
;
31
}
32
33
34
STDAPI
35
DllCanUnloadNow
(
VOID
)
36
{
37
if
((
ObjectCount
!= 0) || (
LockCount
!= 0))
38
{
39
return
S_FALSE
;
40
}
41
else
42
{
43
return
S_OK
;
44
}
45
}
46
47
48
STDAPI
49
DllGetClassObject
(
REFCLSID
rclsid,
REFIID
riid
,
LPVOID
*
ppv
)
50
{
51
HRESULT
hr
;
52
53
/* There are no classes to export, so always return CLASS_E_CLASSNOTAVAILABLE*/
54
*
ppv
=
NULL
;
55
hr
=
CLASS_E_CLASSNOTAVAILABLE
;
56
57
return
hr
;
58
}
DllRegisterServer
STDAPI DllRegisterServer(void)
Definition:
misc.cpp:167
DllUnregisterServer
STDAPI DllUnregisterServer(void)
Definition:
misc.cpp:183
DllCanUnloadNow
HRESULT WINAPI DllCanUnloadNow(void)
Definition:
misc.cpp:160
STDAPI
#define STDAPI
Definition:
basetyps.h:41
DllGetClassObject
STDAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
Definition:
comsup.c:49
DllInitServer
VOID DllInitServer(VOID)
Definition:
comsup.c:11
LockCount
LONG LockCount
Definition:
comsup.c:6
ObjectCount
LONG ObjectCount
Definition:
comsup.c:7
comsup.h
NULL
#define NULL
Definition:
types.h:112
riid
REFIID riid
Definition:
atlbase.h:39
ppv
REFIID LPVOID * ppv
Definition:
atlbase.h:39
HRESULT
Definition:
mshtmhst.idl:286
void
Definition:
nsiface.idl:2307
S_OK
#define S_OK
Definition:
intsafe.h:52
LONG
long LONG
Definition:
pedump.c:60
REFIID
#define REFIID
Definition:
guiddef.h:118
REFCLSID
#define REFCLSID
Definition:
guiddef.h:117
hr
HRESULT hr
Definition:
shlfolder.c:183
windef.h
S_FALSE
#define S_FALSE
Definition:
winerror.h:2357
CLASS_E_CLASSNOTAVAILABLE
#define CLASS_E_CLASSNOTAVAILABLE
Definition:
winerror.h:2663
dll
win32
shimgvw
comsup.c
Generated on Tue Nov 26 2024 06:05:02 for ReactOS by
1.9.6