Create the AHCI branch for Aman's work
[reactos.git] / base / applications / mscutils / devmgmt / devmgmt.c
1 /*
2 * PROJECT: ReactOS Device Managment
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 }