mirror of
https://github.com/Wind4/vlmcsd
synced 2025-12-19 22:55:52 +00:00
vlmcsd-svn812-2015-08-30-Hotbird64
This commit is contained in:
28
ntservice.h
Normal file
28
ntservice.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#ifndef INCLUDED_NTSERVICE_H
|
||||
#define INCLUDED_NTSERVICE_H
|
||||
|
||||
#ifndef CONFIG
|
||||
#define CONFIG "config.h"
|
||||
#endif // CONFIG
|
||||
#include CONFIG
|
||||
|
||||
#include "types.h"
|
||||
#ifdef _NTSERVICE
|
||||
|
||||
//#include <strsafe.h>
|
||||
|
||||
#define NT_SERVICE_NAME "vlmcsd"
|
||||
#define NT_SERVICE_DISPLAY_NAME "Key Management Server"
|
||||
|
||||
extern SERVICE_TABLE_ENTRY NTServiceDispatchTable[];
|
||||
|
||||
VOID ReportServiceStatus(const DWORD, const DWORD, const DWORD);
|
||||
int NtServiceInstallation(const int_fast8_t installService, const char *restrict ServiceUser, const char *const ServicePassword);
|
||||
|
||||
#else // !_NTSERVICE
|
||||
|
||||
#define ReportServiceStatus(x,y,z)
|
||||
|
||||
#endif // _NTSERVICE
|
||||
|
||||
#endif // INCLUDED_NTSERVICE_H
|
||||
Reference in New Issue
Block a user