[DEVMGMT]
[reactos.git] / reactos / base / applications / mscutils / devmgmt_new / devmgmt.cpp
1 #define WIN32_LEAN_AND_MEAN
2 #include <windows.h>
3 #include <cfgmgr32.h>
4 #include <devmgr/devmgr.h>
5
6 int WINAPI
7 wWinMain(HINSTANCE hThisInstance,
8 HINSTANCE hPrevInstance,
9 LPWSTR lpCmdLine,
10 int nCmdShow)
11 {
12 if (!DeviceManager_ExecuteW(NULL,
13 hThisInstance,
14 NULL,
15 nCmdShow))
16 {
17 return GetLastError();
18 }
19 return 0;
20 }