mirror of
https://github.com/reactos/reactos.git
synced 2024-11-06 14:44:19 +00:00
32 lines
771 B
C
32 lines
771 B
C
/*
|
|
* PROJECT: ReactOS Device Management
|
|
* LICENSE: GPL - See COPYING in the top level directory
|
|
* FILE: base/applications/mscutils/devmgmt/devmgmt.c
|
|
* PURPOSE: Bootstrap for the device manager
|
|
* COPYRIGHT: Copyright 2006 Ged Murphy <gedmurphy@gmail.com>
|
|
*/
|
|
|
|
#define WIN32_NO_STATUS
|
|
#include <windef.h>
|
|
#include <winbase.h>
|
|
#include <winreg.h>
|
|
|
|
#include <cfgmgr32.h>
|
|
#include <devmgr.h>
|
|
|
|
int WINAPI
|
|
wWinMain(HINSTANCE hThisInstance,
|
|
HINSTANCE hPrevInstance,
|
|
LPWSTR lpCmdLine,
|
|
int nCmdShow)
|
|
{
|
|
if (!DeviceManager_ExecuteW(NULL,
|
|
hThisInstance,
|
|
NULL,
|
|
nCmdShow))
|
|
{
|
|
return GetLastError();
|
|
}
|
|
|
|
return 0;
|
|
}
|