mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 12:29:56 +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_ 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,
|
||||
|
|
Loading…
Reference in a new issue