ReactOS 0.4.16-dev-297-gc569aee
lmsvc.h File Reference
#include <lmsname.h>
Include dependency graph for lmsvc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _SERVICE_INFO_0
 
struct  _SERVICE_INFO_1
 
struct  _SERVICE_INFO_2
 

Macros

#define SERVICE_DOS_ENCRYPTION   TEXT("ENCRYPT")
 
#define SERVICE_UNINSTALLED   0
 
#define SERVICE_INSTALL_PENDING   1
 
#define SERVICE_UNINSTALL_PENDING   2
 
#define SERVICE_INSTALLED   3
 
#define SERVICE_INSTALL_STATE   3
 
#define SERVICE_PAUSE_STATE   18
 
#define LM20_SERVICE_ACTIVE   0
 
#define LM20_SERVICE_CONTINUE_PENDING   4
 
#define LM20_SERVICE_PAUSE_PENDING   8
 
#define LM20_SERVICE_PAUSED   18
 
#define SERVICE_NOT_UNINSTALLABLE   0
 
#define SERVICE_UNINSTALLABLE   16
 
#define SERVICE_NOT_PAUSABLE   0
 
#define SERVICE_PAUSABLE   32
 
#define SERVICE_REDIR_PAUSED   0x700
 
#define SERVICE_REDIR_DISK_PAUSED   256
 
#define SERVICE_REDIR_PRINT_PAUSED   512
 
#define SERVICE_REDIR_COMM_PAUSED   1024
 
#define SERVICE_CTRL_INTERROGATE   0
 
#define SERVICE_CTRL_PAUSE   1
 
#define SERVICE_CTRL_CONTINUE   2
 
#define SERVICE_CTRL_UNINSTALL   3
 
#define SERVICE_CTRL_REDIR_DISK   1
 
#define SERVICE_CTRL_REDIR_PRINT   2
 
#define SERVICE_CTRL_REDIR_COMM   4
 
#define SERVICE_IP_NO_HINT   0
 
#define SERVICE_CCP_NO_HINT   0
 
#define SERVICE_IP_QUERY_HINT   0x10000
 
#define SERVICE_CCP_QUERY_HINT   0x10000
 
#define SERVICE_IP_CHKPT_NUM   255
 
#define SERVICE_CCP_CHKPT_NUM   255
 
#define SERVICE_IP_WAIT_TIME   0xFF00
 
#define SERVICE_CCP_WAIT_TIME   0xFF00
 
#define SERVICE_IP_WAITTIME_SHIFT   8
 
#define SERVICE_NTIP_WAITTIME_SHIFT   12
 
#define UPPER_HINT_MASK   0xFF00
 
#define LOWER_HINT_MASK   255
 
#define UPPER_GET_HINT_MASK   0xFF00000
 
#define LOWER_GET_HINT_MASK   0xFF00
 
#define SERVICE_NT_MAXTIME   0xFFFF
 
#define SERVICE_RESRV_MASK   0x1FFFF
 
#define SERVICE_MAXTIME   255
 
#define SERVICE_BASE   3050
 
#define SERVICE_UIC_NORMAL   0
 
#define SERVICE_UIC_BADPARMVAL   (SERVICE_BASE+1)
 
#define SERVICE_UIC_MISSPARM   (SERVICE_BASE+2)
 
#define SERVICE_UIC_UNKPARM   (SERVICE_BASE+3)
 
#define SERVICE_UIC_RESOURCE   (SERVICE_BASE+4)
 
#define SERVICE_UIC_CONFIG   (SERVICE_BASE+5)
 
#define SERVICE_UIC_SYSTEM   (SERVICE_BASE+6)
 
#define SERVICE_UIC_INTERNAL   (SERVICE_BASE+7)
 
#define SERVICE_UIC_AMBIGPARM   (SERVICE_BASE+8)
 
#define SERVICE_UIC_DUPPARM   (SERVICE_BASE+9)
 
#define SERVICE_UIC_KILL   (SERVICE_BASE+10)
 
#define SERVICE_UIC_EXEC   (SERVICE_BASE+11)
 
