NTSTATUS
DriverEntry(
  IN  PDRIVER_OBJECT DriverObject,
  IN  PUNICODE_STRING RegistryPath
  );

Routine Description:

    This is the initialization routine for the Named Pipe file system
    device driver.  This routine creates the device object for the named pipe
    device and performs all other driver initialization.

Arguments:

    DriverObject - Pointer to driver object created by the system.

Return Value:

    NTSTATUS - The function value is the final status from the initialization
        operation.