Minor corrections
Filip Navara <xnavara-VIXq6x/[email protected]> Sun, 11 Jan 2004 21:48:44 +0100
| Newsgroups | gmane.comp.gnu.mingw.patches |
|---|---|
| Message-ID | <[email protected]> |
2004-01-11 Filip Navara <xnavara-VIXq6x/[email protected]> * include/ddk/mcd.h: Don't care about value of DBG define. * include/ddk/srb.h: Ditto. * include/ddk/storport.h: Ditto. * include/ddk/video.h: Ditto. * include/nspapi.h (SetServiceW, GetAddressByNameA, GetAddressByNameW): Correct. * include/ntsecapi.h (PCUNICODE_STRING): Declare.
corr.diff
(text/plain, 2.6 KB)
--- include/ddk/mcd.h Fri Nov 15 01:08:16 2002
+++ include/ddk/mcd.h Sun Jan 11 20:34:06 2004
@@ -48,7 +48,7 @@
#undef DebugPrint
#endif
-#if DBG
+#ifdef DBG
#define DebugPrint(x) ChangerClassDebugPrint x
#else
#define DebugPrint(x)
--- include/ddk/srb.h Wed Jul 16 20:49:02 2003
+++ include/ddk/srb.h Sun Jan 11 20:34:36 2004
@@ -41,7 +41,7 @@
#define SCSIPORTAPI DECLSPEC_IMPORT
#endif
-#if DBG
+#ifdef DBG
#define DebugPrint(x) ScsiDebugPrint x
#else
#define DebugPrint(x)
@@ -64,7 +64,7 @@
#define MAXIMUM_CDB_SIZE 12
-#if DBG
+#ifdef DBG
#define SCSI_PORT_SIGNATURE 0x54524f50
#endif
--- include/ddk/storport.h Fri Nov 15 01:08:16 2002
+++ include/ddk/storport.h Sun Jan 11 20:34:43 2004
@@ -411,7 +411,7 @@
IN PSTOR_SYNCHRONIZED_ACCESS SynchronizedAccessRoutine,
IN PVOID Context);
-#if DBG
+#ifdef DBG
#define DebugPrint(x) StorPortDebugPrint x
#else
#define DebugPrint(x)
--- include/ddk/video.h Wed Jul 16 20:49:02 2003
+++ include/ddk/video.h Sun Jan 11 20:34:53 2004
@@ -91,7 +91,7 @@
PDMA pDma);
-#if DBG
+#ifdef DBG
#define PAGED_CODE() \
if (VideoPortGetCurrentIrql() > 1 /* APC_LEVEL */) \
@@ -1553,7 +1553,7 @@
IN PVOID Destination,
IN ULONG Length);
-#if DBG
+#ifdef DBG
#define VideoDebugPrint(x) VideoPortDebugPrint x
#else
#define VideoDebugPrint(x)
--- include/nspapi.h Mon Aug 26 22:33:16 2002
+++ include/nspapi.h Sun Jan 11 19:51:32 2004
@@ -102,9 +102,9 @@
typedef void *LPSERVICE_ASYNC_INFO;
INT WINAPI SetServiceA(DWORD,DWORD,DWORD,LPSERVICE_INFOA,LPSERVICE_ASYNC_INFO,LPDWORD);
-INT WINAPI SetServiceW(DWORD,DWORD,DWORD,LPSERVICE_INFOA,LPSERVICE_ASYNC_INFO,LPDWORD);
-INT WINAPI GetAddressByNameA(DWORD,LPGUID,LPSTR,LPINT,DWORD,LPSERVICE_ASYNC_INFO,LPVOID,LPDWORD,LPTSTR,LPDWORD);
-INT WINAPI GetAddressByNameW(DWORD,LPGUID,LPWSTR,LPINT,DWORD,LPSERVICE_ASYNC_INFO,LPVOID,LPDWORD,LPTSTR,LPDWORD);
+INT WINAPI SetServiceW(DWORD,DWORD,DWORD,LPSERVICE_INFOW,LPSERVICE_ASYNC_INFO,LPDWORD);
+INT WINAPI GetAddressByNameA(DWORD,LPGUID,LPSTR,LPINT,DWORD,LPSERVICE_ASYNC_INFO,LPVOID,LPDWORD,LPSTR,LPDWORD);
+INT WINAPI GetAddressByNameW(DWORD,LPGUID,LPWSTR,LPINT,DWORD,LPSERVICE_ASYNC_INFO,LPVOID,LPDWORD,LPWSTR,LPDWORD);
#ifdef UNICODE
typedef SERVICE_INFOW SERVICE_INFO, *LPSERVICE_INFO;
--- include/ntsecapi.h Sat Mar 9 09:04:10 2002
+++ include/ntsecapi.h Sun Jan 11 19:49:09 2004
@@ -129,6 +129,7 @@
USHORT MaximumLength;
PWSTR Buffer;
} UNICODE_STRING, *PUNICODE_STRING;
+typedef const UNICODE_STRING* PCUNICODE_STRING;
typedef struct _STRING {
USHORT Length;
USHORT MaximumLength;