ChangeServiceConfigA method
int
ChangeServiceConfigA(
- Pointer<SC_HANDLE__> hService,
- int dwServiceType,
- int dwStartType,
- int dwErrorControl,
- Pointer<Int8> lpBinaryPathName,
- Pointer<Int8> lpLoadOrderGroup,
- Pointer<Uint64> lpdwTagId,
- Pointer<Int8> lpDependencies,
- Pointer<Int8> lpServiceStartName,
- Pointer<Int8> lpPassword,
- Pointer<Int8> lpDisplayName,
)
Implementation
int ChangeServiceConfigA(
ffi.Pointer<SC_HANDLE__> hService,
int dwServiceType,
int dwStartType,
int dwErrorControl,
ffi.Pointer<ffi.Int8> lpBinaryPathName,
ffi.Pointer<ffi.Int8> lpLoadOrderGroup,
ffi.Pointer<ffi.Uint64> lpdwTagId,
ffi.Pointer<ffi.Int8> lpDependencies,
ffi.Pointer<ffi.Int8> lpServiceStartName,
ffi.Pointer<ffi.Int8> lpPassword,
ffi.Pointer<ffi.Int8> lpDisplayName,
) {
return (_ChangeServiceConfigA ??= _dylib.lookupFunction<
_c_ChangeServiceConfigA,
_dart_ChangeServiceConfigA>('ChangeServiceConfigA'))(
hService,
dwServiceType,
dwStartType,
dwErrorControl,
lpBinaryPathName,
lpLoadOrderGroup,
lpdwTagId,
lpDependencies,
lpServiceStartName,
lpPassword,
lpDisplayName,
);
}