mirror of
https://github.com/reactos/reactos.git
synced 2025-06-26 15:39:42 +00:00
[TCPIP][FORMATTING] Format TiDispatch function. No functional changes
This commit is contained in:
parent
1fdf06c563
commit
792b64ea46
1 changed files with 46 additions and 39 deletions
|
@ -473,18 +473,21 @@ TiDispatchInternal(
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
* @brief Dispatch routine for IRP_MJ_DEVICE_CONTROL requests
|
||||
*
|
||||
* @param[in] DeviceObject
|
||||
* Pointer to a device object for this driver
|
||||
* @param[in] Irp
|
||||
* Pointer to a I/O request packet
|
||||
*
|
||||
* @return
|
||||
* Status of the operation
|
||||
*/
|
||||
NTSTATUS NTAPI
|
||||
TiDispatch(
|
||||
PDEVICE_OBJECT DeviceObject,
|
||||
PIRP Irp)
|
||||
/*
|
||||
* FUNCTION: Dispatch routine for IRP_MJ_DEVICE_CONTROL requests
|
||||
* ARGUMENTS:
|
||||
* DeviceObject = Pointer to a device object for this driver
|
||||
* Irp = Pointer to a I/O request packet
|
||||
* RETURNS:
|
||||
* Status of the operation
|
||||
*/
|
||||
{
|
||||
NTSTATUS Status;
|
||||
PIO_STACK_LOCATION IrpSp;
|
||||
|
@ -497,15 +500,19 @@ TiDispatch(
|
|||
|
||||
#if 0
|
||||
Status = TdiMapUserRequest(DeviceObject, Irp, IrpSp);
|
||||
if (NT_SUCCESS(Status)) {
|
||||
if (NT_SUCCESS(Status))
|
||||
{
|
||||
TiDispatchInternal(DeviceObject, Irp);
|
||||
Status = STATUS_PENDING;
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
#else
|
||||
if (TRUE) {
|
||||
#endif
|
||||
/* See if this request is TCP/IP specific */
|
||||
switch (IrpSp->Parameters.DeviceIoControl.IoControlCode) {
|
||||
switch (IrpSp->Parameters.DeviceIoControl.IoControlCode)
|
||||
{
|
||||
case IOCTL_TCP_QUERY_INFORMATION_EX:
|
||||
TI_DbgPrint(MIN_TRACE, ("TCP_QUERY_INFORMATION_EX\n"));
|
||||
Status = DispTdiQueryInformationEx(Irp, IrpSp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue