Note

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

Access to this page requires authorization. You can try .

PsRegisterSiloMonitor function (ntddk.h)

This routine registers a server silo monitor that can receive notifications about server silo events.

To start receiving notifications, call the PsStartSiloMonitor routine.

Syntax

NTSTATUS PsRegisterSiloMonitor(
 [in] PSILO_MONITOR_REGISTRATION Registration,
 [out] PSILO_MONITOR *ReturnedMonitor
);

Parameters

[in] Registration

Specifies the server silo monitor to be registered, of type SILO_MONITOR_REGISTRATION.

[out] ReturnedMonitor

Receives a pointer to the monitor. This pointer is used to make further monitor-related calls.

Return value

The following NT status codes are returned:

Return code Description
STATUS_INVALID_PARAMETER The version specified in ntddk.h does not match SILO_MONITOR_REGISTRATION_VERSION, the component name is not specified, or the terminate callback is not supplied.
STATUS_PRIVILEDGE_NOT_HELD The routine is called in a silo.
STATUS_INSUFFICIENT_RESOURCES There is no memory to register a silo monitor or there is no available silo slot.
STATUS_SUCCESS The operation completed 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