You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
501 B
27 lines
501 B
#include <nt.h>
|
|
#include <ntrtl.h>
|
|
#include <nturtl.h>
|
|
#include <windows.h>
|
|
|
|
#include "shsrvice.h"
|
|
#include "HDService.h"
|
|
|
|
void WINAPI HardwareDetectionServiceMain(DWORD cArg, LPWSTR* ppszArgs)
|
|
{
|
|
CGenericServiceManager::_ServiceMain(cArg, ppszArgs);
|
|
}
|
|
|
|
HRESULT CHDService::Install(BOOL fInstall, LPCWSTR)
|
|
{
|
|
if (fInstall)
|
|
{
|
|
CGenericServiceManager::Install();
|
|
}
|
|
else
|
|
{
|
|
CGenericServiceManager::UnInstall();
|
|
}
|
|
|
|
return NOERROR;
|
|
}
|
|
|