OpenServiceW method
Pointer<SC_HANDLE__>
OpenServiceW(
- Pointer<
SC_HANDLE__> hSCManager, - Pointer<
Uint16> lpServiceName, - int dwDesiredAccess
Implementation
ffi.Pointer<SC_HANDLE__> OpenServiceW(
ffi.Pointer<SC_HANDLE__> hSCManager,
ffi.Pointer<ffi.Uint16> lpServiceName,
int dwDesiredAccess,
) {
return (_OpenServiceW ??= _dylib
.lookupFunction<_c_OpenServiceW, _dart_OpenServiceW>('OpenServiceW'))(
hSCManager,
lpServiceName,
dwDesiredAccess,
);
}