ControlServiceEx function advapi32

int ControlServiceEx(
  1. int hService,
  2. int dwControl,
  3. int dwInfoLevel,
  4. Pointer<NativeType> pControlParams,
)

Sends a control code to a service.

BOOL ControlServiceExW(
  [in]      SC_HANDLE hService,
  [in]      DWORD     dwControl,
  [in]      DWORD     dwInfoLevel,
  [in, out] PVOID     pControlParams
);

Implementation

int ControlServiceEx(
        int hService, int dwControl, int dwInfoLevel, Pointer pControlParams) =>
    _ControlServiceEx(hService, dwControl, dwInfoLevel, pControlParams);