#define SERVICE_UIC_SUBSERV   (SERVICE_BASE+12)
 
#define SERVICE_UIC_CONFLPARM   (SERVICE_BASE+13)
 
#define SERVICE_UIC_FILE   (SERVICE_BASE+14)
 
#define SERVICE_UIC_M_NULL   0
 
#define SERVICE_UIC_M_MEMORY   (SERVICE_BASE+20)
 
#define SERVICE_UIC_M_DISK   (SERVICE_BASE+21)
 
#define SERVICE_UIC_M_THREADS   (SERVICE_BASE+22)
 
#define SERVICE_UIC_M_PROCESSES   (SERVICE_BASE+23)
 
#define SERVICE_UIC_M_SECURITY   (SERVICE_BASE+24)
 
#define SERVICE_UIC_M_LANROOT   (SERVICE_BASE+25)
 
#define SERVICE_UIC_M_REDIR   (SERVICE_BASE+26)
 
#define SERVICE_UIC_M_SERVER   (SERVICE_BASE+27)
 
#define SERVICE_UIC_M_SEC_FILE_ERR   (SERVICE_BASE+28)
 
#define SERVICE_UIC_M_FILES   (SERVICE_BASE+29)
 
#define SERVICE_UIC_M_LOGS   (SERVICE_BASE+30)
 
#define SERVICE_UIC_M_LANGROUP   (SERVICE_BASE+31)
 
#define SERVICE_UIC_M_MSGNAME   (SERVICE_BASE+32)
 
#define SERVICE_UIC_M_ANNOUNCE   (SERVICE_BASE+33)
 
#define SERVICE_UIC_M_UAS   (SERVICE_BASE+34)
 
#define SERVICE_UIC_M_SERVER_SEC_ERR   (SERVICE_BASE+35)
 
#define SERVICE_UIC_M_WKSTA   (SERVICE_BASE+37)
 
#define SERVICE_UIC_M_ERRLOG   (SERVICE_BASE+38)
 
#define SERVICE_UIC_M_FILE_UW   (SERVICE_BASE+39)
 
#define SERVICE_UIC_M_ADDPAK   (SERVICE_BASE+40)
 
#define SERVICE_UIC_M_LAZY   (SERVICE_BASE+41)
 
#define SERVICE_UIC_M_UAS_MACHINE_ACCT   (SERVICE_BASE+42)
 
#define SERVICE_UIC_M_UAS_SERVERS_NMEMB   (SERVICE_BASE+43)
 
#define SERVICE_UIC_M_UAS_SERVERS_NOGRP   (SERVICE_BASE+44)
 
#define SERVICE_UIC_M_UAS_INVALID_ROLE   (SERVICE_BASE+45)
 
#define SERVICE_UIC_M_NETLOGON_NO_DC   (SERVICE_BASE+46)
 
#define SERVICE_UIC_M_NETLOGON_DC_CFLCT   (SERVICE_BASE+47)
 
#define SERVICE_UIC_M_NETLOGON_AUTH   (SERVICE_BASE+48)
 
#define SERVICE_UIC_M_UAS_PROLOG   (SERVICE_BASE+49)
 
#define SERVICE2_BASE   5600
 
#define SERVICE_UIC_M_NETLOGON_MPATH   (SERVICE2_BASE+0)
 
#define SERVICE_UIC_M_LSA_MACHINE_ACCT   (SERVICE2_BASE+1)
 
#define SERVICE_UIC_M_DATABASE_ERROR   (SERVICE2_BASE+2)
 
#define SERVICE_IP_CODE(t, n)   ((long)SERVICE_IP_QUERY_HINT|(long)(n|(t<<SERVICE_IP_WAITTIME_SHIFT)))
 
#define SERVICE_CCP_CODE(t, n)   ((long)SERVICE_CCP_QUERY_HINT|(long)(n|(t<<SERVICE_IP_WAITTIME_SHIFT)))
 
#define SERVICE_UIC_CODE(c, m)   ((long)(((long)c<<16)|(long)(USHORT)m))
 
#define SERVICE_NT_CCP_CODE(t, n)   (((long)SERVICE_CCP_QUERY_HINT)|((long)(n))|(((t)&LOWER_HINT_MASK)<<SERVICE_IP_WAITTIME_SHIFT)|(((t)&UPPER_HINT_MASK)<<SERVICE_NTIP_WAITTIME_SHIFT))
 
#define SERVICE_NT_WAIT_GET(c)   ((((c)&UPPER_GET_HINT_MASK)>>SERVICE_NTIP_WAITTIME_SHIFT)|(((c)&LOWER_GET_HINT_MASK)>>SERVICE_IP_WAITTIME_SHIFT))
 

Typedefs

typedef struct _SERVICE_INFO_0 SERVICE_INFO_0
 
typedef struct _SERVICE_INFO_0PSERVICE_INFO_0
 
typedef struct _SERVICE_INFO_0LPSERVICE_INFO_0
 
typedef struct _SERVICE_INFO_1 SERVICE_INFO_1
 
typedef struct _SERVICE_INFO_1PSERVICE_INFO_1
 
typedef struct _SERVICE_INFO_1LPSERVICE_INFO_1
 
typedef struct _SERVICE_INFO_2 SERVICE_INFO_2
 
typedef struct _SERVICE_INFO_2PSERVICE_INFO_2
 
typedef struct _SERVICE_INFO_2LPSERVICE_INFO_2
 

Functions

NET_API_STATUS WINAPI NetServiceControl (LPCWSTR, LPCWSTR, DWORD, DWORD, PBYTE *)
 
NET_API_STATUS WINAPI NetServiceEnum (LPCWSTR, DWORD, PBYTE *, DWORD, PDWORD, PDWORD, PDWORD)
 
NET_API_STATUS WINAPI NetServiceGetInfo (LPCWSTR, LPCWSTR, DWORD, PBYTE *)
 
NET_API_STATUS WINAPI NetServiceInstall (LPCWSTR, LPCWSTR, DWORD, LPCWSTR *, PBYTE *)
 

Macro Definition Documentation

◆ LM20_SERVICE_ACTIVE

#define LM20_SERVICE_ACTIVE   0

Definition at line 15 of file lmsvc.h.

◆ LM20_SERVICE_CONTINUE_PENDING

#define LM20_SERVICE_CONTINUE_PENDING   4

Definition at line 16 of file lmsvc.h.

◆ LM20_SERVICE_PAUSE_PENDING

#define LM20_SERVICE_PAUSE_PENDING   8

Definition at line 17 of file lmsvc.h.

◆ LM20_SERVICE_PAUSED

#define LM20_SERVICE_PAUSED   18

Definition at line 18 of file lmsvc.h.

◆ LOWER_GET_HINT_MASK

#define LOWER_GET_HINT_MASK   0xFF00

Definition at line 47 of file lmsvc.h.

◆ LOWER_HINT_MASK

#define LOWER_HINT_MASK   255

Definition at line 45 of file lmsvc.h.

◆ SERVICE2_BASE

#define SERVICE2_BASE   5600

Definition at line 97 of file lmsvc.h.

◆ SERVICE_BASE

#define SERVICE_BASE   3050

Definition at line 51 of file lmsvc.h.

◆ SERVICE_CCP_CHKPT_NUM

#define SERVICE_CCP_CHKPT_NUM   255

Definition at line 39 of file lmsvc.h.

◆ SERVICE_CCP_CODE

#define SERVICE_CCP_CODE (   t,
  n 
)    ((long)SERVICE_CCP_QUERY_HINT|(long)(n|(t<<SERVICE_IP_WAITTIME_SHIFT)))

Definition at line 124 of file lmsvc.h.

◆ SERVICE_CCP_NO_HINT

#define SERVICE_CCP_NO_HINT   0

Definition at line 35 of file lmsvc.h.

◆ SERVICE_CCP_QUERY_HINT

#define SERVICE_CCP_QUERY_HINT   0x10000

Definition at line 37 of file lmsvc.h.

◆ SERVICE_CCP_WAIT_TIME

#define SERVICE_CCP_WAIT_TIME   0xFF00

Definition at line 41 of file lmsvc.h.

◆ SERVICE_CTRL_CONTINUE

#define SERVICE_CTRL_CONTINUE   2

Definition at line 29 of file lmsvc.h.

◆ SERVICE_CTRL_INTERROGATE

#define SERVICE_CTRL_INTERROGATE   0

Definition at line 27 of file lmsvc.h.

◆ SERVICE_CTRL_PAUSE

#define SERVICE_CTRL_PAUSE   1

Definition at line 28 of file lmsvc.h.

◆ SERVICE_CTRL_REDIR_COMM

#define SERVICE_CTRL_REDIR_COMM   4

Definition at line 33 of file lmsvc.h.

◆ SERVICE_CTRL_REDIR_DISK

#define SERVICE_CTRL_REDIR_DISK   1

Definition at line 31 of file lmsvc.h.

◆ SERVICE_CTRL_REDIR_PRINT

#define SERVICE_CTRL_REDIR_PRINT   2

Definition at line 32 of file lmsvc.h.

◆ SERVICE_CTRL_UNINSTALL

#define SERVICE_CTRL_UNINSTALL   3

Definition at line 30 of file lmsvc.h.

◆ SERVICE_DOS_ENCRYPTION

#define SERVICE_DOS_ENCRYPTION   TEXT("ENCRYPT")

Definition at line 8 of file lmsvc.h.

◆ SERVICE_INSTALL_PENDING

#define SERVICE_INSTALL_PENDING   1

Definition at line 10 of file lmsvc.h.

◆ SERVICE_INSTALL_STATE

#define SERVICE_INSTALL_STATE   3

Definition at line 13 of file lmsvc.h.

◆ SERVICE_INSTALLED

#define SERVICE_INSTALLED   3

Definition at line 12 of file lmsvc.h.

◆ SERVICE_IP_CHKPT_NUM

#define SERVICE_IP_CHKPT_NUM   255

Definition at line 38 of file lmsvc.h.

◆ SERVICE_IP_CODE

#define SERVICE_IP_CODE (   t,
  n 
)    ((long)SERVICE_IP_QUERY_HINT|(long)(n|(t<<SERVICE_IP_WAITTIME_SHIFT)))

Definition at line 123 of file lmsvc.h.

◆ SERVICE_IP_NO_HINT

#define SERVICE_IP_NO_HINT   0

Definition at line 34 of file lmsvc.h.

◆ SERVICE_IP_QUERY_HINT

#define SERVICE_IP_QUERY_HINT   0x10000

Definition at line 36 of file lmsvc.h.

◆ SERVICE_IP_WAIT_TIME

#define SERVICE_IP_WAIT_TIME   0xFF00

Definition at line 40 of file lmsvc.h.

◆ SERVICE_IP_WAITTIME_SHIFT

#define SERVICE_IP_WAITTIME_SHIFT   8

Definition at line 42 of file lmsvc.h.

◆ SERVICE_MAXTIME

#define SERVICE_MAXTIME   255

Definition at line 50 of file lmsvc.h.

◆ SERVICE_NOT_PAUSABLE

#define SERVICE_NOT_PAUSABLE   0

Definition at line 21 of file lmsvc.h.

◆ SERVICE_NOT_UNINSTALLABLE

#define SERVICE_NOT_UNINSTALLABLE   0

Definition at line 19 of file lmsvc.h.

◆ SERVICE_NT_CCP_CODE

Definition at line 126 of file lmsvc.h.

◆ SERVICE_NT_MAXTIME

#define SERVICE_NT_MAXTIME   0xFFFF

Definition at line 48 of file lmsvc.h.

◆ SERVICE_NT_WAIT_GET

Definition at line 127 of file lmsvc.h.

◆ SERVICE_NTIP_WAITTIME_SHIFT

#define SERVICE_NTIP_WAITTIME_SHIFT   12

Definition at line 43 of file lmsvc.h.

◆ SERVICE_PAUSABLE

#define SERVICE_PAUSABLE   32

Definition at line 22 of file lmsvc.h.

◆ SERVICE_PAUSE_STATE

#define SERVICE_PAUSE_STATE   18

Definition at line 14 of file lmsvc.h.

