Author: dgorbachev
Date: Mon Oct 5 16:13:09 2009
New Revision: 43302
URL:
http://svn.reactos.org/svn/reactos?rev=43302&view=rev
Log:
Avoid GCC warnings: deprecated conversion from string constant to 'WCHAR*'.
Modified:
trunk/reactos/drivers/wdm/audio/backpln/portcls/filter_dmus.cpp
trunk/reactos/drivers/wdm/audio/backpln/portcls/filter_topology.cpp
trunk/reactos/drivers/wdm/audio/backpln/portcls/filter_wavecyclic.cpp
trunk/reactos/drivers/wdm/audio/backpln/portcls/filter_wavepci.cpp
trunk/reactos/drivers/wdm/audio/backpln/portcls/filter_wavert.cpp
trunk/reactos/drivers/wdm/audio/backpln/portcls/interfaces.hpp
trunk/reactos/drivers/wdm/audio/backpln/portcls/pin_dmus.cpp
trunk/reactos/drivers/wdm/audio/backpln/portcls/pin_wavecyclic.cpp
trunk/reactos/drivers/wdm/audio/backpln/portcls/pin_wavepci.cpp
trunk/reactos/drivers/wdm/audio/backpln/portcls/pin_wavert.cpp
trunk/reactos/drivers/wdm/audio/backpln/portcls/port_dmus.cpp
trunk/reactos/drivers/wdm/audio/backpln/portcls/port_topology.cpp
trunk/reactos/drivers/wdm/audio/backpln/portcls/port_wavecyclic.cpp
trunk/reactos/drivers/wdm/audio/backpln/portcls/port_wavepci.cpp
trunk/reactos/drivers/wdm/audio/backpln/portcls/port_wavert.cpp
Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/filter_dmus.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/portcls/filter_dmus.cpp [iso-8859-1]
(original)
+++ trunk/reactos/drivers/wdm/audio/backpln/portcls/filter_dmus.cpp [iso-8859-1] Mon Oct
5 16:13:09 2009
@@ -68,7 +68,7 @@
NTAPI
CPortFilterDMus::NewIrpTarget(
OUT struct IIrpTarget **OutTarget,
- IN WCHAR * Name,
+ IN PCWSTR Name,
IN PUNKNOWN Unknown,
IN POOL_TYPE PoolType,
IN PDEVICE_OBJECT DeviceObject,
Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/filter_topology.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/portcls/filter_topology.cpp [iso-8859-1]
(original)
+++ trunk/reactos/drivers/wdm/audio/backpln/portcls/filter_topology.cpp [iso-8859-1] Mon
Oct 5 16:13:09 2009
@@ -69,7 +69,7 @@
NTAPI
CPortFilterTopology::NewIrpTarget(
OUT struct IIrpTarget **OutTarget,
- IN WCHAR * Name,
+ IN PCWSTR Name,
IN PUNKNOWN Unknown,
IN POOL_TYPE PoolType,
IN PDEVICE_OBJECT DeviceObject,
Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/filter_wavecyclic.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/portcls/filter_wavecyclic.cpp [iso-8859-1]
(original)
+++ trunk/reactos/drivers/wdm/audio/backpln/portcls/filter_wavecyclic.cpp [iso-8859-1] Mon
Oct 5 16:13:09 2009
@@ -68,7 +68,7 @@
NTAPI
CPortFilterWaveCyclic::NewIrpTarget(
OUT struct IIrpTarget **OutTarget,
- IN WCHAR * Name,
+ IN PCWSTR Name,
IN PUNKNOWN Unknown,
IN POOL_TYPE PoolType,
IN PDEVICE_OBJECT DeviceObject,
Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/filter_wavepci.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/portcls/filter_wavepci.cpp [iso-8859-1]
(original)
+++ trunk/reactos/drivers/wdm/audio/backpln/portcls/filter_wavepci.cpp [iso-8859-1] Mon
Oct 5 16:13:09 2009
@@ -70,7 +70,7 @@
NTAPI
CPortFilterWavePci::NewIrpTarget(
OUT struct IIrpTarget **OutTarget,
- IN WCHAR * Name,
+ IN PCWSTR Name,
IN PUNKNOWN Unknown,
IN POOL_TYPE PoolType,
IN PDEVICE_OBJECT DeviceObject,
Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/filter_wavert.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/portcls/filter_wavert.cpp [iso-8859-1]
(original)
+++ trunk/reactos/drivers/wdm/audio/backpln/portcls/filter_wavert.cpp [iso-8859-1] Mon Oct
5 16:13:09 2009
@@ -69,7 +69,7 @@
NTAPI
CPortFilterWaveRT::NewIrpTarget(
OUT struct IIrpTarget **OutTarget,
- IN WCHAR * Name,
+ IN PCWSTR Name,
IN PUNKNOWN Unknown,
IN POOL_TYPE PoolType,
IN PDEVICE_OBJECT DeviceObject,
Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/interfaces.hpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/portcls/interfaces.hpp [iso-8859-1]
(original)
+++ trunk/reactos/drivers/wdm/audio/backpln/portcls/interfaces.hpp [iso-8859-1] Mon Oct 5
16:13:09 2009
@@ -11,10 +11,10 @@
*****************************************************************************
*/
-#define IMP_IIrpTarget \
+#define IMP_IIrpTarget \
STDMETHODIMP_(NTSTATUS) NewIrpTarget(THIS_ \
OUT struct IIrpTarget **OutTarget, \
- IN WCHAR * Name, \
+ IN PCWSTR Name, \
IN PUNKNOWN Unknown, \
IN POOL_TYPE PoolType, \
IN PDEVICE_OBJECT DeviceObject, \
@@ -25,23 +25,23 @@
IN PDEVICE_OBJECT DeviceObject, \
IN PIRP Irp); \
\
- STDMETHODIMP_(NTSTATUS) Read(THIS_ \
- IN PDEVICE_OBJECT DeviceObject, \
- IN PIRP Irp); \
- \
- STDMETHODIMP_(NTSTATUS) Write(THIS_ \
- IN PDEVICE_OBJECT DeviceObject, \
- IN PIRP Irp); \
- \
- STDMETHODIMP_(NTSTATUS) Flush(THIS_ \
- IN PDEVICE_OBJECT DeviceObject, \
- IN PIRP Irp); \
- \
- STDMETHODIMP_(NTSTATUS) Close(THIS_ \
- IN PDEVICE_OBJECT DeviceObject, \
- IN PIRP Irp); \
- \
- STDMETHODIMP_(NTSTATUS) QuerySecurity(THIS_ \
+ STDMETHODIMP_(NTSTATUS) Read(THIS_ \
+ IN PDEVICE_OBJECT DeviceObject, \
+ IN PIRP Irp); \
+ \
+ STDMETHODIMP_(NTSTATUS) Write(THIS_ \
+ IN PDEVICE_OBJECT DeviceObject, \
+ IN PIRP Irp); \
+ \
+ STDMETHODIMP_(NTSTATUS) Flush(THIS_ \
+ IN PDEVICE_OBJECT DeviceObject, \
+ IN PIRP Irp); \
+ \
+ STDMETHODIMP_(NTSTATUS) Close(THIS_ \
+ IN PDEVICE_OBJECT DeviceObject, \
+ IN PIRP Irp); \
+ \
+ STDMETHODIMP_(NTSTATUS) QuerySecurity(THIS_ \
IN PDEVICE_OBJECT DeviceObject, \
IN PIRP Irp); \
\
@@ -83,7 +83,7 @@
#define DEFINE_ABSTRACT_IRPTARGET() \
STDMETHOD_(NTSTATUS, NewIrpTarget)(THIS_ \
OUT struct IIrpTarget **OutTarget, \
- IN WCHAR * Name, \
+ IN PCWSTR Name, \
IN PUNKNOWN Unknown, \
IN POOL_TYPE PoolType, \
IN PDEVICE_OBJECT DeviceObject, \
@@ -118,7 +118,7 @@
IN PDEVICE_OBJECT DeviceObject, \
IN PIRP Irp)PURE; \
\
- STDMETHOD_(BOOLEAN, FastDeviceIoControl)(THIS_ \
+ STDMETHOD_(BOOLEAN, FastDeviceIoControl)(THIS_ \
IN PFILE_OBJECT FileObject, \
IN BOOLEAN Wait, \
IN PVOID InputBuffer, \
@@ -223,7 +223,7 @@
#define DEFINE_ABSTRACT_ISUBDEVICE() \
STDMETHOD_(NTSTATUS, NewIrpTarget)(THIS_ \
OUT IIrpTarget **OutTarget, \
- IN WCHAR * Name, \
+ IN PCWSTR Name, \
IN PUNKNOWN Unknown, \
IN POOL_TYPE PoolType, \
IN PDEVICE_OBJECT DeviceObject, \
@@ -259,7 +259,7 @@
#define IMP_ISubdevice \
STDMETHODIMP_(NTSTATUS) NewIrpTarget( \
OUT IIrpTarget **OutTarget, \
- IN WCHAR * Name, \
+ IN PCWSTR Name, \
IN PUNKNOWN Unknown, \
IN POOL_TYPE PoolType, \
IN PDEVICE_OBJECT DeviceObject, \
@@ -369,42 +369,42 @@
IN ULONG Alignment, \
IN PVOID SilenceBuffer); \
\
- STDMETHODIMP_(NTSTATUS) AddMapping(THIS_ \
+ STDMETHODIMP_(NTSTATUS) AddMapping(THIS_ \
IN PUCHAR Buffer, \
IN ULONG BufferSize, \
IN PIRP Irp); \
\
- STDMETHODIMP_(NTSTATUS) GetMapping(THIS_ \
+ STDMETHODIMP_(NTSTATUS) GetMapping(THIS_ \
OUT PUCHAR * Buffer, \
OUT PULONG BufferSize); \
\
- STDMETHODIMP_(VOID) UpdateMapping(THIS_ \
+ STDMETHODIMP_(VOID) UpdateMapping(THIS_ \
IN ULONG BytesWritten); \
\
- STDMETHODIMP_(ULONG) NumMappings(THIS); \
+ STDMETHODIMP_(ULONG) NumMappings(THIS); \
\
- STDMETHODIMP_(ULONG) NumData(THIS); \
+ STDMETHODIMP_(ULONG) NumData(THIS); \
\
- STDMETHODIMP_(BOOL) MinimumDataAvailable(THIS); \
+ STDMETHODIMP_(BOOL) MinimumDataAvailable(THIS); \
\
- STDMETHODIMP_(BOOL) CancelBuffers(THIS); \
+ STDMETHODIMP_(BOOL) CancelBuffers(THIS); \
\
- STDMETHODIMP_(VOID) UpdateFormat(THIS_ \
+ STDMETHODIMP_(VOID) UpdateFormat(THIS_ \
IN PKSDATAFORMAT DataFormat); \
\
- STDMETHODIMP_(NTSTATUS) GetMappingWithTag(THIS_ \
+ STDMETHODIMP_(NTSTATUS) GetMappingWithTag(THIS_ \
IN PVOID Tag, \
OUT PPHYSICAL_ADDRESS PhysicalAddress, \
OUT PVOID *VirtualAddress, \
OUT PULONG ByteCount, \
OUT PULONG Flags); \
\
- STDMETHODIMP_(NTSTATUS) ReleaseMappingWithTag( \
+ STDMETHODIMP_(NTSTATUS) ReleaseMappingWithTag( \
IN PVOID Tag); \
\
- STDMETHODIMP_(BOOL) HasLastMappingFailed(THIS); \
- STDMETHODIMP_(VOID) PrintQueueStatus(THIS); \
- STDMETHODIMP_(VOID) SetMinimumDataThreshold( \
+ STDMETHODIMP_(BOOL) HasLastMappingFailed(THIS); \
+ STDMETHODIMP_(VOID) PrintQueueStatus(THIS); \
+ STDMETHODIMP_(VOID) SetMinimumDataThreshold( \
IN ULONG MinimumDataThreshold); \
STDMETHODIMP_(ULONG) GetMinimumDataThreshold(VOID)
@@ -871,7 +871,7 @@
IN PPORTFILTERDMUS Filter, \
IN KSPIN_CONNECT * ConnectDetails, \
IN KSPIN_DESCRIPTOR * PinDescriptor, \
- IN PDEVICE_OBJECT DeviceObject); \
+ IN PDEVICE_OBJECT DeviceObject); \
STDMETHODIMP_(VOID) Notify(THIS)
typedef IPortPinDMus *PPORTPINDMUS;
Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/pin_dmus.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/portcls/pin_dmus.cpp [iso-8859-1] (original)
+++ trunk/reactos/drivers/wdm/audio/backpln/portcls/pin_dmus.cpp [iso-8859-1] Mon Oct 5
16:13:09 2009
@@ -424,7 +424,7 @@
NTAPI
CPortPinDMus::NewIrpTarget(
OUT struct IIrpTarget **OutTarget,
- IN WCHAR * Name,
+ IN PCWSTR Name,
IN PUNKNOWN Unknown,
IN POOL_TYPE PoolType,
IN PDEVICE_OBJECT DeviceObject,
Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/pin_wavecyclic.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/portcls/pin_wavecyclic.cpp [iso-8859-1]
(original)
+++ trunk/reactos/drivers/wdm/audio/backpln/portcls/pin_wavecyclic.cpp [iso-8859-1] Mon
Oct 5 16:13:09 2009
@@ -346,7 +346,7 @@
NTAPI
CPortPinWaveCyclic::NewIrpTarget(
OUT struct IIrpTarget **OutTarget,
- IN WCHAR * Name,
+ IN PCWSTR Name,
IN PUNKNOWN Unknown,
IN POOL_TYPE PoolType,
IN PDEVICE_OBJECT DeviceObject,
Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/pin_wavepci.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/portcls/pin_wavepci.cpp [iso-8859-1]
(original)
+++ trunk/reactos/drivers/wdm/audio/backpln/portcls/pin_wavepci.cpp [iso-8859-1] Mon Oct
5 16:13:09 2009
@@ -289,7 +289,7 @@
NTAPI
CPortPinWavePci::NewIrpTarget(
OUT struct IIrpTarget **OutTarget,
- IN WCHAR * Name,
+ IN PCWSTR Name,
IN PUNKNOWN Unknown,
IN POOL_TYPE PoolType,
IN PDEVICE_OBJECT DeviceObject,
Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/pin_wavert.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/portcls/pin_wavert.cpp [iso-8859-1]
(original)
+++ trunk/reactos/drivers/wdm/audio/backpln/portcls/pin_wavert.cpp [iso-8859-1] Mon Oct 5
16:13:09 2009
@@ -311,7 +311,7 @@
NTAPI
CPortPinWaveRT::NewIrpTarget(
OUT struct IIrpTarget **OutTarget,
- IN WCHAR * Name,
+ IN PCWSTR Name,
IN PUNKNOWN Unknown,
IN POOL_TYPE PoolType,
IN PDEVICE_OBJECT DeviceObject,
Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/port_dmus.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/portcls/port_dmus.cpp [iso-8859-1] (original)
+++ trunk/reactos/drivers/wdm/audio/backpln/portcls/port_dmus.cpp [iso-8859-1] Mon Oct 5
16:13:09 2009
@@ -387,7 +387,7 @@
NTAPI
CPortDMus::NewIrpTarget(
OUT struct IIrpTarget **OutTarget,
- IN WCHAR * Name,
+ IN PCWSTR Name,
IN PUNKNOWN Unknown,
IN POOL_TYPE PoolType,
IN PDEVICE_OBJECT DeviceObject,
Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/port_topology.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/portcls/port_topology.cpp [iso-8859-1]
(original)
+++ trunk/reactos/drivers/wdm/audio/backpln/portcls/port_topology.cpp [iso-8859-1] Mon Oct
5 16:13:09 2009
@@ -320,7 +320,7 @@
NTAPI
CPortTopology::NewIrpTarget(
OUT struct IIrpTarget **OutTarget,
- IN WCHAR * Name,
+ IN PCWSTR Name,
IN PUNKNOWN Unknown,
IN POOL_TYPE PoolType,
IN PDEVICE_OBJECT DeviceObject,
Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/port_wavecyclic.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/portcls/port_wavecyclic.cpp [iso-8859-1]
(original)
+++ trunk/reactos/drivers/wdm/audio/backpln/portcls/port_wavecyclic.cpp [iso-8859-1] Mon
Oct 5 16:13:09 2009
@@ -437,7 +437,7 @@
NTAPI
CPortWaveCyclic::NewIrpTarget(
OUT struct IIrpTarget **OutTarget,
- IN WCHAR * Name,
+ IN PCWSTR Name,
IN PUNKNOWN Unknown,
IN POOL_TYPE PoolType,
IN PDEVICE_OBJECT DeviceObject,
Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/port_wavepci.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/portcls/port_wavepci.cpp [iso-8859-1]
(original)
+++ trunk/reactos/drivers/wdm/audio/backpln/portcls/port_wavepci.cpp [iso-8859-1] Mon Oct
5 16:13:09 2009
@@ -438,7 +438,7 @@
NTAPI
CPortWavePci::NewIrpTarget(
OUT struct IIrpTarget **OutTarget,
- IN WCHAR * Name,
+ IN PCWSTR Name,
IN PUNKNOWN Unknown,
IN POOL_TYPE PoolType,
IN PDEVICE_OBJECT DeviceObject,
Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/port_wavert.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/portcls/port_wavert.cpp [iso-8859-1]
(original)
+++ trunk/reactos/drivers/wdm/audio/backpln/portcls/port_wavert.cpp [iso-8859-1] Mon Oct
5 16:13:09 2009
@@ -1,6 +1,6 @@
/*
* COPYRIGHT: See COPYING in the top level directory
- * PROJECT: ReactOS Kernel Streaming
+ * PROJECT: ReactOS Kernel Streaming
* FILE: drivers/wdm/audio/backpln/portcls/port_wavert.cpp
* PURPOSE: WaveRT Port Driver
* PROGRAMMER: Johannes Anderwald
@@ -339,7 +339,7 @@
NTAPI
CPortWaveRT::NewIrpTarget(
OUT struct IIrpTarget **OutTarget,
- IN WCHAR * Name,
+ IN PCWSTR Name,
IN PUNKNOWN Unknown,
IN POOL_TYPE PoolType,
IN PDEVICE_OBJECT DeviceObject,