Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

PsGetJobSilo function (ntddk.h)

This routine returns the first job in the hierarchy that is a Silo. The returned pointer is valid as long as the supplied Job object remains referenced.

This returns both app silos and server silos, whichever is first.

Syntax

NTSTATUS PsGetJobSilo(
 [in] PEJOB Job,
 [out] PESILO *Silo
);

Parameters

[in] Job

A job object.

[out] Silo

A pointer that receives the silo for the job.

Return value

The following NT status codes are returned:

Return code Description
STATUS_INVALID_PARAMETER The Job parameter is NULL.
STATUS_JOB_NO_CONTAINER No silo is present.
STATUS_SUCCESS A PESILO is returned successfully.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1607
Minimum supported server Windows Server 2016
Target Platform Windows
Header ntddk.h

Feedback

Was this page helpful?

Additional resources