BOOLEAN KeAddSystemServiceTable ( IN PULONG_PTR Base, IN PULONG Count OPTIONAL, IN ULONG Limit, IN PUCHAR Number, IN ULONG Index )
/*++
Routine Description:
This function adds the specified system service table to the system.
Arguments:
Base - Supplies the address of the system service table dispatch table.
Count - Supplies an optional pointer to a table of per system service counters.
Limit - Supplies the limit of the service table. Services greater than or equal to this limit will fail.
Arguments - Supplies the address of the argument count table.
Index - Supplies index of the service table.
Return Value:
TRUE - The operation was successful.
FALSE - the operation failed. A service table is already bound to the specified location, or the specified index is larger than the maximum allowed index.
--*/
{
PAGED_CODE();
// // If a system service table is already defined for the specified // index, then return FALSE. Otherwise, establish the new system // service table. //
// // If the service table index is equal to the Win32 table, then // only update the shadow system service table. Otherwise, both // the shadow and static system service tables are updated. //