mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 17:16:04 +00:00
[FORMATTING]
Fix indentation. No code changes! svn path=/trunk/; revision=61084
This commit is contained in:
parent
41ccb2555a
commit
e5769b0d38
4 changed files with 181 additions and 174 deletions
|
@ -157,7 +157,9 @@ PcmciaPower(PDEVICE_OBJECT DeviceObject,
|
|||
}
|
||||
|
||||
/* Report that we changed state to the Power Manager */
|
||||
PoSetPowerState(DeviceObject, IrpSp->Parameters.Power.Type, IrpSp->Parameters.Power.State);
|
||||
PoSetPowerState(DeviceObject,
|
||||
IrpSp->Parameters.Power.Type,
|
||||
IrpSp->Parameters.Power.State);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
@ -195,7 +197,8 @@ PcmciaAddDevice(PDRIVER_OBJECT DriverObject,
|
|||
FILE_DEVICE_SECURE_OPEN,
|
||||
FALSE,
|
||||
&Fdo);
|
||||
if (!NT_SUCCESS(Status)) return Status;
|
||||
if (!NT_SUCCESS(Status))
|
||||
return Status;
|
||||
|
||||
FdoExt = Fdo->DeviceExtension;
|
||||
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
#include <stdio.h>
|
||||
#include <ntddk.h>
|
||||
|
||||
typedef enum {
|
||||
typedef enum
|
||||
{
|
||||
dsStopped,
|
||||
dsStarted,
|
||||
dsPaused,
|
||||
|
@ -12,7 +13,8 @@ typedef enum {
|
|||
dsSurpriseRemoved
|
||||
} PCMCIA_DEVICE_STATE;
|
||||
|
||||
typedef struct _PCMCIA_COMMON_EXTENSION {
|
||||
typedef struct _PCMCIA_COMMON_EXTENSION
|
||||
{
|
||||
PDEVICE_OBJECT Self;
|
||||
BOOLEAN IsFDO;
|
||||
POWER_SEQUENCE PowerSequence;
|
||||
|
@ -21,11 +23,13 @@ typedef struct _PCMCIA_COMMON_EXTENSION {
|
|||
SYSTEM_POWER_STATE SystemPowerState;
|
||||
} PCMCIA_COMMON_EXTENSION, *PPCMCIA_COMMON_EXTENSION;
|
||||
|
||||
typedef struct _PCMCIA_PDO_EXTENSION {
|
||||
typedef struct _PCMCIA_PDO_EXTENSION
|
||||
{
|
||||
PCMCIA_COMMON_EXTENSION Common;
|
||||
} PCMCIA_PDO_EXTENSION, *PPCMCIA_PDO_EXTENSION;
|
||||
|
||||
typedef struct _PCMCIA_FDO_EXTENSION {
|
||||
typedef struct _PCMCIA_FDO_EXTENSION
|
||||
{
|
||||
PCMCIA_COMMON_EXTENSION Common;
|
||||
PDEVICE_OBJECT Ldo;
|
||||
LIST_ENTRY ChildDeviceList;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue