mirror of
https://github.com/reactos/reactos.git
synced 2025-04-21 04:37:15 +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:
parent
2ea0f55590
commit
52654ceb2e
2 changed files with 16 additions and 0 deletions
|
@ -13763,9 +13763,16 @@ IoInitializeDpcRequest(
|
||||||
_In_ PDEVICE_OBJECT DeviceObject,
|
_In_ PDEVICE_OBJECT DeviceObject,
|
||||||
_In_ PIO_DPC_ROUTINE DpcRoutine)
|
_In_ PIO_DPC_ROUTINE DpcRoutine)
|
||||||
{
|
{
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#pragma warning(push)
|
||||||
|
#pragma warning(disable:28024)
|
||||||
|
#endif
|
||||||
KeInitializeDpc(&DeviceObject->Dpc,
|
KeInitializeDpc(&DeviceObject->Dpc,
|
||||||
(PKDEFERRED_ROUTINE) DpcRoutine,
|
(PKDEFERRED_ROUTINE) DpcRoutine,
|
||||||
DeviceObject);
|
DeviceObject);
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#pragma warning(pop)
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#define DEVICE_INTERFACE_INCLUDE_NONACTIVE 0x00000001
|
#define DEVICE_INTERFACE_INCLUDE_NONACTIVE 0x00000001
|
||||||
|
@ -13821,6 +13828,7 @@ IoInitializeThreadedDpcRequest(
|
||||||
{
|
{
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#pragma warning(push)
|
#pragma warning(push)
|
||||||
|
#pragma warning(disable:28024)
|
||||||
#pragma warning(disable:28128)
|
#pragma warning(disable:28128)
|
||||||
#endif
|
#endif
|
||||||
KeInitializeThreadedDpc(&DeviceObject->Dpc,
|
KeInitializeThreadedDpc(&DeviceObject->Dpc,
|
||||||
|
|
|
@ -2793,9 +2793,16 @@ IoInitializeDpcRequest(
|
||||||
_In_ PDEVICE_OBJECT DeviceObject,
|
_In_ PDEVICE_OBJECT DeviceObject,
|
||||||
_In_ PIO_DPC_ROUTINE DpcRoutine)
|
_In_ PIO_DPC_ROUTINE DpcRoutine)
|
||||||
{
|
{
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#pragma warning(push)
|
||||||
|
#pragma warning(disable:28024)
|
||||||
|
#endif
|
||||||
KeInitializeDpc(&DeviceObject->Dpc,
|
KeInitializeDpc(&DeviceObject->Dpc,
|
||||||
(PKDEFERRED_ROUTINE) DpcRoutine,
|
(PKDEFERRED_ROUTINE) DpcRoutine,
|
||||||
DeviceObject);
|
DeviceObject);
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#pragma warning(pop)
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#define DEVICE_INTERFACE_INCLUDE_NONACTIVE 0x00000001
|
#define DEVICE_INTERFACE_INCLUDE_NONACTIVE 0x00000001
|
||||||
|
@ -2851,6 +2858,7 @@ IoInitializeThreadedDpcRequest(
|
||||||
{
|
{
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#pragma warning(push)
|
#pragma warning(push)
|
||||||
|
#pragma warning(disable:28024)
|
||||||
#pragma warning(disable:28128)
|
#pragma warning(disable:28128)
|
||||||
#endif
|
#endif
|
||||||
KeInitializeThreadedDpc(&DeviceObject->Dpc,
|
KeInitializeThreadedDpc(&DeviceObject->Dpc,
|
||||||
|
|
Loading…
Reference in a new issue