FspServiceContextCheck

Function FspServiceContextCheck 

Source
pub unsafe extern "C" fn FspServiceContextCheck(
    Token: HANDLE,
    PIsLocalSystem: PBOOLEAN,
) -> NTSTATUS
Expand description

Check if the supplied token is from the service context.

@param Token Token to check. Pass NULL to check the current process token. @param PIsLocalSystem Pointer to a boolean that will receive a TRUE value if the token belongs to LocalSystem and FALSE otherwise. May be NULL. @return STATUS_SUCCESS if the token is from the service context. STATUS_ACCESS_DENIED if it is not. Other error codes are possible.