mirror of
https://github.com/reactos/reactos.git
synced 2025-06-26 20:59:44 +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
|
NTSTATUS NTAPI
|
||||||
TiDispatch(
|
TiDispatch(
|
||||||
PDEVICE_OBJECT DeviceObject,
|
PDEVICE_OBJECT DeviceObject,
|
||||||
PIRP Irp)
|
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;
|
NTSTATUS Status;
|
||||||
PIO_STACK_LOCATION IrpSp;
|
PIO_STACK_LOCATION IrpSp;
|
||||||
|
@ -497,15 +500,19 @@ TiDispatch(
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
Status = TdiMapUserRequest(DeviceObject, Irp, IrpSp);
|
Status = TdiMapUserRequest(DeviceObject, Irp, IrpSp);
|
||||||
if (NT_SUCCESS(Status)) {
|
if (NT_SUCCESS(Status))
|
||||||
|
{
|
||||||
TiDispatchInternal(DeviceObject, Irp);
|
TiDispatchInternal(DeviceObject, Irp);
|
||||||
Status = STATUS_PENDING;
|
Status = STATUS_PENDING;
|
||||||
} else {
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
#else
|
#else
|
||||||
if (TRUE) {
|
if (TRUE) {
|
||||||
#endif
|
#endif
|
||||||
/* See if this request is TCP/IP specific */
|
/* See if this request is TCP/IP specific */
|
||||||
switch (IrpSp->Parameters.DeviceIoControl.IoControlCode) {
|
switch (IrpSp->Parameters.DeviceIoControl.IoControlCode)
|
||||||
|
{
|
||||||
case IOCTL_TCP_QUERY_INFORMATION_EX:
|
case IOCTL_TCP_QUERY_INFORMATION_EX:
|
||||||
TI_DbgPrint(MIN_TRACE, ("TCP_QUERY_INFORMATION_EX\n"));
|
TI_DbgPrint(MIN_TRACE, ("TCP_QUERY_INFORMATION_EX\n"));
|
||||||
Status = DispTdiQueryInformationEx(Irp, IrpSp);
|
Status = DispTdiQueryInformationEx(Irp, IrpSp);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue