Function windows_sys::Win32::System::Services::CreateServiceA
[−]pub unsafe extern "system" fn CreateServiceA(
hscmanager: SC_HANDLE,
lpservicename: PCSTR,
lpdisplayname: PCSTR,
dwdesiredaccess: u32,
dwservicetype: ENUM_SERVICE_TYPE,
dwstarttype: SERVICE_START_TYPE,
dwerrorcontrol: SERVICE_ERROR,
lpbinarypathname: PCSTR,
lploadordergroup: PCSTR,
lpdwtagid: *mut u32,
lpdependencies: PCSTR,
lpservicestartname: PCSTR,
lppassword: PCSTR
) -> SC_HANDLE
Expand description
Required features: "Win32_System_Services"
, "Win32_Security"