Author: akhaldi
Date: Fri Mar 12 17:55:09 2010
New Revision: 46139
URL:
http://svn.reactos.org/svn/reactos?rev=46139&view=rev
Log:
[NTIFS]
- Remove redundant IoSizeOfIrp, PoSetDeviceBusy and PPOWER_SETTING_CALLBACK definitions
(They exist in wdm.h)
Modified:
branches/header-work/include/ddk/ntifs.h
Modified: branches/header-work/include/ddk/ntifs.h
URL:
http://svn.reactos.org/svn/reactos/branches/header-work/include/ddk/ntifs.h…
==============================================================================
--- branches/header-work/include/ddk/ntifs.h [iso-8859-1] (original)
+++ branches/header-work/include/ddk/ntifs.h [iso-8859-1] Fri Mar 12 17:55:09 2010
@@ -6233,9 +6233,6 @@
) \
)
-#define IoSizeOfIrp( StackSize ) \
- ((USHORT) (sizeof( IRP ) + ((StackSize) * (sizeof( IO_STACK_LOCATION )))))
-
#if (NTDDI_VERSION >= NTDDI_VISTA)
typedef struct _IO_PRIORITY_INFO {
ULONG Size;
@@ -6244,15 +6241,6 @@
IO_PRIORITY_HINT IoPriority;
} IO_PRIORITY_INFO, *PIO_PRIORITY_INFO;
#endif
-
-#define PoSetDeviceBusy(IdlePointer) *IdlePointer = 0
-
-typedef NTSTATUS
-(NTAPI *PPOWER_SETTING_CALLBACK) (
- IN LPCGUID SettingGuid,
- IN PVOID Value,
- IN ULONG ValueLength,
- IN OUT PVOID Context OPTIONAL);
#define PO_CB_SYSTEM_POWER_POLICY 0
#define PO_CB_AC_STATUS 1