◆ SERVICE_REDIR_COMM_PAUSED

#define SERVICE_REDIR_COMM_PAUSED   1024

Definition at line 26 of file lmsvc.h.

◆ SERVICE_REDIR_DISK_PAUSED

#define SERVICE_REDIR_DISK_PAUSED   256

Definition at line 24 of file lmsvc.h.

◆ SERVICE_REDIR_PAUSED

#define SERVICE_REDIR_PAUSED   0x700

Definition at line 23 of file lmsvc.h.

◆ SERVICE_REDIR_PRINT_PAUSED

#define SERVICE_REDIR_PRINT_PAUSED   512

Definition at line 25 of file lmsvc.h.

◆ SERVICE_RESRV_MASK

#define SERVICE_RESRV_MASK   0x1FFFF

Definition at line 49 of file lmsvc.h.

◆ SERVICE_UIC_AMBIGPARM

#define SERVICE_UIC_AMBIGPARM   (SERVICE_BASE+8)

Definition at line 60 of file lmsvc.h.

◆ SERVICE_UIC_BADPARMVAL

#define SERVICE_UIC_BADPARMVAL   (SERVICE_BASE+1)

Definition at line 53 of file lmsvc.h.

◆ SERVICE_UIC_CODE

#define SERVICE_UIC_CODE (   c,
  m 
)    ((long)(((long)c<<16)|(long)(USHORT)m))

Definition at line 125 of file lmsvc.h.

◆ SERVICE_UIC_CONFIG

#define SERVICE_UIC_CONFIG   (SERVICE_BASE+5)

Definition at line 57 of file lmsvc.h.

◆ SERVICE_UIC_CONFLPARM

#define SERVICE_UIC_CONFLPARM   (SERVICE_BASE+13)

Definition at line 65 of file lmsvc.h.

◆ SERVICE_UIC_DUPPARM

#define SERVICE_UIC_DUPPARM   (SERVICE_BASE+9)

Definition at line 61 of file lmsvc.h.

◆ SERVICE_UIC_EXEC

#define SERVICE_UIC_EXEC   (SERVICE_BASE+11)

Definition at line 63 of file lmsvc.h.

◆ SERVICE_UIC_FILE

#define SERVICE_UIC_FILE   (SERVICE_BASE+14)

Definition at line 66 of file lmsvc.h.

◆ SERVICE_UIC_INTERNAL

#define SERVICE_UIC_INTERNAL   (SERVICE_BASE+7)

Definition at line 59 of file lmsvc.h.

◆ SERVICE_UIC_KILL

#define SERVICE_UIC_KILL   (SERVICE_BASE+10)

Definition at line 62 of file lmsvc.h.

◆ SERVICE_UIC_M_ADDPAK

#define SERVICE_UIC_M_ADDPAK   (SERVICE_BASE+40)

Definition at line 87 of file lmsvc.h.

◆ SERVICE_UIC_M_ANNOUNCE

#define SERVICE_UIC_M_ANNOUNCE   (SERVICE_BASE+33)

Definition at line 81 of file lmsvc.h.

◆ SERVICE_UIC_M_DATABASE_ERROR

#define SERVICE_UIC_M_DATABASE_ERROR   (SERVICE2_BASE+2)

Definition at line 100 of file lmsvc.h.

◆ SERVICE_UIC_M_DISK

#define SERVICE_UIC_M_DISK   (SERVICE_BASE+21)

Definition at line 69 of file lmsvc.h.

◆ SERVICE_UIC_M_ERRLOG

#define SERVICE_UIC_M_ERRLOG   (SERVICE_BASE+38)

Definition at line 85 of file lmsvc.h.

◆ SERVICE_UIC_M_FILE_UW

#define SERVICE_UIC_M_FILE_UW   (SERVICE_BASE+39)

Definition at line 86 of file lmsvc.h.

◆ SERVICE_UIC_M_FILES

#define SERVICE_UIC_M_FILES   (SERVICE_BASE+29)

Definition at line 77 of file lmsvc.h.

◆ SERVICE_UIC_M_LANGROUP

#define SERVICE_UIC_M_LANGROUP   (SERVICE_BASE+31)

