ReactOS
0.4.16-dev-1025-gd3456f5
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
m
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
_
a
b
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
devmgmt.c
Go to the documentation of this file.
1
/*
2
* PROJECT: ReactOS Device Management
3
* LICENSE: GPL - See COPYING in the top level directory
4
* FILE: base/applications/mscutils/devmgmt/devmgmt.c
5
* PURPOSE: Bootstrap for the device manager
6
* COPYRIGHT: Copyright 2006 Ged Murphy <gedmurphy@gmail.com>
7
*/
8
9
#define WIN32_NO_STATUS
10
#include <
windef.h
>
11
#include <
winbase.h
>
12
#include <
winreg.h
>
13
14
#include <
cfgmgr32.h
>
15
#include <devmgr.h>
16
17
int
WINAPI
18
wWinMain
(
HINSTANCE
hThisInstance,
19
HINSTANCE
hPrevInstance,
20
LPWSTR
lpCmdLine,
21
int
nCmdShow)
22
{
23
if
(!
DeviceManager_ExecuteW
(
NULL
,
24
hThisInstance,
25
NULL
,
26
nCmdShow))
27
{
28
return
GetLastError
();
29
}
30
31
return
0;
32
}
cfgmgr32.h
wWinMain
int WINAPI wWinMain(HINSTANCE hThisInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow)
Definition:
devmgmt.c:18
NULL
#define NULL
Definition:
types.h:112
DeviceManager_ExecuteW
BOOL WINAPI DeviceManager_ExecuteW(HWND hWndParent, HINSTANCE hInst, LPCWSTR lpMachineName, int nCmdShow)
Definition:
api.cpp:611
void
Definition:
nsiface.idl:2307
winbase.h
GetLastError
DWORD WINAPI GetLastError(void)
Definition:
except.c:1042
windef.h
WINAPI
#define WINAPI
Definition:
msvc.h:6
winreg.h
LPWSTR
WCHAR * LPWSTR
Definition:
xmlstorage.h:184
base
applications
mscutils
devmgmt
devmgmt.c
Generated on Tue Apr 22 2025 06:02:42 for ReactOS by
1.9.6