mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 04:13:33 +00:00
[DDK/XDK]
- Disable VS11 warning about cast between different function classes (IO_DPC_ROUTINE to KDEFERRED_ROUTINE) where needed svn path=/trunk/; revision=55129
This commit is contained in:
@@ -13763,9 +13763,16 @@ IoInitializeDpcRequest(
|
||||
_In_ PDEVICE_OBJECT DeviceObject,
|
||||
_In_ PIO_DPC_ROUTINE DpcRoutine)
|
||||
{
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable:28024)
|
||||
#endif
|
||||
KeInitializeDpc(&DeviceObject->Dpc,
|
||||
(PKDEFERRED_ROUTINE) DpcRoutine,
|
||||
DeviceObject);
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
}
|
||||
|
||||
#define DEVICE_INTERFACE_INCLUDE_NONACTIVE 0x00000001
|
||||
@@ -13821,6 +13828,7 @@ IoInitializeThreadedDpcRequest(
|
||||
{
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable:28024)
|
||||
#pragma warning(disable:28128)
|
||||
#endif
|
||||
KeInitializeThreadedDpc(&DeviceObject->Dpc,
|
||||
|
||||
@@ -2793,9 +2793,16 @@ IoInitializeDpcRequest(
|
||||
_In_ PDEVICE_OBJECT DeviceObject,
|
||||
_In_ PIO_DPC_ROUTINE DpcRoutine)
|
||||
{
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable:28024)
|
||||
#endif
|
||||
KeInitializeDpc(&DeviceObject->Dpc,
|
||||
(PKDEFERRED_ROUTINE) DpcRoutine,
|
||||
DeviceObject);
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
}
|
||||
|
||||
#define DEVICE_INTERFACE_INCLUDE_NONACTIVE 0x00000001
|
||||
@@ -2851,6 +2858,7 @@ IoInitializeThreadedDpcRequest(
|
||||
{
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable:28024)
|
||||
#pragma warning(disable:28128)
|
||||
#endif
|
||||
KeInitializeThreadedDpc(&DeviceObject->Dpc,
|
||||
|
||||
Reference in New Issue
Block a user