Definition at line 79 of file lmsvc.h.

◆ SERVICE_UIC_M_LANROOT

#define SERVICE_UIC_M_LANROOT   (SERVICE_BASE+25)

Definition at line 73 of file lmsvc.h.

◆ SERVICE_UIC_M_LAZY

#define SERVICE_UIC_M_LAZY   (SERVICE_BASE+41)

Definition at line 88 of file lmsvc.h.

◆ SERVICE_UIC_M_LOGS

#define SERVICE_UIC_M_LOGS   (SERVICE_BASE+30)

Definition at line 78 of file lmsvc.h.

◆ SERVICE_UIC_M_LSA_MACHINE_ACCT

#define SERVICE_UIC_M_LSA_MACHINE_ACCT   (SERVICE2_BASE+1)

Definition at line 99 of file lmsvc.h.

◆ SERVICE_UIC_M_MEMORY

#define SERVICE_UIC_M_MEMORY   (SERVICE_BASE+20)

Definition at line 68 of file lmsvc.h.

◆ SERVICE_UIC_M_MSGNAME

#define SERVICE_UIC_M_MSGNAME   (SERVICE_BASE+32)

Definition at line 80 of file lmsvc.h.

◆ SERVICE_UIC_M_NETLOGON_AUTH

#define SERVICE_UIC_M_NETLOGON_AUTH   (SERVICE_BASE+48)

Definition at line 95 of file lmsvc.h.

◆ SERVICE_UIC_M_NETLOGON_DC_CFLCT

#define SERVICE_UIC_M_NETLOGON_DC_CFLCT   (SERVICE_BASE+47)

Definition at line 94 of file lmsvc.h.

◆ SERVICE_UIC_M_NETLOGON_MPATH

#define SERVICE_UIC_M_NETLOGON_MPATH   (SERVICE2_BASE+0)

Definition at line 98 of file lmsvc.h.

◆ SERVICE_UIC_M_NETLOGON_NO_DC

#define SERVICE_UIC_M_NETLOGON_NO_DC   (SERVICE_BASE+46)

Definition at line 93 of file lmsvc.h.

◆ SERVICE_UIC_M_NULL

#define SERVICE_UIC_M_NULL   0

Definition at line 67 of file lmsvc.h.

◆ SERVICE_UIC_M_PROCESSES

#define SERVICE_UIC_M_PROCESSES   (SERVICE_BASE+23)

Definition at line 71 of file lmsvc.h.

◆ SERVICE_UIC_M_REDIR

#define SERVICE_UIC_M_REDIR   (SERVICE_BASE+26)

Definition at line 74 of file lmsvc.h.

◆ SERVICE_UIC_M_SEC_FILE_ERR

#define SERVICE_UIC_M_SEC_FILE_ERR   (SERVICE_BASE+28)

Definition at line 76 of file lmsvc.h.

◆ SERVICE_UIC_M_SECURITY

#define SERVICE_UIC_M_SECURITY   (SERVICE_BASE+24)

Definition at line 72 of file lmsvc.h.

◆ SERVICE_UIC_M_SERVER

#define SERVICE_UIC_M_SERVER   (SERVICE_BASE+27)

Definition at line 75 of file lmsvc.h.

◆ SERVICE_UIC_M_SERVER_SEC_ERR

#define SERVICE_UIC_M_SERVER_SEC_ERR   (SERVICE_BASE+35)

Definition at line 83 of file lmsvc.h.

◆ SERVICE_UIC_M_THREADS

#define SERVICE_UIC_M_THREADS   (SERVICE_BASE+22)

Definition at line 70 of file lmsvc.h.

◆ SERVICE_UIC_M_UAS

#define SERVICE_UIC_M_UAS   (SERVICE_BASE+34)

Definition at line 82 of file lmsvc.h.

◆ SERVICE_UIC_M_UAS_INVALID_ROLE

#define SERVICE_UIC_M_UAS_INVALID_ROLE   (SERVICE_BASE+45)

Definition at line 92 of file lmsvc.h.

◆ SERVICE_UIC_M_UAS_MACHINE_ACCT

