ChangeServiceConfigW method
int
ChangeServiceConfigW(
- Pointer<
SC_HANDLE__> hService, - int dwServiceType,
- int dwStartType,
- int dwErrorControl,
- Pointer<
Uint16> lpBinaryPathName, - Pointer<
Uint16> lpLoadOrderGroup, - Pointer<
Uint64> lpdwTagId, - Pointer<
Uint16> lpDependencies, - Pointer<
Uint16> lpServiceStartName, - Pointer<
Uint16> lpPassword, - Pointer<
Uint16> lpDisplayName,
Implementation
int ChangeServiceConfigW(
ffi.Pointer<SC_HANDLE__> hService,
int dwServiceType,
int dwStartType,
int dwErrorControl,
ffi.Pointer<ffi.Uint16> lpBinaryPathName,
ffi.Pointer<ffi.Uint16> lpLoadOrderGroup,
ffi.Pointer<ffi.Uint64> lpdwTagId,
ffi.Pointer<ffi.Uint16> lpDependencies,
ffi.Pointer<ffi.Uint16> lpServiceStartName,
ffi.Pointer<ffi.Uint16> lpPassword,
ffi.Pointer<ffi.Uint16> lpDisplayName,
) {
return (_ChangeServiceConfigW ??= _dylib.lookupFunction<
_c_ChangeServiceConfigW,
_dart_ChangeServiceConfigW>('ChangeServiceConfigW'))(
hService,
dwServiceType,
dwStartType,
dwErrorControl,
lpBinaryPathName,
lpLoadOrderGroup,
lpdwTagId,
lpDependencies,
lpServiceStartName,
lpPassword,
lpDisplayName,
);
}