OSDN Git Service

2004-01-15 Filip Navara <xnavara@volny.cz>
authordannysmith <dannysmith>
Thu, 15 Jan 2004 07:19:19 +0000 (07:19 +0000)
committerdannysmith <dannysmith>
Thu, 15 Jan 2004 07:19:19 +0000 (07:19 +0000)
* 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 protoype.
* include/ntsecapi.h (PCUNICODE_STRING): Define.

winsup/w32api/ChangeLog
winsup/w32api/include/ddk/mcd.h
winsup/w32api/include/ddk/srb.h
winsup/w32api/include/ddk/storport.h
winsup/w32api/include/ddk/video.h
winsup/w32api/include/nspapi.h
winsup/w32api/include/ntsecapi.h

index c1f36cd..43b3950 100644 (file)
@@ -1,3 +1,13 @@
+2004-01-15  Filip Navara  <xnavara@volny.cz>
+
+       * 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 protoype.
+       * include/ntsecapi.h (PCUNICODE_STRING): Define.
+
 2004-01-05  Filip Navara  <xnavara@volny.cz>
 
        * include/prsht.h (LPCPROPSHEETPAGEW): Fix definition.
index 44dd26d..c5e2380 100644 (file)
@@ -48,7 +48,7 @@ extern "C" {
 #undef DebugPrint
 #endif
 
-#if DBG
+#ifdef DBG
 #define DebugPrint(x) ChangerClassDebugPrint x
 #else
 #define DebugPrint(x)
index 74ba51a..93563f2 100644 (file)
@@ -41,7 +41,7 @@ extern "C" {
   #define SCSIPORTAPI DECLSPEC_IMPORT
 #endif
 
-#if DBG
+#ifdef DBG
 #define DebugPrint(x) ScsiDebugPrint x
 #else
 #define DebugPrint(x)
@@ -64,7 +64,7 @@ typedef PHYSICAL_ADDRESS SCSI_PHYSICAL_ADDRESS, *PSCSI_PHYSICAL_ADDRESS;
 
 #define MAXIMUM_CDB_SIZE                  12
 
-#if DBG
+#ifdef DBG
 #define SCSI_PORT_SIGNATURE               0x54524f50
 #endif
 
index 184a099..a97fc7a 100644 (file)
@@ -411,7 +411,7 @@ StorPortSynchronizeAccess(
   IN PSTOR_SYNCHRONIZED_ACCESS  SynchronizedAccessRoutine,
   IN PVOID  Context);
 
-#if DBG
+#ifdef DBG
 #define DebugPrint(x) StorPortDebugPrint x
 #else
 #define DebugPrint(x)
index 41e1712..fd63f7d 100644 (file)
@@ -91,7 +91,7 @@ typedef HW_DMA_RETURN
     PDMA  pDma);
 
 
-#if DBG
+#ifdef DBG
 
 #define PAGED_CODE() \
   if (VideoPortGetCurrentIrql() > 1 /* APC_LEVEL */) \
@@ -1553,7 +1553,7 @@ VideoPortZeroMemory(
   IN PVOID  Destination,
   IN ULONG  Length);
 
-#if DBG
+#ifdef DBG
 #define VideoDebugPrint(x) VideoPortDebugPrint x
 #else
 #define VideoDebugPrint(x)
index 54cb7cf..463b139 100644 (file)
@@ -102,9 +102,9 @@ typedef struct _SERVICE_INFOW {
 
 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;
index 71e4e5e..5590872 100644 (file)
@@ -129,6 +129,7 @@ typedef struct _UNICODE_STRING {
   USHORT MaximumLength;
   PWSTR Buffer;
 } UNICODE_STRING, *PUNICODE_STRING;
+typedef const UNICODE_STRING* PCUNICODE_STRING;
 typedef struct _STRING {
   USHORT Length;
   USHORT MaximumLength;