mirror of
https://github.com/reactos/reactos.git
synced 2025-06-15 09:18:30 +00:00
[NTIFS]
- Remove redundant IoSizeOfIrp, PoSetDeviceBusy and PPOWER_SETTING_CALLBACK definitions (They exist in wdm.h) svn path=/branches/header-work/; revision=46139
This commit is contained in:
parent
d418c3b59e
commit
401b11a24d
1 changed files with 0 additions and 12 deletions
|
@ -6233,9 +6233,6 @@ IoReplaceFileObjectName(
|
||||||
) \
|
) \
|
||||||
)
|
)
|
||||||
|
|
||||||
#define IoSizeOfIrp( StackSize ) \
|
|
||||||
((USHORT) (sizeof( IRP ) + ((StackSize) * (sizeof( IO_STACK_LOCATION )))))
|
|
||||||
|
|
||||||
#if (NTDDI_VERSION >= NTDDI_VISTA)
|
#if (NTDDI_VERSION >= NTDDI_VISTA)
|
||||||
typedef struct _IO_PRIORITY_INFO {
|
typedef struct _IO_PRIORITY_INFO {
|
||||||
ULONG Size;
|
ULONG Size;
|
||||||
|
@ -6245,15 +6242,6 @@ typedef struct _IO_PRIORITY_INFO {
|
||||||
} IO_PRIORITY_INFO, *PIO_PRIORITY_INFO;
|
} IO_PRIORITY_INFO, *PIO_PRIORITY_INFO;
|
||||||
#endif
|
#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_SYSTEM_POWER_POLICY 0
|
||||||
#define PO_CB_AC_STATUS 1
|
#define PO_CB_AC_STATUS 1
|
||||||
#define PO_CB_BUTTON_COLLISION 2
|
#define PO_CB_BUTTON_COLLISION 2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue