Share via


Función NetServiceControl (lmsvc.h)

La función NetServiceControl está obsoleta. Se incluye por compatibilidad con versiones de 16 bits de Windows. Otras aplicaciones deben usar las funciones de servicio.

Sintaxis

NET_API_STATUS NET_API_FUNCTION NetServiceControl(
  LPCWSTR servername,
  LPCWSTR service,
  DWORD   opcode,
  DWORD   arg,
  LPBYTE  *bufptr
);

Parámetros

servername

TBD

service

TBD

opcode

TBD

arg

TBD

bufptr

TBD

Valor devuelto

None

Requisitos

   
Plataforma de destino Windows
Encabezado lmsvc.h