// ntddk.h
typedef struct _SILO_MONITOR_REGISTRATION {
UCHAR Version;
BOOLEAN MonitorHost;
BOOLEAN MonitorExistingSilos;
UCHAR Reserved[5];
union {
PUNICODE_STRING DriverObjectName;
PUNICODE_STRING ComponentName;
};
SILO_MONITOR_CREATE_CALLBACK CreateCallback;
SILO_MONITOR_TERMINATE_CALLBACK TerminateCallback;
} SILO_MONITOR_REGISTRATION, *PSILO_MONITOR_REGISTRATION;
View the official Windows Driver Kit DDI referenceNo description available.
This structure specifies a server silo monitor that can receive notifications about server silo events.
VersionSet to SILO_MONITOR_REGISTRATION_VERSION.
MonitorHostIf true, a create notification will be delivered for the host context.
MonitorExistingSilosIf true, create and terminate notifications will be delivered for any silos that currently exist at the time of registration; otherwise, only notifications for new silos will be delivered.
ReservedReserved for system use.
DriverObjectNameComponentNameCreateCallbackA pointer to a callback that is invoked whenever a new server silo is created on the system. This value may be NULL. This gives drivers to opportunity to handle the event and set up per-silo data structures.
TerminateCallbackA pointer to a callback that is invoked whenever a server silo is terminated (about to be destroyed) on the system. This value may be NULL. This gives drivers the opportunity to complete work within the silo and begin tearing down their per-silo data structures.
A pointer to the unicode name for the driver object registering for notifications.
A pointer to the unicode name for the component registering for notifications.