Function winfsp_sys::FspLaunchStart

source ·
pub unsafe extern "C" fn FspLaunchStart(
    ClassName: PWSTR,
    InstanceName: PWSTR,
    Argc: ULONG,
    Argv: *mut PWSTR,
    HasSecret: BOOLEAN,
    PLauncherError: PULONG
) -> NTSTATUS
Expand description

Start a service instance.

@param ClassName Class name of the service instance to start. @param InstanceName Instance name of the service instance to start. @param Argc Service instance argument count. May be 0. @param Argv Service instance argument array. May be NULL. @param HasSecret Whether the last argument in Argv is assumed to be a secret (e.g. password) or not. Secrets are passed to service instances through standard input rather than the command line. @param PLauncherError Receives the launcher error if any. This is always a Win32 error code. May not be NULL. @return STATUS_SUCCESS if the command is sent successfully to the launcher, even if the launcher returns an error. Other status codes indicate a communication error. Launcher errors are reported through PLauncherError.