- Disable ASSERTMSG macro to fix compilation
authorJohannes Anderwald <johannes.anderwald@reactos.org>
Sun, 1 Mar 2009 13:10:33 +0000 (13:10 +0000)
committerJohannes Anderwald <johannes.anderwald@reactos.org>
Sun, 1 Mar 2009 13:10:33 +0000 (13:10 +0000)
- Fix definition of PCPROPERTY_REQUEST

svn path=/trunk/; revision=39824

reactos/include/ddk/ntstrsafe.h
reactos/include/ddk/portcls.h

index c231c8d..6886142 100644 (file)
@@ -104,7 +104,7 @@ RtlStringExValidateDestA(IN OUT PCHAR *Destination,
                          IN SIZE_T MaxLength,
                          IN DWORD Flags)
 {
-    ASSERTMSG("We don't support Extended Flags yet!\n", Flags == 0);
+    //ASSERTMSG("We don't support Extended Flags yet!\n", Flags == 0);
     return RtlStringValidateDestA(*Destination,
                                   *DestinationLength,
                                   ReturnLength,
@@ -120,7 +120,7 @@ RtlStringExValidateSrcA(IN OUT PCCHAR *Source OPTIONAL,
                         IN DWORD Flags)
 {
     NTSTATUS Status = STATUS_SUCCESS;
-    ASSERTMSG("We don't support Extended Flags yet!\n", Flags == 0);
+    //ASSERTMSG("We don't support Extended Flags yet!\n", Flags == 0);
 
     if ((ReturnLength) && (*ReturnLength >= MaxLength))
     {
@@ -251,7 +251,7 @@ RtlStringCbPrintfExA(OUT PCHAR Destination,
     SIZE_T CharLength = Length / sizeof(CHAR), Remaining, LocalNewLength = 0;
     PCHAR LocalDestinationEnd;
     va_list argList;
-    ASSERTMSG("We don't support Extended Flags yet!\n", Flags == 0);
+    //ASSERTMSG("We don't support Extended Flags yet!\n", Flags == 0);
 
     Status = RtlStringExValidateDestA(&Destination,
                                       &CharLength,
@@ -330,7 +330,7 @@ RtlStringCbCopyExA(OUT PCHAR Destination,
     NTSTATUS Status;
     SIZE_T CharLength = Length / sizeof(CHAR), Copied = 0, Remaining;
     PCHAR LocalDestinationEnd;
-    ASSERTMSG("We don't support Extended Flags yet!\n", Flags == 0);
+    //ASSERTMSG("We don't support Extended Flags yet!\n", Flags == 0);
 
     Status = RtlStringExValidateDestA(&Destination,
                                       &Length,
@@ -421,7 +421,7 @@ RtlStringCbCatExA(IN OUT PCHAR Destination,
     SIZE_T CharLength = Length / sizeof(CHAR);
     SIZE_T DestinationLength, Remaining, Copied = 0;
     PCHAR LocalDestinationEnd;
-    ASSERTMSG("We don't support Extended Flags yet!\n", Flags == 0);
+    //ASSERTMSG("We don't support Extended Flags yet!\n", Flags == 0);
 
     Status = RtlStringExValidateDestA(&Destination,
                                       &CharLength,
index dcfdff0..5c78718 100644 (file)
@@ -265,7 +265,7 @@ typedef struct
 PCPROPERTY_ITEM, *PPCPROPERTY_ITEM;
 
 
-typedef struct _PCPROPERTY_REQUEST
+struct _PCPROPERTY_REQUEST
 {
     PUNKNOWN                MajorTarget;
     PUNKNOWN                MinorTarget;
@@ -277,7 +277,7 @@ typedef struct _PCPROPERTY_REQUEST
     ULONG                   ValueSize;
     PVOID                   Value;
     PIRP                    Irp;
-}PCPROPERTY_REQUEST, *PPCPROPERTY_REQUEST;
+};
 
 struct _PCEVENT_REQUEST;
 
@@ -1458,7 +1458,7 @@ DECLARE_INTERFACE_(IMiniportWaveCyclic, IMiniport)
         IN PUNKNOWN  OuterUnknown  OPTIONAL,
         IN POOL_TYPE  PoolType,
         IN ULONG  Pin,
-        IN BOOL  Capture,
+        IN BOOLEAN  Capture,
         IN PKSDATAFORMAT  DataFormat,
         OUT PDMACHANNEL  *DmaChannel,
         OUT PSERVICEGROUP  *ServiceGroup) PURE;