Function winfsp_sys::FspLaunchStartEx
source · pub unsafe extern "C" fn FspLaunchStartEx(
ClassName: PWSTR,
InstanceName: PWSTR,
Argc: ULONG,
Argv: *mut PWSTR,
HasSecret: BOOLEAN,
AllowImpersonation: 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 AllowImpersonation Allow caller to be impersonated by launcher. @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.