NetServiceControl function (lmsvc.h)
The NetServiceControl function is obsolete. It is included for compatibility with 16-bit versions of Windows. Other applications should use the service functions.
Syntax
NET_API_STATUS NET_API_FUNCTION NetServiceControl(
LPCWSTR servername,
LPCWSTR service,
DWORD opcode,
DWORD arg,
LPBYTE *bufptr
);
Parameters
servername
TBD
service
TBD
opcode
TBD
arg
TBD
bufptr
TBD
Return value
None
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | lmsvc.h |