GetServiceDisplayNameW method
Implementation
int GetServiceDisplayNameW(
ffi.Pointer<SC_HANDLE__> hSCManager,
ffi.Pointer<ffi.Uint16> lpServiceName,
ffi.Pointer<ffi.Uint16> lpDisplayName,
ffi.Pointer<ffi.Uint64> lpcchBuffer,
) {
return (_GetServiceDisplayNameW ??= _dylib.lookupFunction<
_c_GetServiceDisplayNameW,
_dart_GetServiceDisplayNameW>('GetServiceDisplayNameW'))(
hSCManager,
lpServiceName,
lpDisplayName,
lpcchBuffer,
);
}