windows::Win32::System::Services

Function CreateServiceW

pub unsafe fn CreateServiceW<P1, P2, P7, P8, P10, P11, P12>(
    hscmanager: SC_HANDLE,
    lpservicename: P1,
    lpdisplayname: P2,
    dwdesiredaccess: u32,
    dwservicetype: ENUM_SERVICE_TYPE,
    dwstarttype: SERVICE_START_TYPE,
    dwerrorcontrol: SERVICE_ERROR,
    lpbinarypathname: P7,
    lploadordergroup: P8,
    lpdwtagid: Option<*mut u32>,
    lpdependencies: P10,
    lpservicestartname: P11,
    lppassword: P12,
) -> Result<SC_HANDLE>
where P1: Param<PCWSTR>, P2: Param<PCWSTR>, P7: Param<PCWSTR>, P8: Param<PCWSTR>, P10: Param<PCWSTR>, P11: Param<PCWSTR>, P12: Param<PCWSTR>,