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.
This commit is contained in:
parent
8e5d1131de
commit
d4c437af3e
@ -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>
|
2004-01-05 Filip Navara <xnavara@volny.cz>
|
||||||
|
|
||||||
* include/prsht.h (LPCPROPSHEETPAGEW): Fix definition.
|
* include/prsht.h (LPCPROPSHEETPAGEW): Fix definition.
|
||||||
|
@ -48,7 +48,7 @@ extern "C" {
|
|||||||
#undef DebugPrint
|
#undef DebugPrint
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if DBG
|
#ifdef DBG
|
||||||
#define DebugPrint(x) ChangerClassDebugPrint x
|
#define DebugPrint(x) ChangerClassDebugPrint x
|
||||||
#else
|
#else
|
||||||
#define DebugPrint(x)
|
#define DebugPrint(x)
|
||||||
|
@ -41,7 +41,7 @@ extern "C" {
|
|||||||
#define SCSIPORTAPI DECLSPEC_IMPORT
|
#define SCSIPORTAPI DECLSPEC_IMPORT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if DBG
|
#ifdef DBG
|
||||||
#define DebugPrint(x) ScsiDebugPrint x
|
#define DebugPrint(x) ScsiDebugPrint x
|
||||||
#else
|
#else
|
||||||
#define DebugPrint(x)
|
#define DebugPrint(x)
|
||||||
@ -64,7 +64,7 @@ typedef PHYSICAL_ADDRESS SCSI_PHYSICAL_ADDRESS, *PSCSI_PHYSICAL_ADDRESS;
|
|||||||
|
|
||||||
#define MAXIMUM_CDB_SIZE 12
|
#define MAXIMUM_CDB_SIZE 12
|
||||||
|
|
||||||
#if DBG
|
#ifdef DBG
|
||||||
#define SCSI_PORT_SIGNATURE 0x54524f50
|
#define SCSI_PORT_SIGNATURE 0x54524f50
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -411,7 +411,7 @@ StorPortSynchronizeAccess(
|
|||||||
IN PSTOR_SYNCHRONIZED_ACCESS SynchronizedAccessRoutine,
|
IN PSTOR_SYNCHRONIZED_ACCESS SynchronizedAccessRoutine,
|
||||||
IN PVOID Context);
|
IN PVOID Context);
|
||||||
|
|
||||||
#if DBG
|
#ifdef DBG
|
||||||
#define DebugPrint(x) StorPortDebugPrint x
|
#define DebugPrint(x) StorPortDebugPrint x
|
||||||
#else
|
#else
|
||||||
#define DebugPrint(x)
|
#define DebugPrint(x)
|
||||||
|
@ -91,7 +91,7 @@ typedef HW_DMA_RETURN
|
|||||||
PDMA pDma);
|
PDMA pDma);
|
||||||
|
|
||||||
|
|
||||||
#if DBG
|
#ifdef DBG
|
||||||
|
|
||||||
#define PAGED_CODE() \
|
#define PAGED_CODE() \
|
||||||
if (VideoPortGetCurrentIrql() > 1 /* APC_LEVEL */) \
|
if (VideoPortGetCurrentIrql() > 1 /* APC_LEVEL */) \
|
||||||
@ -1553,7 +1553,7 @@ VideoPortZeroMemory(
|
|||||||
IN PVOID Destination,
|
IN PVOID Destination,
|
||||||
IN ULONG Length);
|
IN ULONG Length);
|
||||||
|
|
||||||
#if DBG
|
#ifdef DBG
|
||||||
#define VideoDebugPrint(x) VideoPortDebugPrint x
|
#define VideoDebugPrint(x) VideoPortDebugPrint x
|
||||||
#else
|
#else
|
||||||
#define VideoDebugPrint(x)
|
#define VideoDebugPrint(x)
|
||||||
|
@ -102,9 +102,9 @@ typedef struct _SERVICE_INFOW {
|
|||||||
|
|
||||||
typedef void *LPSERVICE_ASYNC_INFO;
|
typedef void *LPSERVICE_ASYNC_INFO;
|
||||||
INT WINAPI SetServiceA(DWORD,DWORD,DWORD,LPSERVICE_INFOA,LPSERVICE_ASYNC_INFO,LPDWORD);
|
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 SetServiceW(DWORD,DWORD,DWORD,LPSERVICE_INFOW,LPSERVICE_ASYNC_INFO,LPDWORD);
|
||||||
INT WINAPI GetAddressByNameA(DWORD,LPGUID,LPSTR,LPINT,DWORD,LPSERVICE_ASYNC_INFO,LPVOID,LPDWORD,LPTSTR,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,LPTSTR,LPDWORD);
|
INT WINAPI GetAddressByNameW(DWORD,LPGUID,LPWSTR,LPINT,DWORD,LPSERVICE_ASYNC_INFO,LPVOID,LPDWORD,LPWSTR,LPDWORD);
|
||||||
|
|
||||||
#ifdef UNICODE
|
#ifdef UNICODE
|
||||||
typedef SERVICE_INFOW SERVICE_INFO, *LPSERVICE_INFO;
|
typedef SERVICE_INFOW SERVICE_INFO, *LPSERVICE_INFO;
|
||||||
|
@ -129,6 +129,7 @@ typedef struct _UNICODE_STRING {
|
|||||||
USHORT MaximumLength;
|
USHORT MaximumLength;
|
||||||
PWSTR Buffer;
|
PWSTR Buffer;
|
||||||
} UNICODE_STRING, *PUNICODE_STRING;
|
} UNICODE_STRING, *PUNICODE_STRING;
|
||||||
|
typedef const UNICODE_STRING* PCUNICODE_STRING;
|
||||||
typedef struct _STRING {
|
typedef struct _STRING {
|
||||||
USHORT Length;
|
USHORT Length;
|
||||||
USHORT MaximumLength;
|
USHORT MaximumLength;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user