Annotation of ntddk/src/network/streams/in_ntos.c, revision 1.1.1.1

1.1       root        1: /*++
                      2: 
                      3: Copyright (c) 1991  Microsoft Corporation
                      4: 
                      5: Module Name:
                      6: 
                      7:     in_ntos.c
                      8: 
                      9: Abstract:
                     10: 
                     11:     This module contains the NT skeleton of the insulating modules for
                     12:     subsystem-parallelized stacks.  It contains the functions expected
                     13:     of an NT Device Driver.
                     14: 
                     15: --*/
                     16: 
                     17: #include "insulate.h"
                     18: 
                     19: 
                     20: 
                     21: 
                     22: NTSTATUS
                     23: DriverEntry (
                     24:     IN PDRIVER_OBJECT driver,
                     25:     IN PUNICODE_STRING description
                     26:     )
                     27: 
                     28: /*++
                     29: 
                     30: Routine Description:
                     31: 
                     32:     This procedure is called when the NT driver is loaded.  It registers
                     33:     the STREAMS modules that it contains.
                     34: 
                     35: Arguments:
                     36: 
                     37:     driver      - ptr to the NT driver object created by the system.
                     38:     description -  unused
                     39: 
                     40: Return Value:
                     41: 
                     42:     the final status from the initialization operation.
                     43: 
                     44: --*/
                     45: 
                     46: {
                     47:     NTSTATUS status;
                     48: 
                     49:     status = StrmRegisterModule(driver, &exbotinfo, "stack");
                     50: 
                     51:     ASSERT(NT_SUCCESS(status));
                     52: 
                     53:     status = StrmRegisterModule(driver, &extopinfo, "stack");
                     54: 
                     55:     ASSERT(NT_SUCCESS(status));
                     56: 
                     57:     status = StrmRegisterModule(driver, &inbotinfo, NULL);
                     58: 
                     59:     ASSERT(NT_SUCCESS(status));
                     60: 
                     61:     status = StrmRegisterModule(driver, &intopinfo, NULL);
                     62: 
                     63:     ASSERT(NT_SUCCESS(status));
                     64: 
                     65:     return(status);
                     66: 
                     67: } // DriverEntry

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.