#define SERVICE_UIC_M_UAS_MACHINE_ACCT   (SERVICE_BASE+42)

Definition at line 89 of file lmsvc.h.

◆ SERVICE_UIC_M_UAS_PROLOG

#define SERVICE_UIC_M_UAS_PROLOG   (SERVICE_BASE+49)

Definition at line 96 of file lmsvc.h.

◆ SERVICE_UIC_M_UAS_SERVERS_NMEMB

#define SERVICE_UIC_M_UAS_SERVERS_NMEMB   (SERVICE_BASE+43)

Definition at line 90 of file lmsvc.h.

◆ SERVICE_UIC_M_UAS_SERVERS_NOGRP

#define SERVICE_UIC_M_UAS_SERVERS_NOGRP   (SERVICE_BASE+44)

Definition at line 91 of file lmsvc.h.

◆ SERVICE_UIC_M_WKSTA

#define SERVICE_UIC_M_WKSTA   (SERVICE_BASE+37)

Definition at line 84 of file lmsvc.h.

◆ SERVICE_UIC_MISSPARM

#define SERVICE_UIC_MISSPARM   (SERVICE_BASE+2)

Definition at line 54 of file lmsvc.h.

◆ SERVICE_UIC_NORMAL

#define SERVICE_UIC_NORMAL   0

Definition at line 52 of file lmsvc.h.

◆ SERVICE_UIC_RESOURCE

#define SERVICE_UIC_RESOURCE   (SERVICE_BASE+4)

Definition at line 56 of file lmsvc.h.

◆ SERVICE_UIC_SUBSERV

#define SERVICE_UIC_SUBSERV   (SERVICE_BASE+12)

Definition at line 64 of file lmsvc.h.

◆ SERVICE_UIC_SYSTEM

#define SERVICE_UIC_SYSTEM   (SERVICE_BASE+6)

Definition at line 58 of file lmsvc.h.

◆ SERVICE_UIC_UNKPARM

#define SERVICE_UIC_UNKPARM   (SERVICE_BASE+3)

Definition at line 55 of file lmsvc.h.

◆ SERVICE_UNINSTALL_PENDING

#define SERVICE_UNINSTALL_PENDING   2

Definition at line 11 of file lmsvc.h.

◆ SERVICE_UNINSTALLABLE

#define SERVICE_UNINSTALLABLE   16

Definition at line 20 of file lmsvc.h.

◆ SERVICE_UNINSTALLED

#define SERVICE_UNINSTALLED   0

Definition at line 9 of file lmsvc.h.

◆ UPPER_GET_HINT_MASK

#define UPPER_GET_HINT_MASK   0xFF00000

Definition at line 46 of file lmsvc.h.

◆ UPPER_HINT_MASK

#define UPPER_HINT_MASK   0xFF00

Definition at line 44 of file lmsvc.h.

Typedef Documentation

◆ LPSERVICE_INFO_0

◆ LPSERVICE_INFO_1

◆ LPSERVICE_INFO_2

◆ PSERVICE_INFO_0

◆ PSERVICE_INFO_1

◆ PSERVICE_INFO_2

◆ SERVICE_INFO_0

◆ SERVICE_INFO_1

◆ SERVICE_INFO_2

Function Documentation

◆ NetServiceControl()

NET_API_STATUS WINAPI NetServiceControl ( LPCWSTR  ,
LPCWSTR  ,
DWORD  ,
DWORD  ,
PBYTE  
)

◆ NetServiceEnum()

NET_API_STATUS WINAPI NetServiceEnum ( LPCWSTR  ,
DWORD  ,
PBYTE ,
DWORD  ,
PDWORD  ,
PDWORD  ,
PDWORD   
)

◆ NetServiceGetInfo()

NET_API_STATUS WINAPI NetServiceGetInfo ( LPCWSTR  ,
LPCWSTR  ,
DWORD  ,
PBYTE  
)

◆ NetServiceInstall()

NET_API_STATUS WINAPI NetServiceInstall ( LPCWSTR  ,
LPCWSTR  ,
DWORD  ,
LPCWSTR ,
PBYTE  
)